var option = { grid: { left: 200, right: 50, top: 50, bottom: 30, containLabel: true }, xAxis: { type: 'category', data: ['2012', '2013', '2014', '2015', '2016', '2017', '2018'], boundaryGap :false, axisLabel: { color: '#000', fontSize: 16 } }, yAxis: { name: '单位(万元)', nameTextStyle: { color: '#000', fontSize: 16, }, type: 'value', boundaryGap :false, axisLabel: { color: '#000', fontSize: 16 } }, series: [{ data: [2177, 1600, 2541, 2917, 3866, 2870, 2617], type: 'line', lineStyle: { color: "#03E0F2" }, label: { show: true, position: 'top', textStyle: { color: 'black', fontSize: 16 } }, itemStyle : { normal : { color : 'rgba(255,0,0,0.2)', lineStyle : { color : 'rgba(255,0,0,0.5)', width : 3 } } }, areaStyle: {} }] }