The NumberFormatter will format your data. To format the axis, you need to
use the vAxis.format option:
vAxis: {
format: '#%'
}
On Monday, May 26, 2014 6:33:49 PM UTC-4, TheInnovator wrote:
>
> I also tried but to no avail.
>
> //Use to convert the value in the 4th column to a percentage
> var formatter = new google.visualization.NumberFormat({
> pattern: '#%'
> });
> formatter.format(data, 1); // format column 4 in DataTable "data"
> formatter.format(data, 2);
>
>
> On Mon, May 26, 2014 at 6:31 PM, TheInnovator <[email protected]<javascript:>
> > wrote:
>
>> How can I make the vertical side of the line chart a percentage (0-100%)?
>> http://isaac.issharepoint.com/Web%20Part%20Page/508Dashboard.aspx
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google Visualization API" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-visualization-api/FAFAmqBTrQo/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected] <javascript:>.
>> To post to this group, send email to
>> [email protected]<javascript:>
>> .
>> Visit this group at
>> http://groups.google.com/group/google-visualization-api.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> -Isaac-
>
> http://twitter.com/#!/feedy0urmind
> You are today where your thoughts have brought you; you will be tomorrow
> where your thoughts take you.
> - James Allen
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.