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.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/171bd677-af55-4a58-9686-028ca21aee81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.