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.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | grep: externaltooltip.external callback for HTML | grep · weak | chart.js/dist/types/index.d.ts:2757 |
| Recharts | native | Tooltip.content | types · strong | recharts/types/component/Tooltip.d.ts:65 |
| Apache ECharts | native | tooltip.formatterHTML string | types · strong | echarts/types/dist/shared.d.ts:8072 |
| Highcharts | native | tooltip.useHTML, tooltip.formatter | types · strong | highcharts/highcharts.d.ts:107585 |
| Plotly.js | none | —hovertemplate only | absence · absence | — |
| Nivo | native | Line.tooltip, Line.sliceTooltip | types · strong | @nivo/line/dist/types/types.d.ts:165 |
| Victory | native | VictoryTooltip.flyoutComponent | types · strong | victory-tooltip/lib/victory-tooltip.d.ts:21 |
| visx | native | Tooltip | types · strong | @visx/tooltip/lib/tooltips/Tooltip.d.ts:32 |
| ApexCharts | native | tooltip.custom | types · strong | apexcharts/types/apexcharts.d.ts:4852 |
| Tremor (npm) | native | LineChart.customTooltip | types · strong | @tremor/react/dist/index.d.ts:80 |
| Observable Plot | native | grep: rendercustom render | grep · weak | @observablehq/plot/src/scales.d.ts:166 |
| Vega-Lite | unknown | — | conflict · unknown | — |
| AG Charts | native | grep: renderer | grep · weak | ag-charts-types/dist/types/src/presets/sparkline/sparklineOptions.d.ts:1 |
| amCharts 5 | native | grep: html | grep · weak | @amcharts/amcharts5/element.d.ts:4 |
| Google Charts | native | grep: isHtml | grep · weak | @types/google.visualization/index.d.ts:562 |
| uPlot | manual | Options.hookshooks | mechanism · weak | uplot/dist/uPlot.d.ts:394 |
| TradingView Lightweight Charts | manual | grep: ICustomSeriesPaneView | mechanism · weak | 1629: addCustomSeries<TData extends CustomData<HorzScaleItem>, TOptions extends CustomSeriesOptions, TPartialOptions extends SeriesPartialOptions<TOptions> = SeriesPartialOptions<TOptions>>(customPaneView |
| MUI X Charts | native | ChartsTooltip | types · strong | @mui/x-charts/ChartsTooltip/ChartsTooltip.d.mts:21 |
| Mermaid (chart-ish diagrams only) | unknown | — | conflict · unknown | — |
| AntV G2 | native | grep: render | grep · weak | @antv/g2/lib/exports.d.ts:1 |