insightdock::charts::CartesianOptions::max_y_labels

Maximum number of y-axis tick labels to render.

Synopsis

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

Description

When 0 (default), the renderer uses ~6 ticks (the historical default). Set to e.g. 12 to request a denser y-axis. Setting both min_y_labels and max_y_labels to the same value instructs the renderer to attempt exactly that many labels.

Created with MrDocs