API REFERENCE

CartesianSeriesTooltipInput

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

Type declaration

typescript
export interface CartesianSeriesTooltipInput {
  format?: (value: number, context: CartesianTooltipFormatContext) => string;
  pointFormat?: string;
  pointFormatter?: (context: CartesianTooltipFormatContext) => string;
  valuePrefix?: string;
  valueSuffix?: string;
  valueDecimals?: number;
  xDateFormat?: string;
}