Saturday, May 3, 2014

Highcharts: A script on this page may be busy, or it may have stopped responding

Error

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: http://code.highcharts.com/highcharts.js:22



Solution

The main cause is that the charts are taking long time to be rendered, maybe because of server-side code, also old highcharts versions may contains bugs and does not handle performance as well as the new ones, so you need to:

1- Update to the latest highcharts code
http://www.highcharts.com/download/
2- Try to optimize your code

Also you may try to do some testing using highcharts performance test playground

http://www.highcharts.com/studies/performance.php?seriesType=line&markers=on&chartCount=128&seriesPerChart=16&pointsPerSeries=16&chartWidth=250&libSource=http%3A%2F%2Fcode.highcharts.com%2Fhighcharts.js


No comments:

Post a Comment