API / Configuration / ChartTooltipRow

Defined in: src/core/types/chart/tooltip.ts:204

Properties

Property Type Description
cells? TooltipRowCellItem[] Declarative cell configuration for each default tooltip row. Replaces the built-in cells entirely when provided. Ignored when renderer is set.
renderer? null | (args) => string | RendererElement Custom renderer for a single tooltip row. Takes precedence over the deprecated top-level rowRenderer. If provided, cells is ignored for that row. The returned React element must be a <tr>. Apply the className arg to get the correct active/striped styles. If a string is returned, it is parsed as HTML and must be a <tr>…</tr> element.