我形成图表并具有这样的系列格式:
series: {
id : '001',
name: 'name,
data: [],
color: '#fff'
}
在 plotOptions 我创建了 onClick 事件:
plotOptions: {
series: {
stacking: 'normal',
cursor: 'pointer',
allowPointSelect: true,
marker: {
states: {
select: {
enabled: true
}
}
},
point: {
events: {
click: function () {
console.log('!!!!!', this);
}
}
}
}
}
时钟后我在日志中得到对象。除了 id: '001' 之外的所有信息。我怎么才能得到它?