react apexcharts onclick code example
Example: apexcharts bar onclick index
click(event, chartContext, config) {
console.log(config.seriesIndex);
console.log(config.dataPointIndex);
}
click(event, chartContext, config) {
console.log(config.seriesIndex);
console.log(config.dataPointIndex);
}