option = { backgroundColor: '#000', tooltip: { trigger: 'axis', axisPointer: { type: 'cross', label: { backgroundColor: '#6a7985' } } }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, textStyle: { color: '#ffffff' }, xAxis: [ { type: 'category', boundaryGap: false, axisTick: { inside: true, lineStyle: { color: '#ffffff', } }, axisLine: { lineStyle: { color: '#ffffff', } }, data: ['0', '15分钟', '30分钟', '45分钟', '60分钟', '75分钟', '90分钟', '105分钟', '120分钟'] } ], yAxis: [ { type: 'value', splitLine: { lineStyle: { color: ['rgba(255, 255, 255, 0.5'], } }, axisLabel: { inside: true, verticalAlign: 'bottom', formatter: function(value){ return value + 'mm' } }, } ], lineStyle: { color: 'rgba(255, 255, 255, 0.2)' }, series: [ { name: 'Email', type: 'line', smooth: true, areaStyle: { color: 'rgba(255, 255, 255, 0.2)', }, symbol: 'none', data: [120, 132, 101, 134, 90, 230, 210, 155, 201] } ] };