tooltips
Mojo module 🡭
tooltips
When a chart’s data gets SVG hover tooltips.
Aliases
AUTO_TOOLTIP_LIMIT = 1000: The default forTheme.auto_tooltip_limit: the most tooltipsTooltips.AUTOdraws on one plot. Above it, AUTO draws none. Each tooltip is an SVG<title>wrapped in a<g>, measured at about 37 bytes per datum on a scatter, roughly 60% on top of the point itself. 1,000 tooltips adds about 37 KB. A chart with more points than that is also one where points overlap enough that hovering a single one tells a reader little.
Structs
Tooltips: Whether each datum gets an SVG<title>, which a browser shows as a hover tooltip. Set for every chart throughTheme.tooltips, and for one chart throughPlot.tooltips(), which takes precedence.