numberFormat section controls how numeric values are displayed in tooltips, data labels, legends and headlines. Axis ticks abbreviate on their own. The renderer’s locale sets the separators. What a value is (a currency, a percentage, a date) is the column’s valueFormat in the data, not a config key.
Options
Decimal places. A number fixes them (
2 gives 1234.56); 'auto' varies
with magnitude.How large numbers are shortened:
'none'—1,234,567'auto'—1.23m, chosen by magnitude'k'/'m'/'b'— force thousands / millions / billions
Declared on the type, but the formatters do not read it: the thousands
separator always follows the locale.
Declared on the type, but the formatters do not read it: the decimal separator
always follows the locale.
Example
Related
- Configuration overview
- Data structure › schema —
data.parsingLocale, the fallback for display formatting - Quickstart › locale — the renderer’s
formattingLocale - Interactivity › tooltips — per-row
formaton a layer’s tooltip

