Hi, Is there a way to get the scatter chart to display a vertical grid line for each day? I see that it does that automatically if the date range is within a reasonable amount for the chart width. For my case, around 5 days seems to fit nicely and there's a vertical grid line for each day. The problem I'm having is that if I set the min and max value to a range of 14 days in between, the chart automatically groups the date together, showing one vertical grid line for every other day (or if I do 30 days, it groups more days together).
Ideally, I would like to have one grid line for each day with the date shown on the bottom of the chart, but if there's a way to get the "minorGridlines" option to show for each day, that would be fine too. Originally, I thought I could just manually set the minorGridlines count option, but that's not viable because users can change the date range so I have no way of knowing beforehand what the count should be. I was looking through the documentation to see if there is a way for me to get the number of days the main grid-lines are grouped by, but there doesn't seem to be such a method. Here's the docs I was reading: https://developers.google.com/chart/interactive/docs/gallery/scatterchart Here are my options: var options = { title: 'Daily Progress', hAxis: {title: 'Date', minValue: fromDate, maxValue: toDate}, (this is the option I'm trying to get the one grid-line per day on) vAxis: {title: '# Completed', minValue: 0, maxValue: 15}, chartArea: {left: fromLeft, width:chartWidth}, tooltip: {isHtml:true}, legend: 'none' }; return options; Thanks in advance! -- 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.
