How best to support Svg, Html, and Canvas for drawing links and text
Labels
Best to use Html (by default) for richer text styling and word wrapping, but supporting Canvas is nice once we support creating PNGs of a chart to make sure everything is captured.
Should the Annotation component be defined outside of a specific rendering context (like Tooltip) to allow mixing rendering contexts inside (draw links with Svg, text with Html, for example)
Ideas
Svg
,Html
, andCanvas
for drawing links and textHtml
(by default) for richer text styling and word wrapping, but supportingCanvas
is nice once we support creating PNGs of a chart to make sure everything is captured.Annotation
component be defined outside of a specific rendering context (likeTooltip
) to allow mixing rendering contexts inside (draw links with Svg, text with Html, for example)Reference