How to set Y Axis to 0

26 views
Skip to first unread message

mborrill

unread,
Apr 3, 2012, 5:50:58 PM4/3/12
to Google Visualization API
Hope this makes sense I'm trying to set the Y axis to a value of Zero
the only way I can do this is by cheating but makes the graph kida
crappy , as you can see all Ive done is give the month the value 0 .
how can I do this without doing this .

data.addRows([
['Month ', 0 , ],
['2004', 65554, ],
['2005', 77654, ],
['2006', 67654, ],
['2007', 67544, ]
]);

asgallant

unread,
Apr 4, 2012, 8:57:41 AM4/4/12
to google-visua...@googlegroups.com
If I understand what you want correctly, then you need to set the hAxis.minValue option to 0.

mbor...@talktalk.net

unread,
Apr 4, 2012, 4:39:19 PM4/4/12
to google-visua...@googlegroups.com
Agian yep thanks ;O

--
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/-/mh9ycnC1PT0J.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Reply all
Reply to author
Forward
0 new messages