Fix line chart x axis issue