|
@@ -118,9 +118,9 @@ export default {
|
|
|
} else if (minG <= 5) {
|
|
|
this.dataY1Min = String(minS) + "0";
|
|
|
}
|
|
|
- if (maxG > 5) {
|
|
|
+ if (maxG >= 5) {
|
|
|
this.dataY1Max = String(maxS + 1) + "0";
|
|
|
- } else if (maxG <= 5) {
|
|
|
+ } else if (maxG < 5) {
|
|
|
this.dataY1Max = String(maxS) + "5";
|
|
|
}
|
|
|
this.drawLeft();
|
|
@@ -136,7 +136,6 @@ export default {
|
|
|
val2 = "",
|
|
|
val3 = "";
|
|
|
data.forEach(i => {
|
|
|
- console.log(i);
|
|
|
if (i.seriesName == "室外温度") {
|
|
|
val1 = `<br/>室外温度:${i.value ? i.value.toFixed(1) : ""}`;
|
|
|
}
|