You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the correct behaviour, the annimations on the offscreen canvas are disabled by default with this pr: #9751.
Reason for it is that animations break chart.js in web workers because web workers dont have acess to the window object, replacing this in the code with self made other things break so thats why animations are disabled
You could have had updated the documentation at least. I wasted my time to get ChartJS to work inside a web worker only to find out that animations won't work.
Expected behavior
Animations work when using workers
Current behavior
Animations do not work
Reproducible sample
NA
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
V3.7.1
Browser name and version
No response
Link to your project
No response
The text was updated successfully, but these errors were encountered: