number formats on axes (add thousads separator)


#1

Problem:

when drawing a chart, I would like to add a thousand separator to the lable of the Y - Axsis.

Example:

Y-Axsis now shows 10000, 15000, 20000 …

I would like to add a thousand separator so the labels would read as follows:

Y-Axsis: 10.000, 15.000, 20.000 …

the setting of my Y - Axsis is:
yAxis:{
template:’{obj}’,
title:‘Values in EUR’
}
I could not find any solution in the forum - is there any ?

Thanks in advance


#2

Hello
You need set “step” property as 5000
and via template function set custom 5.000 title

xAxis: { template: function (obj) { //custom function to put delimiter argument; }, step: 5000 ... },