Thanks for the hint. Sounds good.
Now I am searching for an event fired by the legend items to hook in but it seems like there only is a legendItemClick event. Did I miss something?
I tried
- Code: Select all
events: {
click: function() { console.log("click"); },
checkboxClick: function() { console.log("checkboxClick"); },
hide: function() { console.log("hide"); },
legendItemClick: function() { console.log("legendItemClick"); },
mouseOver: function() { console.log("mouseOver"); },
mouseOut: function() { console.log("mouseOut"); },
show: function() { console.log("show"); }
}
but none of the events fires on hovering a legend item.
If this is not possible with the highcharts API are there any valid selectors to relieably query the legend items and manually add listeners on mouseover/mouseout?
Thanks again