mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
error thrown
error thrown (TypeError: this.scale is undefined) if destroy is called before animation is complete, this update fix this error!
This commit is contained in:
parent
ac360b8dd1
commit
80ba5aa1c5
@ -275,6 +275,7 @@
|
||||
return helpers.findPreviousWhere(collection, hasValue, index) || point;
|
||||
};
|
||||
|
||||
if (!this.scale) return;
|
||||
this.scale.draw(easingDecimal);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user