The formatting isn't sophisticated enough to display 1000000 as 1M. You would have to divide all of your data by 1000000 and use a formatter to change the displayed value. You can then format the axis by setting vAxis.format to "#M".
On Friday, November 23, 2012 1:56:06 PM UTC-5, Duygu Atilgan wrote: > > Hi, > > I would like to set the formatting of the vertical axis of my bar chart, > so that it shows the values as e.g. 1M instead of 1,000,000 . I guess I > need to set it in vaxis.format but I couldn't figure out how to do it. I > would appreciate the suggestions, > > Thanks, > -- 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/-/sr3E_Z_oTZ4J. 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.
