clear old chart when new chart comes