瀏覽代碼

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

like 5 月之前
父節點
當前提交
43a900de9a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      snowy-admin-web/src/views/biz/monitor/trendchart/index.vue

+ 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} %'