numberFormat section controls how numeric values are displayed across the chart — axis ticks, tooltips, data labels and headlines. It sets the defaults; the renderer’s locale still governs locale-specific separators unless you override them here.
Options
number | 'auto'
default:"auto"
Decimal places. A number fixes them (
2 → 1234.56); 'auto' varies with
magnitude.'auto' | 'k' | 'm' | 'b' | 'none'
default:"auto"
How large numbers are shortened:
'none'—1,234,567'auto'—1.2M, chosen by magnitude'k'/'m'/'b'— force thousands / millions / billions
string
Text prepended to every value, e.g.
'$'.string
Text appended to every value, e.g.
'%' or ' units'.string
Override the thousands separator. Defaults to the locale’s.
string
Override the decimal separator. Defaults to the locale’s.
Example
Related
- Configuration overview
- Quickstart › locale — the renderer’s
formattingLocale

