How to add a thousands separator to the Y Axis of Highcharts?
This is what I have:
yAxis: [{ // Primary yAxis
labels: {
In addition to what @jfrej suggested:
{value}
for both yAxis
and xAxis
:
{point.y}
and/or {point.x}
:
{x}
and/or {y}
:
plotOptions.series.dataLabels
, formatting all pointsseries.data.dataLabels
, formatting specific pointSo, since you're formatting yAxis
, {value}
should work as expected:
yAxis: {
labels: {
format: '{value:,.0f} €'
}
}