Wipe out the old chart before generating the new one