Closed stockiNail closed 1 year ago
With CHART.JS 4, PR https://github.com/chartjs/Chart.js/pull/10549, the destroy plugin hook has been removed and replaced with afterDestroy. Currently, the version is not cleaning the states map.
destroy
afterDestroy
To maintain compatibility with version 3 afterDestroy must be only added and destroy should stay
I will submit a PR this evening hopefully
With CHART.JS 4, PR https://github.com/chartjs/Chart.js/pull/10549, the
destroy
plugin hook has been removed and replaced withafterDestroy
. Currently, the version is not cleaning the states map.