data中都是可以自定义属性的,例如:data:[{value:0, name:'打开', myId:4},{value:0, name:'离线', myId:5},{value:0, name:'关闭', myId:6},],Chart.on('click', function (params) {alert(params.data.myId);//输出自定义的myId值});
(1)有(2)无