Pie Chart hide tooltips

Im trying to simply hide the tooltips from ever showing. Ive tried to do this with the following but the tooltip still shows for a second…

elem.on('plotly_hover',function(data){
  	console.log('plotly hover');
  	Plotly.Fx.unhover(elem);
  });

It doesnt look like plotly_beforehover is ever fired for a pie chart for whatever reason.

An easier way would be to set layout.hovermode: false

1 Like

if i do this for any other chart, it doesnt fire the click event, is this intended?

Yes. In this case, set hoverinfo: 'none' in the corresponding trace object.