modify line.chart type wrong