New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetVisible on Pie Charts are very slow on chart with large legend in IE11 #4069

Closed
dejongch opened this Issue Apr 7, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@dejongch

dejongch commented Apr 7, 2015

Looking into it it looks like between 4.1.1 and 4.1.2 something changed and made changes to the legend of large pie graphs incredibly slow. So something like hiding an item from the legend or updating the series to set the hideHiddenPoint option takes upwards of 20 seconds in IE11

@TorsteinHonsi

This comment has been minimized.

Collaborator

TorsteinHonsi commented Apr 8, 2015

It seems to come from this commit: 5bd795a

@dejongch

This comment has been minimized.

dejongch commented Apr 14, 2015

I am still having a few issues with the Pie chart in version 4.1.2 and higher

Specifically I have a button that when pressed with either enable or disable all the pie slices depending on if all the slices are currently selected.

This jsfiddle (http://jsfiddle.net/hs9z6o2v/) has something similar to what I am doing and with it the legend items and the datalabels do not update properly. This works fine in 4.1.1.

On my application I also get more serious issues where in IE 11 the enable all button seems to completely freeze the system and it never comes back. In Chrome it freezes for awhile but does come back however the pie only has some slices drawn and the redraw function does not seem to see the changes done to the visible bools. I can't however get this to reproduce in a jsfiddle.

TorsteinHonsi added a commit that referenced this issue May 11, 2015

TorsteinHonsi added a commit that referenced this issue May 11, 2015

Fixed #4069, slow updating of multiple pie slices.
Created new implementation of pie percentage in legends, and did some refactoring on pie show/hide/update functionality. Added redraw parameter to pie point setVisible, to allow multiple items to be set without redrawing the chart over and over.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment