Skip to content

TooltipContent

Defined in: core/tooltip.ts:41

Structured payload for Tooltip.showStructured. The chart’s built-in tooltip handlers build one of these per hovered point and pass it to the tooltip; consumers writing custom charts can use the same shape via the tooltipFormatter config option (see TooltipFormatter).

optional footer?: string

Defined in: core/tooltip.ts:47

Optional plain-text footer (e.g. “Total: $1.2K”).


rows: TooltipRow[]

Defined in: core/tooltip.ts:45

One row per series / datum.


optional title?: string

Defined in: core/tooltip.ts:43

Bold heading line (often the x-axis label).