Bug fixes for LineChart.