Tooltip on hover
native
Show a tooltip with values on hover
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.tooltip.show.
drawn by @chartkitdev/core/interact (client)
Source: chartkit:packages/core/src/generated/schema.ts:192
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "line",
"data": [
{
"quarter": "Q1",
"units": 40
},
{
"quarter": "Q2",
"units": 55
}
],
"encoding": {
"x": "quarter",
"y": "units"
},
"a11y": {
"alt": "Units rose in Q2."
},
"size": {
"width": 640,
"height": 260
},
"tooltip": {
"show": true
}
}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.show.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | grep: tooltipplugins.tooltip | grep · weak | chart.js/dist/types/index.d.ts:77 |
| Recharts | native | Tooltip | types · strong | recharts/types/component/Tooltip.d.ts:236 |
| Apache ECharts | native | tooltip.show | types · strong | echarts/types/dist/shared.d.ts:8062 |
| Highcharts | native | tooltip.enabled | types · strong | highcharts/highcharts.d.ts:107302 |
| Plotly.js | native | layout.hovermode | types · strong | plot-schema.json#layout.layoutAttributes.hovermode |
| Nivo | native | Line.enableSlices, Line.tooltip | types · strong | @nivo/line/dist/types/types.d.ts:181 |
| Victory | native | VictoryTooltip | types · strong | victory-tooltip/lib/victory-tooltip.d.ts:66 |
| visx | native | Tooltip, TooltipWithBounds | types · strong | @visx/tooltip/lib/tooltips/Tooltip.d.ts:32 |
| ApexCharts | native | tooltip.enabled | types · strong | apexcharts/types/apexcharts.d.ts:4824 |
| Tremor (npm) | native | LineChart.showTooltip | types · strong | @tremor/react/dist/index.d.ts:66 |
| Observable Plot | native | tiptip mark / tip:true | types · strong | @observablehq/plot/src/marks/tip.d.ts:110 |
| Vega-Lite | native | grep: tooltip | grep · weak | 630: "description" |
| AG Charts | native | grep: tooltip | grep · weak | ag-charts-types/dist/types/src/main.d.ts:41 |
| amCharts 5 | native | Tooltip | types · strong | @amcharts/amcharts5/.internal/core/render/Tooltip.d.ts:135 |
| Google Charts | native | grep: tooltip | grep · weak | @types/google.visualization/index.d.ts:386 |
| uPlot | partial | Options.legend.livecursor + live legend; tooltip is a plugin demo | types · strong | uplot/dist/uPlot.d.ts:279 |
| TradingView Lightweight Charts | plugin | grep: subscribeCrosshairMovetooltip built in user code (official example) | grep · weak | 1720: * chart.subscribeCrosshairMove(myCrosshairMoveHandler); |
| MUI X Charts | native | ChartsTooltip | types · strong | @mui/x-charts/ChartsTooltip/ChartsTooltip.d.mts:21 |
| Mermaid (chart-ish diagrams only) | unknown | —Mermaid charts have no hover tooltip | conflict · unknown | — |
| AntV G2 | native | grep: tooltip | grep · weak | @antv/g2/lib/index.d.ts:142 |