赞
踩
1. 通过 myChart.getZr().on('click', fn) 监听整个图表的
myChart.getZr().on('click', () => { //拿到index即可取出被点击数据的所有信息 console.log(clickIndex)})
参考: https://github.com/apache/incubator-echarts/issues/4375