0👍
Thanks. It did partly the trick. I also found out that there is an option "precision". Still didn’t figure out, how to use the ToFixed(2)
as return Intl.NumberFormat().format(label).ToFixed(2);
doesn’t work
I know have:
ticks: {
suggestedMin: 975, // minimum will be 950, unless there is a lower value.
suggestedMax: 1025, // maximum will be 1050, unless there is a lower value.
precision: 1,
callback: function(label, index, labels) {
return Intl.NumberFormat().format(label).replace("," , "");
}
} // ticks
But thanks for your suggestions!
Source:stackexchange.com