legendSeriesClick

Raised when an item from the Chart legend is clicked. The event object receives the following additional properties:

  • item - the data series corresponding to the clicked legend item

This event can be cancelled and cancelling it will prevent the default behavior of toggling the visibility of the clicked series.

events: {
    legendSeriesClick: function (e) {
        // stop the series item click event, so that 
        // user clicks do not toggle visibility of the series
        e.preventDefault();
    }
}

A live example of this event can be seen here.