Calculates tooltip width from the longest text line length. Override this if using a custom tooltipTemplate with different sizing.
Pre-computes tooltip text lines and dimensions. Called by calcTooltipProps before positioning to ensure correct first-render placement. The resulting lines are cached on the tooltip annotation to avoid recomputation in the SVG template.
Generated using TypeDoc
Calculates tooltip height from the number of text lines. Override this if using a custom tooltipTemplate with different sizing.