You can control the horizontal axis grid line positioning to some extent,
by setting the hAxis.viewWindow.min/max options and hAxis.gridlines.count
option.

For example, hAxis: {viewWindow: {min: 0, max: 20}, gridlines: {count: 4}}}
will do what you asked for in your example. See
http://savedbythegoog.appspot.com/?id=e8bd65c300e40f184af1d7f9725575eb25e7fc1d


On Tue, Jan 31, 2012 at 2:36 AM, LuckySevenRoX <[email protected]>wrote:

> Hi, i have a question about the values of axis (line chart)
> I use the data.addRows to add this values: 2, 5, 8, 11, 14.
> These values will be shown under the X axis and that's ok, but i want
> to use other values for my chart and not the ones that i've added.
>
> I want that the data i've inserted will be shown on a 1, 5, 10, 15, 20
> axis (or other values that i must set).
>
> How can i do it? Maybe it's a simple question, but i really can't find
> a solution.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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.

Reply via email to