Undesired formatting for thousands in integer columns

11 views
Skip to first unread message

Andrea Grillini

unread,
Sep 18, 2017, 6:52:57 PM9/18/17
to Google Visualization API
I took the code from the examples and a chart is correctly displayed, but...
I've just discovered that integer "1030" is displayed as "1,030".

var chart = new google.visualization.PieChart(document.getElementById('piechart'));

chart.draw(data, options);


I spare you the "options" definition, since I couldn't find in the documentation any option that may be related to number formatting, and, besides, I do have the same problem if I use "google.visualization.dataTableToCsv(data)" (data are the same, and the the csv body contains a double-quoted 1,030 (that is "1.030" instead of simply a plain 1030).

I still find hard believing this behavior cannot be controlled, I'd rather believe I'm pretty inexperienced... ;-) But I couldn't to without asking for help and I thank you in advance for any possible prompt. :-)


A. 
Reply all
Reply to author
Forward
0 new messages