insightdock::charts::detail::format_tick_value

Formats a numeric value per TickFormat, honoring a custom formatter override.

Synopsis

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

Description

Shared by CartesianChart's y-axis tick labels and by data-label rendering across Bar/Line/Area/Combo chart types so a label matches its axis's formatting.

Parameters

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

Created with MrDocs