insightdock::charts::CartesianChart::add_series

add_series overloads

Synopses

Declared in <insightdock/cartesian_chart.h>

Add a data series with automatic palette color.

void
add_series(
    std::string label,
    std::vector<double> values);
» more...

Add a data series with explicit color.

void
add_series(
    std::string label,
    std::vector<double> values,
    Color color);
» more...

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

void
add_series(
    std::string label,
    std::vector<double> values,
    Color color,
    SeriesStyle style);
» more...

Parameters

Name Description
label Series name (legend).
values One value per category.
color Series color.
style Dash/marker/width/fill overrides; unset fields inherit the chart-wide options.

Created with MrDocs