Start a new topic
Implemented

Add an event for legend item hovering

Original post from our old UserVoice platform:


You might add mouseover/mouseout events to legend items. This event should provide the index of the legend item.

That gives the developer more control about what to do when hovering legend items and gives him the control to devide whether a tooltip should be shown or the series should be highlighted or whatever.

A common use case might be to show tooltips when hovering legend items --> http://jsfiddle.net/ArmRM/481/

1 Comment

Our response:


Here’s how to add the events with jQuery:
http://jsfiddle.net/highcharts/5V33F/ 

Login or Signup to post a comment