insightdock::charts::Scale::nice_ticks

Generate human-readable tick values for the current domain.

Synopsis

Declared in <insightdock/scale.h>
std::vector<double>
nice_ticks(int max_ticks = 8) const;

Return Value

Tick values in ascending order.

Parameters

Name Description
max_ticks Approximate maximum number of ticks.

Created with MrDocs