Hi,
How to set or config number format to local format.
thx in advance
{
"decimal": ",",
"thousands": ".",
"grouping": [3],
"currency": ["", "\u00a0€"]
}
Can use encoding below as example
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"values": [
{"category": "A", "value": 1234567.89},
{"category": "B", "value": 9876543.21}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "category", "type": "nominal"},
"y": {
"field": "value",
"type": "quantitative",
"axis": {
"format": ",.2f"
}
},
"text": {
"field": "value",
"type": "quantitative",
"format": ",.2f"
}
}
}