Unfortunately, in the current release, you cannot specify the number of major gridlines on Date value axes. You can specify the viewWindow min and max values, which it appears to take as a rough guideline that affects which gridlines will be generated. You can also specify the number of minor gridlines, but there are no labels associated with minor gridlines.
In the near future (a few weeks), you will be able to specify the explicit tick values you want to use. However, this means you will have to go through the data yourself to figure out the set of tick values that will be used. This will be more challenging if you are using a chart range filter on the date axes. There will be more enhancements rolling out as soon as we can make them stable, but this one is easy enough and gives you a lot more control if you need it. dan On Wed, Feb 20, 2013 at 2:54 AM, Bistaratzea <[email protected]> wrote: > Hello! > I'd like to specify the number of gridlines in the hAxis of a Line Chart. > The problem is that the horizontal axis shows dates (in a Date Format). > Is it possible to specify the number of gridlines, as I'd like? > > Thanks for your help > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 562D 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
