jayesh jayesh - 1 month ago 10
jQuery Question

High chart -override legend click and hover event to custom logic

Highchart API is providing hover and click event over legend by out of the box. But i want to customize that events.

Any trick is available with highchart to override that events?

Answer

Yes you can do this:

point: {
   events: {
        legendItemClick: function () {
             // function def
        }
   }
}

Fiddle