Thanks for the insights! I several bars that I want to separate by label 
groups with gridlines. This seems to be quite tricky to do. What would be 
the best to use? Gridline or Overlay?

On Friday, January 19, 2018 at 6:07:52 PM UTC, Daniel LaLiberte wrote:
>
> Discrete axes for string values don't display gridlines, so if you want 
> gridlines, you will have to use numeric values instead.  You can still 
> display the string representation of the numeric values, both on the axis 
> and in tooltips, if you provide explicit ticks (see the 'ticks' option) 
> with the formatted representation and include the formatted representation 
> in the datatable.   That is, instead of a value being a string x, use an 
> object of the form { v: num, f: 'foo' } where num is a number like 1 to n.  
> Hope that provides enough hints to go on.
>
> On Fri, Jan 19, 2018 at 12:34 PM, Sean Larson <[email protected] 
> <javascript:>> wrote:
>
>> In between each bar, in a single chart? or in-between individual 
>> instances of a bar chart? I think you can look at options  for "minor 
>> gridlines" and "major gridlines" and both hAxis and vAxis. 
>>
>> If none of those options achieve what you want after some trial-error, 
>> there is the overlay technique which is also in documentation.
>>
>> On Friday, January 19, 2018 at 6:21:12 AM UTC-6, Simon wrote:
>>>
>>> Hello there,
>>>
>>> Is there a way to add horizontal separator lines in-between each bar 
>>> chart? I could not find anything about this in the documentation. Is it 
>>> still possible, if so I would appreciate to be redirected to an example or 
>>> some documentation. :)
>>>
>>> Thank you,
>>>
>>> Simon  
>>>
>> -- 
>> 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] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at 
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/c2b1d1ab-97b6-4aff-9052-470f0a269254%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/c2b1d1ab-97b6-4aff-9052-470f0a269254%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   5CC, Cambridge 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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/29589dc0-f99d-408e-b6a7-b470f258a2aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to