It largely depends on your data, but the answer is likely no. You would
have to have axis values that can be translated into a continuous set ("Set
1, Set 2, Set 3" into type number, "January, February, March" into type
date; "Foo, Bar, Baz" would not work).
What you can try, though, is using domain-column annotations of type
"line". This draws a vertical line for each axis value with a non-null
entry in the annotation role column (use a blank space " " to avoid showing
a label on the line). See column
roles<https://developers.google.com/chart/interactive/docs/roles>for details.
On Tuesday, July 3, 2012 5:35:04 PM UTC-4, Allen "Prisoner" Firstenberg
wrote:
>
> If I read the documentation for
> https://developers.google.com/chart/interactive/docs/gallery/linechartcorrectly,
> the hAxis.gridlines are only available if the values are
> continuous. We have several charts that have discrete values for which we
> want to provide the gridlines for.
>
> Am I missing an alternate way to provide the lines?
> Are there any suggestions about how we can create a pseudo-continuous set
> of values with the X-axis labeled as if they were the discrete values?
> Any other thoughts about the best way to achieve this effect?
>
> Thanks!
> Allen
>
--
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/-/wGaxBPQebE8J.
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.