insightdock::charts::detail::draw_reference_lines

Draws CartesianOptions::reference_bands then CartesianOptions::reference_lines.

Synopsis

Declared in <insightdock/detail/reference_lines.h>
[[visibility]]
void
draw_reference_lines(CartesianChart::PlotContext const& ctx);

Description

Shared by BarChart, LineChart, AreaChart, and ComboChart's draw_overlay() overrides so reference lines/bands render identically across every Cartesian chart type. Intended to be called before a subclass draws its own overlay geometry (e.g. ComboChart's line series), so reference lines sit behind the chart's own data.

Parameters

Name Description
ctx Context passed to draw_series() and draw_overlay() during rendering.

Created with MrDocs