Hi,
I have upgrade from 2.4.2 to 2.5.1 and Chart.js 3.5.0. My Pie Charts who work fine before give now an error "canvas must be destroyed before reused". I've try to use destroy function directly without success as Chart.js recommend, but There is no Chart object in my code only reactive data in Chart tag.
By adding this.chart = null; beetwen the this.chart.destroy() and the this.initChart() in the reinit function of Chart.vue of your lib, this seems to solve the issue.
Thanks
Regards
lib upgrade (2.4.2 -> 2.5.1) seems to break canvas reusing
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests