Jelajahi Sumber

冰箱点位温湿度趋势图Y轴内容自适应刻度

like 5 bulan lalu
induk
melakukan
43a900de9a

+ 3 - 0
snowy-admin-web/src/views/biz/monitor/trendchart/index.vue

@@ -302,6 +302,7 @@
 			},
 			yAxis: {
 				type: 'value',
+				scale: true,
 				minInterval: 1,
 				axisLabel: {
 					formatter: '{value} °C'
@@ -481,6 +482,7 @@
 			},
 			yAxis: {
 				type: 'value',
+				scale: true,
 				minInterval: 1,
 				axisLabel: {
 					formatter: '{value} %'
@@ -661,6 +663,7 @@
 			},
 			yAxis: {
 				type: 'value',
+				scale: true,
 				minInterval: 1,
 				axisLabel: {
 					formatter: '{value} %'