Highstock performance issue

蹲街弑〆低调 提交于 2019-12-13 03:59:33

问题


When use Highstock we meet a performance issue when we use the line with compare. We need to add 15 line series and each series have 800 points. And it will cause the "Stop running this scripts" issue in IE 8 or lower.

And this happens not only when we add data to the chart, when we change the size of the chart this also happened.

Does anyone have experience on this issue ?

In IE 9 or other browser it works well but the performance is a bad.


回答1:


Have you tried modify turbothreshold parameter? http://api.highcharts.com/highcharts#plotOptions.series.turboThreshold

Take look at http://www.highcharts.com/component/content/article/2-news/48-loading-millions-of-points-in-highcharts

Morever you can try to disable animations / markers / shadows to improve performance.



来源:https://stackoverflow.com/questions/15149145/highstock-performance-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!