add_series overloads
<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...
| 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. |