I try to set animation dynamically in Chart.js. It should be either enabled or disabled based on some condition.
But it is always disabled for some reason.
Check o