Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Extremely slow performance on big LineChart in IE #7725
The chart renders in about 3-5 seconds in all browsers, except IE.
IE uses about a minute to render.
Live demo with steps to reproduce
Thank you for reporting the issue. Did you consider using
How to change
A note on best practices.
Here's a reproduction of the chart above. It renders in 3200 ms in Chrome:
With Pawel's best practice above, it renders in 460 ms in Chrome, plus the X axis labels are more sensible: http://jsfiddle.net/highcharts/3wnLk0g7/1/
If we add the Boost module too, we're down to 260 ms, or 1.5 sec on my Virtual Machine's IE: http://jsfiddle.net/highcharts/3wnLk0g7/2/
If for some reason you want to keep the categories, it is much faster to define the categories directly on the X axis: http://jsfiddle.net/highcharts/3wnLk0g7/3/
And a final note, if you just keep your current setup and set
See the fix in action: http://jsfiddle.net/highcharts/3wnLk0g7/5/
In IE, my test chart now renders in 1.9 seconds, compared to 20 seconds before the fix. In Chrome it is also significantly faster than before.
The best practices listed above still stand though.