I am using the Chart.js library to draw a bar graph, it is working fine, but now I want to destroy the bar graph and make
Maybe there was a better way, but no answers were suited to me.
document.querySelector("#chartReport").innerHTML = '';
my HTML part is