Skip to content

TooltipRow

Defined in: core/tooltip.ts:22

One row inside a structured tooltip — typically one series at the hovered datum on a multi-series chart. All strings are rendered via textContent (XSS-safe).

optional color?: string

Defined in: core/tooltip.ts:31

Optional dot colour shown left of the label. Validated against CSS.supports('color', …); invalid values fall back to #888.


label: string

Defined in: core/tooltip.ts:24

Left-aligned label (often the series name).


value: string

Defined in: core/tooltip.ts:26

Right-aligned formatted value (e.g. '1,240', '$5.20').