API REFERENCE

ItemChartTooltipFormatContext

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

Type declaration

typescript
export interface ItemChartTooltipFormatContext {
  index: number;
  id: string;
  name: string;
  label?: string;
  value: number;
  percentage: number;
  seatIndex?: number;
  seatInParty?: number;
  cssX: number;
  cssY: number;
}