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,