我一直在玩Highstocks一段时间,出于某种原因,我的一条线在放大时消失了,但一旦缩小后仍然可见。它仍然显示一次悬停在其上的点,包括属于它的数据。
I've been playing around with Highstocks for a while now and for some reason one of my lines has disappeared when zooming in, yet it is still visible once zoomed out. It still shows the dot once hovering over it including the data that belongs to it.
不用说我对于出错的事情一无所知,所以任何建议都会很棒。
Needless to say I'm pretty clueless about what went wrong, so any suggestions would be great.
放大:
缩小(很难看到,但红线在那里)
Zoomed out (hard to see but the red line is there)
PS。网站可以在这里找到 Skami
PS. Website can be found here Skami
推荐答案您的系列包含相同数据的两倍值,例如:
Your series contains doubled values for the same data, for example:
[1368450000000, null], [1368450000000, 117.200050354004], [1368451800000, null], [1368451800000, 117.599990844727], [1368453600000, null], [1368453600000, 117.710151672363]这是Highcharts不允许的。删除额外的点,并会正常工作。
Which is not allowed in Highcharts. Remove extra point and will be working fine.
更多推荐
Highstocks,线路缺失,但数据在那里
发布评论