insightdock::charts::ChartTheme

Visual style applied to any Chart via Chart::apply_theme.

Synopsis

Declared in <insightdock/theme.h>
struct ChartTheme;

Static Member Functions

Name Description
dark Dark theme — near-black background, light text and grid lines.
light Default light theme — white background, dark text.

Data Members

Name Description
axis_color Axis line color.
background Canvas background.
font_size Base font size in pixels.
grid_color Grid line color.
show_grid Whether to draw grid lines.
text_color Axis label / legend color.
title_color Title text color.

Description

Fields mirror the color/typography subset of ChartOptions. Two built-in presets are provided: light and dark.

Created with MrDocs