option = { grid: { left: '3%', right: '4%', bottom: '3%', top: '5', containLabel: true }, dataZoom: [{ type: 'inside', startValue: 0, endValue: 8 }], tooltip: { trigger: 'axis' }, xAxis: [{ type: 'category', boundaryGap: false, data: [1, 2, 3, 4, 5, 6, 7, 8], axisTick: { show: false } }], yAxis: [{ type: 'value', scale: true, splitNumber: 3, axisLine: { show: false }, axisTick: { show: false }, axisLabel: { formatter: function(value) { return value + '%'; } } }], series: [{ name: '11111', type: 'line', smooth: true, itemStyle: { normal: { areaStyle: { type: 'default' } } }, data: [120, 130, '-', '-', '-', '-', '-', '-'] }] };