API REFERENCE

ItemChartDatum

The ItemChartDatum type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export type ItemChartDatum =
  | number
  | {
      readonly name?: string;
      readonly value: number;
      readonly color?: string;
      readonly symbol?: ItemChartSymbol;
      readonly visible?: boolean;
      readonly id?: string | number;
      readonly label?: string;
    };