echarts饼图点击事件 /** * 点击事件 */myChart2.on('click', function (param) { var index = param.dataIndex; alert(index);});