Skip to content

Documentation / @ripl/charts / resolveFormatLabel

Function: resolveFormatLabel() ​

resolveFormatLabel(format?): (value) => string | undefined

Defined in: charts/src/core/options.ts:549

Resolves an axis format type or custom formatter into a label formatting function.

Parameters ​

ParameterType
format?AxisFormatType | (value) => string

Returns ​

(value) => string | undefined