Setting Chart Tick Marks vs Gridlines?

46 views
Skip to first unread message

Ken Burkhalter

unread,
Dec 4, 2014, 5:17:44 PM12/4/14
to google-visua...@googlegroups.com
I am trying to achieve a chart like this where there are Tick marks on the Axis between the Grid lines....


But the results I am getting is this where I have control over the number of Grid Lines BUT NOT over the Tick marks...













My code is (see also attached file)...


If the Tick Mark count (line 22) is increased to produce more ticks than grids it doesn't add ticks to the axis but increase the grid marks, which results in an incredibly cluttered chart.How do I get Axis Ticks, without also increasing the number of Grid lines?   [:-)}  

TestChart2.html

Sergey Grabkovsky

unread,
Dec 4, 2014, 5:23:09 PM12/4/14
to google-visua...@googlegroups.com
Unfortunately, we do not support adding tick lines like your example. However, we do support minor gridlines, which will let you add more gridlines without adding any more ticks. You can see my example of that here: http://jsfiddle.net/4npvuc06/

--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Ken Burkhalter

unread,
Dec 4, 2014, 6:49:38 PM12/4/14
to google-visua...@googlegroups.com
That works just fine!

Thanks.
  [:-)}
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/q3uNRi9DleM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

-- 
-ken burkhalter
Reply all
Reply to author
Forward
0 new messages