format line chart