UNPKG

@xui/charts

Version:

xUI Charts for Angular

25 lines (24 loc) 454 B
export type EntityId = string & { readonly _: unique symbol; }; export interface EntityGroup { id: EntityId; name: string; icon: string; entities: Entity[]; } export interface Entity { id: EntityId; name: string; metrics: MetricGroup[]; } export interface MetricGroup { id: EntityId; name: string; metrics: Metric[]; } export interface Metric { id: EntityId; name: string; subMetrics?: Metric[]; }