高库存,点击值未定义 [英] Highstock, click values undefined
问题描述
我正在使用其他值和单击选项,请在此处获取帮助 高库存,我该如何带来只能在点击"选项上使用的值?
I was working with additional values and click option, got help here highstocks, how can I bring values that I will only use on the 'click' option?
关于点击和附加值的一切都很好
Everything went fine about the click and additional value
然后,我发现如果图表上有超过655点(未定义的值),我将无法返回这些值.如果我限制为小于655,就可以了.
Then, I found out that I have problems to return the values if I have more than 655 points on the chart (undefined value). If I limit to less than 655 it appears fine.
尝试使用 turboThreshold ,但是没有运气.仍然是不确定的值.
Tried using the turboThreshold, but no luck. Still undefined value.
我尝试在plotOptions'series'中没有包含turboThreshold.在plotOptions'spline'和相同的东西:(
I tried include turboThreshold in the plotOptions 'series' nothing. In the plotOptions 'spline' and same thing :(
有人知道吗?
创建了一个小提琴示例 http://jsfiddle.net/gGCFg/
Created a fiddle example 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以及其他带有未定义值的值发出警报.
The interesting thing it's that even with 500 on fiddle I was unable to make it work nice :( Click on any point it will alert this.y , this.x and my additional values with the undefined.
谢谢
推荐答案
您需要禁用数据分组
http://api.highcharts.com/highstock#plotOptions.series.dataGrouping
dataGrouping:{
enabled:false
},
这篇关于高库存,点击值未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!