API REFERENCE

GaugeChartTooltipSpec

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

Type declaration

typescript
export interface GaugeChartTooltipSpec {
  show: boolean;
  openMode: GaugeChartTooltipOpenMode;
  trigger: GaugeChartTooltipTrigger;
  side?: GaugeChartTooltipSide;
  offset: number;
  format?: (detail: GaugeChartPointerEventDetail, context?: GaugeChartTooltipFormatContext) => string;
  html?: (detail: GaugeChartPointerEventDetail, context?: GaugeChartTooltipFormatContext) => string;
  className?: string;
  style?: GaugeChartTooltipStyle;
  width?: number | string;
  minWidth?: number | string;
  maxWidth?: number | string;
  padding?: number | string;
  interactive: boolean;
  hideOnLeave: boolean;
  connector: GaugeChartTooltipConnectorSpec;
  draggable: boolean;
}