How do you highlight specific grid lines on a chart.

69 views
Skip to first unread message

Claus Mygind

unread,
Oct 13, 2015, 1:49:42 PM10/13/15
to Google Visualization API
I have a curved line chart

chart = new google.visualization.LineChart(document.getElementById('curve_chart')

I would like user to be able to highlight a specific horizontal and vertical grid lines, which do not intersect a specific data point (the grid lines  may fall between two data points on the drawn line).

Is there a way to accomplish this?  If so a brief code example would be appreciated.

Daniel LaLiberte

unread,
Oct 13, 2015, 1:57:11 PM10/13/15
to Google Visualization API
Hi Claus,

Currently, Google Charts only supports showing the crosshairs for data points, though it is a good idea to support it anywhere within the chart and we'll investigate adding that feature.  Thanks.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/35567e92-9862-4ae2-ac7e-6e8892a77127%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages