我正在使用其他值并点击选项,在此处获得帮助 highstocks, how can I bring values that I will only use on the 'click' option?
关于点击和附加价值的一切都很顺利
然后,我发现如果我在图表上有超过655个点(未定义的值),则返回值时会遇到问题。如果我限制为小于655,它看起来很好。
尝试使用 turboThreshold ,但没有运气。仍未定义的价值。
我尝试在plotOptions'系列'中包含turboThreshold。在plotOptions'样条'和同样的事情:(
有没有人有线索?
创建了一个小提琴示例http://jsfiddle.net/gGCFg/
click: function() {
alert(this.x) // data hora
alert(this.y); // valor
alert(this.lat);
alert(this.long);
}
有趣的是,即使有500个小提琴我也无法让它工作得很好:( 点击它会提醒this.y,this.x和我的附加值以及undefined。
由于
答案 0 :(得分:2)
您需要禁用数据分组
http://api.highcharts.com/highstock#plotOptions.series.dataGrouping
dataGrouping:{
enabled:false
},