[2.7] Lost responsive after destroy recreate
See original GitHub issueIf some options have changed, I destroy the chart then create a new one.
if (chart) chart.destroy()
chart = new Chart(...)
Since 2.7, the div which handle resize detection is removed but is not re-created. No problem with the iframe in 2.6
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
CSS is lost after destroy and dynamic columns question
1. the tables loads up fine on document .ready but when i destroy and recreate it again the css inside table is lost....
Read more >Chart.js flickering - javascript - Stack Overflow
I discovered it happend when recreating the chart on the same canvas. If you recreate your chart multiple times on the same canvas,...
Read more >How to make UICollectionViewCell s… - Apple Developer
Hi, How to keep Cells in UICollectionView live, still not destroyed on some distance ... If the problem is that items (cells) are...
Read more >Why couldn't the Valar recreate the two trees? - Quora
Sauron on the other hand only wanted to control and rule Middle Earth. The rings were a way to control men, elves and...
Read more >PySimpleGUI
You do not need to write the word class anywhere in your code. Access to nearly every underlying GUI Framework's Widgets. Supports both...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Similar issue here. 2.7 is no more responsive.
I already switched to chart.update() during the night so the issue is solved for me. Take your time to fix it 😉