Add min value to default on y-axis(vertically)

27 views
Skip to first unread message

Rag

unread,
Oct 4, 2011, 6:27:45 PM10/4/11
to Google Visualization API
Hi All

I'm using column charts to display the graphs.
My data to this graph is dynamic.
Based on the data, Minimum value is changing automatically.
But I would like it always start from '0'.

Any help is greatly appreciated.

Thanks
Rag

asgallant

unread,
Oct 5, 2011, 10:02:46 AM10/5/11
to google-visua...@googlegroups.com
Try setting the vAxis.minValue option.  That should work as long as you don't have any negative values.  If you do have negative values, then you'll need to set vAxis.viewWindowMode: 'explicit' and use the vAxis.viewWindow.min and vAxis.viewWindow.max options.
Reply all
Reply to author
Forward
0 new messages