1、基础是鼠标事件的处理
2、代码
myEcharts1.on("mouseover",function(params) { console.log(params.name) search(params.name) }) myEcharts1.on("mouseout",function(params) { console.log(params.name) search2(params.name) })
1、基础是鼠标事件的处理
2、代码
myEcharts1.on("mouseover",function(params) { console.log(params.name) search(params.name) }) myEcharts1.on("mouseout",function(params) { console.log(params.name) search2(params.name) })