insightdock::charts::ComboChart::add_bar_series

add_bar_series overloads

Synopses

Declared in <insightdock/combo_chart.h>

Add a series drawn as grouped bars (auto palette color).

void
add_bar_series(
    std::string label,
    std::vector<double> values,
    bool secondary_axis = false);
» more...

Add a series drawn as grouped bars with explicit color.

void
add_bar_series(
    std::string label,
    std::vector<double> values,
    Color color,
    bool secondary_axis = false);
» more...

Parameters

Name Description
secondary_axis When true, the series is scaled against the right-side y-axis instead of the left one (see cartesian_options for axis label/format and CartesianOptions::y2_axis_label).

Created with MrDocs