Hello,
I am draw pie chart, i am using
var data = new google.visualization.DataTable();
data.addColumn('string', rowarr[0]);
data.addColumn('number', rowarr[1]);
but i have some values in decimal, so when i pass decimal value then graph
does not draw.
i found to set the parameter but not success.
var formatter= google.visualization.NumberFormat({fractionDigits:'2'});
formatter.format(data, 1);
Please suggest me how to set formate for decimal values.
--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.