insightdock::charts::detail::format_axis_tick

Formats an axis tick using its spacing to select decimal precision for Raw values.

Synopsis

Declared in <insightdock/detail/tick_format.h>
[[visibility]]
std::string
format_axis_tick(
    double v,
    double spacing,
    TickFormat format,
    std::function<std::string(double)> const& custom_formatter);

Parameters

Name Description
format How y-axis tick values are formatted as label strings.

Created with MrDocs