insightdock::charts::Chart::draw

Draw the chart into an arbitrary DrawTarget (raster, SVG, PDF).

Synopsis

Declared in <insightdock/chart.h>
virtual
bool
draw(DrawTarget& target) const;

Return Value

false (default) if this chart type has no target-based drawing path; callers then fall back to render(). All built-in charts return true.

Parameters

Name Description
target Pixel-space drawing surface shared by all built-in charts.

Created with MrDocs