I have this component. Everything is fine when creating a chart. However, if I choose another variable from which a new chart is generated, the old one is not removed - one