Effective Training Data Synthesis for Improving MLLM Chart Understanding