This commit is contained in:
lb
2024-01-04 10:58:20 +08:00
parent 0b1d3aa4b3
commit ac772e2caf
15 changed files with 241 additions and 111 deletions

View File

@@ -93,7 +93,7 @@ function getOptions(period, trend) {
];
return {
color: colors,
grid: { top: 38, right: 12, bottom: 20, left: 80 },
grid: { top: 40, right: 12, bottom: 20, left: 80 },
legend: {
show: false,
icon: "roundRect",
@@ -139,7 +139,7 @@ function getOptions(period, trend) {
},
},
yAxis: {
name: "单位m³/h",
name: "单位/Nm³",
nameTextStyle: {
color: "#fff",
fontSize: 16,
@@ -164,7 +164,7 @@ function getOptions(period, trend) {
},
},
series: {
data: trend[period],
data: trend[period].map(item => item.toFixed(2)),
type: "line",
symbol: "circle",
symbolSize: 6,