Returns the SVG layers Plotly draws over a chart outside the plot element.
Plotly renders the chart title, axis titles and legend into a second
svg.main-svg stacked above the first. Once maidr wraps the first, the
others are siblings of that wrapper, so anything that restyles the chart as
a whole -- high contrast mode -- has to reach them separately.
Parameters
plot: Element
The element maidr treats as the plot.
Returns SVGSVGElement[]
The overlay layers, or an empty list for a non-Plotly chart.
Returns the SVG layers Plotly draws over a chart outside the plot element.
Plotly renders the chart title, axis titles and legend into a second
svg.main-svgstacked above the first. Once maidr wraps the first, the others are siblings of that wrapper, so anything that restyles the chart as a whole -- high contrast mode -- has to reach them separately.