Chartjs-Canvas Emptied but Reappears

1👍

You should use the chart.js functions for updating and clearing charts rather than the ones for the html canvas.
The docs are quite straightforward. https://www.chartjs.org/docs/latest/developers/updates.html

Leave a comment