我正在使用 Highsoft HighStock显示趋势数据图。该图在首次加载数据时效果很好,但一旦进行更改 - 使用 Series
object's setData()
或 addPoint()
函数 - 始终存在类似 oldData[i].destroy is not a function
的错误。我什至收到错误 when playing with their JSFiddle example .
最佳答案
After reading a bit on the Highsoft support forums ,我发现 Highcharts 上有几个不同版本的 HighStock;我下载了a newer version of Highstock from github而不是他们网站上的版本,我所有的问题都解决了。
关于javascript - 高库存 - "destroy is not a function"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7651472/