insightdock::charts::Chart::apply_theme

Apply a ChartTheme to this chart's color and typography options.

Synopsis

Declared in <insightdock/chart.h>
void
apply_theme(ChartTheme const& theme);

Description

Overwrites background, title, axis, grid, and text colors plus font_size and show_grid. Call before setting per-chart overrides; they will take precedence over the theme values.

Parameters

Name Description
theme Visual style applied to any Chart via Chart::apply_theme.

Created with MrDocs