insightdock::charts::CartesianChart::add_series

Add a data series with explicit color and per-series style overrides.

Synopsis

Declared in <insightdock/cartesian_chart.h>
void
add_series(
    std::string label,
    std::vector<double> values,
    Color color,
    SeriesStyle style);

Parameters

Name Description
style Dash/marker/width/fill overrides; unset fields inherit the chart-wide options.
values A standard container which offers fixed time access to individual elements in any order.
color RGBA color with 8-bit per channel.
style Optional per-series overrides of the chart-wide line/marker options.

Created with MrDocs