Features · tooltip

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.

Units rose in Q2.Units rose in Q2.40455055Q1Q2
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: tooltipplugins.tooltipgrep · weakchart.js/dist/types/index.d.ts:77
RechartsnativeTooltiptypes · strongrecharts/types/component/Tooltip.d.ts:236
Apache EChartsnativetooltip.showtypes · strongecharts/types/dist/shared.d.ts:8062
Highchartsnativetooltip.enabledtypes · stronghighcharts/highcharts.d.ts:107302
Plotly.jsnativelayout.hovermodetypes · strongplot-schema.json#layout.layoutAttributes.hovermode
NivonativeLine.enableSlices, Line.tooltiptypes · strong@nivo/line/dist/types/types.d.ts:181
VictorynativeVictoryTooltiptypes · strongvictory-tooltip/lib/victory-tooltip.d.ts:66
visxnativeTooltip, TooltipWithBoundstypes · strong@visx/tooltip/lib/tooltips/Tooltip.d.ts:32
ApexChartsnativetooltip.enabledtypes · strongapexcharts/types/apexcharts.d.ts:4824
Tremor (npm)nativeLineChart.showTooltiptypes · strong@tremor/react/dist/index.d.ts:66
Observable Plotnativetiptip mark / tip:truetypes · strong@observablehq/plot/src/marks/tip.d.ts:110
Vega-Litenativegrep: tooltipgrep · weak630: "description"
AG Chartsnativegrep: tooltipgrep · weakag-charts-types/dist/types/src/main.d.ts:41
amCharts 5nativeTooltiptypes · strong@amcharts/amcharts5/.internal/core/render/Tooltip.d.ts:135
Google Chartsnativegrep: tooltipgrep · weak@types/google.visualization/index.d.ts:386
uPlotpartialOptions.legend.livecursor + live legend; tooltip is a plugin demotypes · stronguplot/dist/uPlot.d.ts:279
TradingView Lightweight Chartsplugingrep: subscribeCrosshairMovetooltip built in user code (official example)grep · weak1720: * chart.subscribeCrosshairMove(myCrosshairMoveHandler);
MUI X ChartsnativeChartsTooltiptypes · strong@mui/x-charts/ChartsTooltip/ChartsTooltip.d.mts:21
Mermaid (chart-ish diagrams only)unknown—Mermaid charts have no hover tooltipconflict · unknown—
AntV G2nativegrep: tooltipgrep · weak@antv/g2/lib/index.d.ts:142