You need to use a formatter on the DataTable column, like this:

var data = new google.visualization.DataTable();
// populate the DataTable
....
// format the second column in the DataTable 
var formatter = new google.visualization.NumberFormat({pattern: '#,###%'});
formatter.format(data, 1);

On Tuesday, April 17, 2012 6:23:22 AM UTC-4, [email protected] wrote:
>
>     Hi,Hello Everybody,I have a question about google chart,I draw 
> a  statistical  chart, The type of  Y  Axis  is percent,but when I 
> hover mouse to  data posin,The Tooltip  is  decimal, I want is show 
> percent 。 
>    Do you understand ? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/ToktTC_G8jAJ.
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