it4biz/SaikuChartPlus

Formatting numbers Dear all, I managed to format the numbers for the different graphs using Highcharts.numberFormat function (this.y, 2, ',', '.') ... but I can not format the numbers of maps because I'm not sure where I should make the change in the co

eoviedo opened this issue · 4 comments

Dear all,

I could format the numbers for the different graphs using Highcharts.numberFormat function (this.y, 2, ',', '.') ... but I can't format the numbers for maps -the numbers which are showed in the tooltips- because I'm not sure about the right place in the code to make the changes

could you give me some indication?

Thanks in advance,

Hi,

Please, look this

https://developers.google.com/chart/interactive/docs/reference#numberformatter

Example:
var data = google.visualization.arrayToDataTable(series);
//search for the top line in file plugin.js(827) and insert below:
var formatter = new google.visualization.NumberFormat({pattern:'#,###'});
formatter.format(data, numberOfColumnApplyFormat);

example_formatter
regards

It works!!! Perfect. Great job.

nice!

Thanks

Thanks eoviedo and fernandommota.

It is a community project, we are open to new issues...

Thanks again.

Caio