API REFERENCE

CartesianTooltipEventDetail

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

Type declaration

typescript
export interface CartesianTooltipEventDetail {
  cssX: number;
  cssY: number;
  anchor: 'top' | 'right' | 'bottom' | 'left';
  text: string;
  html?: string;
  context?: CartesianTooltipFormatContext;
}