Comments (7)
You right, that's a bug, we need to stop monitoring a chart that has been destroyed. I think it can be fixed by unwatching in the destroy extension (line 203):
Chart.plugins.register({
// ...
beforeDatasetsUpdate: function(chart, options) {
//...
},
destroy: function(chart) {
unwatch(chart);
}
});
from chartjs-plugin-deferred.
That sounds really promising. Is this something you could release along with import
support?
from chartjs-plugin-deferred.
Sure, did you get a chance to test this fix?
from chartjs-plugin-deferred.
It does indeed work :) Nice job. Any ETA on a new version?
from chartjs-plugin-deferred.
Fixed in 8b4dacf. @powerbuoy if you can confirm that this is fixed in master
, I can trigger a new 0.3 release very soon (version 1.0 will contain breaking changes and should be released after Chart.js 2.6 is out).
from chartjs-plugin-deferred.
Works perfectly :)
from chartjs-plugin-deferred.
Released in v0.3.0
from chartjs-plugin-deferred.
Related Issues (20)
- Doesn't work with fullPage.js HOT 8
- Error with global plugins HOT 3
- Having trouble getting plugin working inside of Vue.js HOT 2
- Deferred update causes an uncaught error if `canvas` is destroyed HOT 6
- Will this be updated to be compatible with ChartJS 3.0? HOT 7
- TypeError: Cannot set property 'font' of null HOT 2
- Question about performance HOT 1
- Uncaught TypeError: Cannot read property 'plugins' of undefined HOT 3
- Unable to es6 import plugin HOT 28
- Add support for an inView callbaack HOT 1
- Uncaught TypeError: e.defaults.global is undefined HOT 2
- Additional Index to Draw Count
- ERR_PACKAGE_PATH_NOT_EXPORTED Server error HOT 2
- $exports is not defined HOT 3
- Error with global options HOT 3
- Uncaught TypeError: Cannot read property 'ticking' HOT 6
- Impossible to configure the plugin HOT 6
- Unable to get property 'ticking' of undefined or null reference HOT 5
- Deferred animation not working in React HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chartjs-plugin-deferred.