Thank you!

However, it is still deleting the charts. I have three different buttons to make three different histograms. If I click one button, I'd like it to only delete the old histogram from that button....