| | |
| | | animationDelayUpdate: function (idx) { |
| | | return idx * 5; |
| | | }, |
| | | // toolbox: { |
| | | // bottom: 0, |
| | | // feature: { |
| | | // dataZoom: {}, |
| | | // magicType: { |
| | | // type: ['line', 'bar'] |
| | | // }, |
| | | // restore: {} |
| | | // } |
| | | // }, |
| | | toolbox: { |
| | | // bottom: 0, |
| | | feature: { |
| | | // dataZoom: {}, |
| | | // magicType: { |
| | | // type: ['line', 'bar'] |
| | | // }, |
| | | // restore: { |
| | | // title: '刷新' |
| | | // }, |
| | | saveAsImage: { |
| | | show: true, |
| | | backgroundColor: '#122b54a9', |
| | | name: '走航监测图', |
| | | title: '保存为图片', |
| | | iconStyle: { |
| | | borderColor: '#fff' |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | tooltip: { |
| | | textStyle: { |
| | | fontSize: fontSize |
| | |
| | | }, |
| | | xAxis: { |
| | | name: '时间', |
| | | nameLocation: 'middle', |
| | | nameGap: 30, |
| | | data: _xAxis, |
| | | axisLabel: { |
| | | textStyle: { |
| | |
| | | } |
| | | }, |
| | | yAxis: { |
| | | name: '浓度(μg/m³)', |
| | | name: '浓度(μg/m³)/温度(℃)/速度(m/s)', |
| | | nameLocation: 'middle', |
| | | nameGap: 30, |
| | | // nameTruncate: { |
| | | // maxWidth: 100, |
| | | // ellipsis: '...' |
| | | // }, |
| | | // nameTextStyle: { |
| | | // color: 'red' |
| | | // }, |
| | | axisLabel: { |
| | | textStyle: { |
| | | fontSize: fontSize |
| | |
| | | } |
| | | }, |
| | | grid: { |
| | | left: '11%', |
| | | left: '12%', |
| | | right: '2%', |
| | | top: '7%', |
| | | bottom: '20%' |