Clickable tooltips for geocharts

169 views
Skip to first unread message

Mike Maciag

unread,
Mar 21, 2014, 5:21:33 PM3/21/14
to google-visua...@googlegroups.com
I'm putting together a Geocharts map with different regions shaded. I'd like to configure it so that the tooltips display when they're clicked. With the default setting, they're only shown on hover, so it's not possible to include links and other content in the tooltips that can be copied or clicked.

From the geocharts documentation, I don't see a tooltip.trigger option setting for this. Anyone have any ideas?

Thanks,
Mike

asgallant

unread,
Mar 21, 2014, 5:59:44 PM3/21/14
to google-visua...@googlegroups.com
There's nothing in the API that will do what you want.  You could turn off the tooltip and use a "regionClick" event handler to spawn your own custom tooltips, though.

Carlos Moreira

unread,
Mar 31, 2014, 2:23:23 PM3/31/14
to google-visua...@googlegroups.com
Yeah... unfortunately it seems the API doesn't let us do this. 
But it would be great to have an option to have static tooltips (that wouldn't follow the mouse) or another tooltip.trigger option. 
Would be very useful now that the HTML can be used inside the tooltips. 

Sergey Grabkovsky

unread,
Mar 31, 2014, 2:53:36 PM3/31/14
to google-visua...@googlegroups.com
This is not possible with the current version of the GeoChart, but it is something we are working on =)

- Sergey


--
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.

Daniel x

unread,
Nov 21, 2015, 10:01:14 AM11/21/15
to Google Visualization API
The documentation now lists tooltip.trigger=selection as a possible option and should give you what you want.
Reply all
Reply to author
Forward
0 new messages