我在每个系列点上绑定(bind)了一个点击事件,以便获取与该点关联的数据。
plotOptions: {
series: {
point: {
events: {
click: function () {
console.log("that > ", this);
}
}
}
}
}
如果我有一个没有向下钻取的图表,它工作正常(fiddle)。
但是,如果我定义向下钻取 (fiddle),我只能获取内部系列的点数据。对于我刚刚单击以向下钻取的切片,点数据为空。
this > c {series: null, name: null, y: null, drilldown: null, options: null…}
这是一个错误还是我遗漏了什么?
最佳答案
这是一个错误。
已报告给我们的开发人员 here .
关于javascript - plotOptions.series.point.events 在使用向下钻取时返回空点数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25489518/