Echarts如何添加鼠标点击事件? 1.通常我们只使用了以下代码,通过配置项和数据显示图表. var myChart = echarts.init(document.getElementById('chartBox')); var option = {...}; myChart.setOption(option); 2.在myChart.setOption(option)后添加以下代码,即可触发图标中每个项的鼠标点击事件. myChart.on('click', function
//常量定义public class Constant { public static Integer PM_YEAR_NO = 5; } //action public class ZhiBiaoPmAction extends BaseAction { private static final long serialVersionUID = 1L; @Autowired ZhiBiaoPmService zbser; public String cn_pm25() { Integer yea