How hover works
For most cartesian charts, hover is anchored to the x-axis: the renderer resolves the nearest position along x rather than requiring the cursor to land exactly on an observation. Everything at that x — every series in a multi-line chart, every segment in a stack — highlights together, and the tooltip lists their values in legend order. This is why a line chart responds smoothly between vertices instead of only when you touch a dot. Layers can opt out of hit-testing withinteractive: false — useful for a decorative point overlay that shouldn’t compete with the line beneath it:
Tooltips
Tooltips are on by default. Turn them off withshowTooltips:
Tooltip slot — you receive the same render-ready rows the default tooltip gets:
Animation
SetisAnimated to transition between compiled states — for example when the data or a config value changes:
Related
- Slots — replace the tooltip or other regions
- Provider & renderer —
showTooltips,isAnimated,mode

