Is there a proper way to specify formats for DataTable columns such
that fractions (e.g. 0.53) appear as percentages (e.g. "53%")?

The following code doesn't work, as it 0.53 appears as "53%".

    var formatter = new
google.visualization.NumberFormat({suffix:'%'});
    formatter.format(data, cpct);

I imagine I could iterate through the rows and multiply by 100, but
that seems like a kluge when percentages are commonly recognized
formats.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to