insightdock::charts::CartesianChart::draw_overlay

Extension point for custom overlays drawn after draw_series.

Synopsis

Declared in <insightdock/cartesian_chart.h>
virtual
void
draw_overlay(PlotContext& ctx) const;

Description

Override to add reference lines, bands, annotations, watermarks, or combo-chart geometry without replacing the full render pipeline. The default implementation does nothing.

This hook is the architectural prerequisite for combo/dual-axis charts (Phase 0.6) and annotation layers (Phase 2).

Parameters

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

Created with MrDocs