Disabling tooltip for only one of many series in a LineChart

2,590 views
Skip to first unread message

Ambientson

unread,
Nov 15, 2012, 3:00:40 PM11/15/12
to google-visua...@googlegroups.com
Hello,

I have a line chart (actually line chart type in a combo chart, but that shouldn't matter) and I'd like to disable the tooltips but only for a single serie while retaining the tooltips for the other series. Is this feasible?

I know we can turn tooltips off but that's for the entire chart.
I tried a tooltype role column with an empty string but the tooltip still pops up but empty.

Many thanks.

asgallant

unread,
Nov 15, 2012, 3:28:34 PM11/15/12
to google-visua...@googlegroups.com
Disabling tooltips for individual series is not supported.

Ambientson

unread,
Nov 15, 2012, 4:20:45 PM11/15/12
to google-visua...@googlegroups.com
Too bad.

Thanks.

Aidan Shealy

unread,
Jun 25, 2013, 9:33:18 AM6/25/13
to google-visua...@googlegroups.com
Any chance you figured out a way to handle this?

asgallant

unread,
Jun 25, 2013, 12:05:30 PM6/25/13
to google-visua...@googlegroups.com
No, there is no workaround that I am aware of.

Michael Dorfman

unread,
Oct 24, 2014, 8:23:45 AM10/24/14
to google-visua...@googlegroups.com
You can't specifically disable tooltips, but you can disable user interactivity for a series.  This was the solution I found here (https://groups.google.com/forum/#!topic/google-visualization-api/vp0vKHtYOtI).  Including this in the options for your graph would disable tooltips for the series with the index of 0:

series :{
0:{
enableInteractivity: false,
tooltip: 'none'

Andrew Gallant

unread,
Oct 24, 2014, 8:19:33 PM10/24/14
to google-visua...@googlegroups.com
FYI, that will disable all interactivity with a series, not just tooltips.
Reply all
Reply to author
Forward
0 new messages