jayesh jayesh - 4 months ago 35
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