remove old chart before loading new one.