Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove hover tooltip from Google Visualization pie chart (core chart)

Tags:

How to remove hover tooltip from Google Visualization pie chart (core chart)? Need to make it work cross-browser, eg, IE, FF, Chrome, Safari, Opera

enter image description here

Edit: I need the slices to be be clickable too.
enableInteractivity : false removes the hovers but doens't throw 'select' or other interaction-based events.

like image 333
Shumon Saha Avatar asked Nov 22 '11 07:11

Shumon Saha


People also ask

What is tooltip in Google Sheets chart?

Tooltips are the little boxes that pop up when you hover over something. (Hovercards are more general, and can appear anywhere on the screen; tooltips are always attached to something, like a dot on a scatter chart, or a bar on a bar chart.)

What is tooltip in Datastudio?

Tooltips are a user interface element that pops up when you hover over a component on the screen. They display additional information for the component, and they're a great way to create meaningful yet decluttered data visualizations.


1 Answers

Maybe you need to add this to your chart's options

'tooltip' : {   trigger: 'none' } 

In this way you can leave enableInteractivity set to true.

like image 170
Sir_Faenor Avatar answered Sep 28 '22 12:09

Sir_Faenor