API REFERENCE

PieChartDatum

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

Type declaration

typescript
export type PieChartDatum =
  | number
  | {
      readonly name?: string;
      readonly value: number;
      readonly z?: number;
      readonly color?: string;
      readonly selected?: boolean;
      readonly sliced?: boolean;
      readonly visible?: boolean;
      readonly id?: string | number;
      readonly dataLabel?: PieChartPerPointDataLabel;
    };