insightdock::charts::CartesianOptions::max_x_labels

Maximum number of x-axis category labels to render.

Synopsis

Declared in <insightdock/cartesian_chart.h>
int max_x_labels = 0;

Description

When 0 (default), labels are shown as densely as collision avoidance allows. Set to e.g. 10 to show at most 10 evenly-spaced labels across the axis regardless of chart width — useful for dense time-series data.

Created with MrDocs