Here is my setup:
new google.visualization.NumberFormat({
suffix: '%',
negativeColor: 'red',
negativeParens: true,
fractionDigits: 2}));
The number formatter is called inside a call to initDataTable with y-
axis values of type float.
Example:
-2.112345
The display (using hover) over the bar chart shows:
(2.00%)
I can't get the number formatter to NOT truncate the value and to
instead round to the nearest hundredth. What am I not doing
correctly?
--
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.