I used the tooltips to display percentages using the following code:

var formatter = new google.visualization.NumberFormat({
      fractionDigits: 2,
      suffix: '%'
    });
formatter.format(data, 1); // Apply formatter to first column.

Is there a way for NumberFormat to multiply each element by 100?
Otherwise the tooltip appears as .50%.

I am using vAxis.format = "format:'#%' " which does multiply by 100.
So .5 is displayed as 50% on the vertical axis.

According to the documentation(icu-project.org/apiref), this can be
overwritten by enclosing the % in single quotes, but this did not
work.

The net result is that the tooltips do not match the axis. What is the
best way to do this?

Thanks.

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