toggleSeries

fires on toggle on/off a series in a legend

void toggleSeries(string id){ ... };

Parameters

idstringthe id of a toggled series

Example

chart.events.on("ToggleSeries", function(id){
    console.log("The "+id+" series is toggled");
});

Related samples

Back to top