ChartEditor: A Reinforcement Learning Framework for Robust Chart Editing