API REFERENCE

PolarChartTooltipSpec

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

Type declaration

typescript
export interface PolarChartTooltipSpec {
  show: boolean;
  openMode: PolarChartTooltipOpenMode;
  trigger: PolarChartTooltipTrigger;
  side?: PolarChartTooltipSide;
  offset: number;
  format?: (segment: PolarRoseSegment, context?: PolarChartTooltipFormatContext) => string;
  html?: (segment: PolarRoseSegment, context?: PolarChartTooltipFormatContext) => string;
  className?: string;
  style?: PolarChartTooltipStyle;
  width?: number | string;
  minWidth?: number | string;
  maxWidth?: number | string;
  padding?: number | string;
  interactive: boolean;
  hideOnLeave: boolean;
  connector: PolarChartTooltipConnectorSpec;
  draggable: boolean;
}