score:0
If you find the above solution not working, try to add this:
Highcharts.setOptions({
lang: {
thousandsSep: ','
}
});
score:10
In addition to what @jfrej suggested:
- If you're directly formatting an axis, use
{value}
for bothyAxis
andxAxis
: - If you're formatting a point in a tooltip, you may want to use
{point.y}
and/or{point.x}
: - If you're directly formatting the point label, you may want to use
{x}
and/or{y}
:- Fiddle for
plotOptions.series.dataLabels
, formatting all points - Fiddle for
series.data.dataLabels
, formatting specific point
- Fiddle for
So, since you're formatting yAxis
, {value}
should work as expected:
yAxis: {
labels: {
format: '{value:,.0f} €'
}
}
Source: stackoverflow.com
Related Query
- Highcharts y axis thousands separator
- Adding thousands separator for custom formatted highcharts tooltip
- How to add thousands separator in highcharts tool tip text box
- Remove Highcharts x-axis label thousands separator
- Hide axis and gridlines Highcharts
- Change HighCharts axis title
- how to set the interval of points on Y - Axis highcharts
- How replicate the value of Y Axis on both sides of the axis in Highcharts
- Highcharts Area graph, use 2 fill colors above / below X axis
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- Highcharts how to change x axis options
- Highcharts - How to start x axis from an arbitrary value
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts - Long multi-line y axis labels causing following label to be removed
- Highcharts - with datetime axis labels overlap
- Change Y Axis vertical line color in Highcharts
- How to add space between chart and axis in highcharts
- Highcharts reset y Axis
- highcharts - removing decimal places on Y axis with only one point
- Highcharts : hiding bottom-most x axis grid line
- How to change axis label size when exporting in Highcharts / Highstock
- Change HighCharts axis title in 2.1.4
- Highcharts axis label before first point
- Highcharts | Making multiple y axis scales
- Invert Y axis in Highcharts
- Highcharts blank chart with x and y axis
- Highcharts display series.name on X Axis
- Highcharts - Display only year in x axis and stop auto formatting
- Style highcharts x and y axis
More Query from same tag
- reverse highcharts heatmap legend
- knockoutjs highcharts parse arrays of data to chart
- Highcharts donut separate tooltips for inner and outer pie
- Export Highcharts code from jsfiddle
- Draw another chart/or series on mouse hover in HighStock
- Highcharts Date.UTC does not work properly for real data
- Enabling markers for hover doesn't appear to work
- How do I make a Tornado Chart using Highcharts
- How to add a class to the element class in EXTJs
- Highcharts data with x,y values golang struct
- HightChart graph lable cutoff issue
- Group vertically and Horizontally in HighCharts Gantt
- How to remove white space from pie chart in highchart.js?
- Highcharts stacked bar chart hide data labels not to overlap
- How to display 2 solid gauge using ng-repeat function?
- How to draw on charts?
- Highcharts show the same yAxis start and end value with multiple data series
- High chart - localization of numbers
- Putting the Z-Coordinate in the Highcharts Tooltip
- highcharts spline with multiple series update every few seconds
- highchart legend multiple position ? first legend left and 2nd legend right show in a chart
- Hide axes when drilling from column chart to pie chart in Highcharts
- HighCharts stacked column range
- Unable to create line chart using Highcharts - Vue.js
- Graph issue when y-axis has only '0' as values in highcharts
- Highchart Solid Gauge Chart make one end straight/normal
- How to use a javascript variable in highcharts series?
- Adding a slider to a High Charts Treemap
- how to add tooltip on hover over the stacked Labels in highcarts
- Highcharts multiple series from json