-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix: reduce chart re-draws for update() #584
Conversation
} | ||
} | ||
|
||
__updateOrAddSeriesInstance(seriesOptions, position) { | ||
__updateOrAddSeriesInstance(seriesOptions, position, redraw) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is another call to this method on line 1019 that needs to be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a bit beyond the scope of the current fix so I would rather not change the __addSeries
method in this PR, but do it in a separate PR when backporting vaadin/web-components#2348. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #585.
Description
This PR backports the fix introduced in vaadin/web-components#2508 to reduce the number of chart re-draws for the
update()
method.Type of change
Checklist