The gridlines.count parameter is broken when used in conjunction with Date-based axes. There is a bug report on this issue here<http://code.google.com/p/google-visualization-api-issues/issues/detail?id=908> (click the star in the upper left corner to be notified of any developments with the issue).
On Saturday, January 12, 2013 1:06:18 PM UTC-5, Lucero del Alba wrote: > > Hi Daniel, thanks for your response. The gridlines.count = 0 does work > for the vAxis, but apparently not for the xAxis. According to the > candlestick > chart > doc<https://developers.google.com/chart/interactive/docs/gallery/candlestickchart>, > > the minimum value for gridlines.count for the hAxis is 2; however, I > can't seem to change it to any value, consider this chart: > http://jsfiddle.net/k2hwr/ > > Would you know why the gridline.count param for the hAxis doesn't seem to > work on this example? > > > On Fri, Jan 11, 2013 at 7:52 PM, Daniel LaLiberte > <[email protected]<javascript:> > > wrote: > >> Lucero, >> >> You can specify a gridlines.count of 0 to eliminate the gridlines. The >> baseline can also be hidden by giving it a color of 'none', or by setting >> the baseline value to something outside the view window. >> >> dan >> >> >> On Fri, Jan 11, 2013 at 5:33 PM, Lucero del Alba >> <[email protected]<javascript:> >> > wrote: >> >>> Hi, from what I understand you get grid lines on the hAxis >>> (horizontal axis) only when it is continuous one (see Customizing Axes: >>> Discrete vs >>> Continuous<https://developers.google.com/chart/interactive/docs/customizing_axes>, >>> >>> though you could "draw" grid lines using domain-axis annotations as >>> pointed out by Andrew >>> here<https://groups.google.com/forum/#!searchin/google-visualization-api/without$20gridlines/google-visualization-api/bAHX1hOejv0/2_mQi-c42MkJ>), >>> >>> and the minimum amount of vertical lines you can set on the grid via * >>> hAxis.gridlines.count *config option is 2 via the. So, is there any >>> way to completely remove the vertical lines on the grid for >>> a continuous hAxis? >>> >>> -- >>> 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/-/Ld9flyqE97gJ. >>> To post to this group, send email to >>> [email protected]<javascript:> >>> . >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:>. >>> For more options, visit this group at >>> http://groups.google.com/group/google-visualization-api?hl=en. >>> >> >> >> >> -- >> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >> - 978-394-1058 >> [email protected] <javascript:> 562D 5CC, Cambridge MA >> [email protected] <javascript:> 9 Juniper Ridge Road, Acton MA >> >> -- >> 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]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> > > > > -- > Emiliano > -- 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/-/M0ScizUAancJ. 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.
