src/utils/chart/chart-option.js
@@ -48,6 +48,8 @@ }, xAxis: { name: '时间', nameLocation: 'middle', nameGap: 30, data: _xAxis, axisLabel: { textStyle: { @@ -74,7 +76,16 @@ } }, yAxis: { name: '浓度(μg/m³)', name: '浓度(μg/m³)/温度(℃)/速度(m/s)', nameLocation: 'middle', nameGap: 30, // nameTruncate: { // maxWidth: 100, // ellipsis: '...' // }, // nameTextStyle: { // color: 'red' // }, axisLabel: { textStyle: { fontSize: fontSize