I used your NumberFormat setup and it works fine for me:
http://savedbythegoog.appspot.com/?id=e57b8c98cd18091be8797d300125f5dd59aeadee
Can you send us a code where this problem reproduces?

On Wed, Oct 26, 2011 at 11:55 PM, dennis williamson
<[email protected]>wrote:

> 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.
>
>

-- 
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