Features · tooltip

Custom HTML / component tooltip

native

Render arbitrary markup in the tooltip

Matrix status native. Verification runtime · strong. ChartKit option: Chart.tooltip.

Adapter slot on React, Vue, Svelte, vanilla, and the element. The callback returns HTML, a node, or null. The JSON spec stays data.

Source: packages/core/src/tooltip-slot.ts:19

No spec snippet. This row is not a single chart option validate() can show.

Other libraries

Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: tooltip.custom.md.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: externaltooltip.external callback for HTMLgrep · weakchart.js/dist/types/index.d.ts:2757
RechartsnativeTooltip.contenttypes · strongrecharts/types/component/Tooltip.d.ts:65
Apache EChartsnativetooltip.formatterHTML stringtypes · strongecharts/types/dist/shared.d.ts:8072
Highchartsnativetooltip.useHTML, tooltip.formattertypes · stronghighcharts/highcharts.d.ts:107585
Plotly.jsnone—hovertemplate onlyabsence · absence—
NivonativeLine.tooltip, Line.sliceTooltiptypes · strong@nivo/line/dist/types/types.d.ts:165
VictorynativeVictoryTooltip.flyoutComponenttypes · strongvictory-tooltip/lib/victory-tooltip.d.ts:21
visxnativeTooltiptypes · strong@visx/tooltip/lib/tooltips/Tooltip.d.ts:32
ApexChartsnativetooltip.customtypes · strongapexcharts/types/apexcharts.d.ts:4852
Tremor (npm)nativeLineChart.customTooltiptypes · strong@tremor/react/dist/index.d.ts:80
Observable Plotnativegrep: rendercustom rendergrep · weak@observablehq/plot/src/scales.d.ts:166
Vega-Liteunknown—conflict · unknown—
AG Chartsnativegrep: renderergrep · weakag-charts-types/dist/types/src/presets/sparkline/sparklineOptions.d.ts:1
amCharts 5nativegrep: htmlgrep · weak@amcharts/amcharts5/element.d.ts:4
Google Chartsnativegrep: isHtmlgrep · weak@types/google.visualization/index.d.ts:562
uPlotmanualOptions.hookshooksmechanism · weakuplot/dist/uPlot.d.ts:394
TradingView Lightweight Chartsmanualgrep: ICustomSeriesPaneViewmechanism · weak1629: addCustomSeries<TData extends CustomData<HorzScaleItem>, TOptions extends CustomSeriesOptions, TPartialOptions extends SeriesPartialOptions<TOptions> = SeriesPartialOptions<TOptions>>(customPaneView
MUI X ChartsnativeChartsTooltiptypes · strong@mui/x-charts/ChartsTooltip/ChartsTooltip.d.mts:21
Mermaid (chart-ish diagrams only)unknown—conflict · unknown—
AntV G2nativegrep: rendergrep · weak@antv/g2/lib/exports.d.ts:1