Thanks. Works like charm!

On Oct 31, 10:09 am, EZChart <[email protected]> wrote:
> You should use NumberFormat 
> (http://code.google.com/apis/chart/interactive/docs/reference.html#num...),
> with the pattern field (still undocumented).
>
> var formatter = new google.visualization.NumberFormat({pattern: '0.00%'})
> formatter.format(data, your_data_column_number_zero_based);
>
> See 
> example:http://savedbythegoog.appspot.com/?id=a7b03acb8e4d9c13b182033003f6a5c...
>
>
>
>
>
>
>
> On Sun, Oct 30, 2011 at 2:18 PM, manuel aldana <[email protected]> wrote:
> > I am using Bar Chart.
>
> > As column type I use 'number' and for hAxis I use formatting
> > percentage units :
> > ===
> > hAxis: {format:'0.00%', minValue:0, viewWindowMode:'maximized'},
>
> > The percentages are displayed nicely on the chart axis-wise, problem
> > is the chart-data when I do a mouse-over on the chart. Following is
> > displayed:
> > ===
> > hAxis: 3.5%
> > chart-data: 0.0352152146321
>
> > How can I transfer the '0.00%' format to the chart-data and details
> > themselves?
>
> > --
> > 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