serieClick
fires on clicking a series
serieClick: (id: string, value: string) => void;
Parameters:
id: string
- the id of a clicked seriesvalue: string
- the value of a series
Example
chart.events.on("serieClick", function (id, value) {
// your logic here
});
Related sample: Chart. Events
This event can be used for Bar, X-Bar, Pie, Pie 3D, Donut charts.