From 3b3cfe8a49da325c93703ac5bb35b2d82e291fad Mon Sep 17 00:00:00 2001 From: yarnom Date: Wed, 27 Aug 2025 18:12:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/weather-chart.js | 6 +++--- templates/index.html | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/static/js/weather-chart.js b/static/js/weather-chart.js index 3c2d07c..7392506 100644 --- a/static/js/weather-chart.js +++ b/static/js/weather-chart.js @@ -84,7 +84,7 @@ const WeatherChart = { yAxisID: 'y-rainfall' }, { - label: '累计雨量 (mm) - 实测(10m total)', + label: '累计雨量 (mm) - 实测', data: historyRainTotals, borderColor: 'rgb(75, 192, 192)', backgroundColor: 'rgba(75, 192, 192, 0.1)', @@ -108,7 +108,7 @@ const WeatherChart = { yAxisID: 'y-temperature', tension: 0.4, spanGaps: false, - hidden: true + hidden: false }, { label: '湿度 (%) - 预报', @@ -119,7 +119,7 @@ const WeatherChart = { yAxisID: 'y-humidity', tension: 0.4, spanGaps: false, - hidden: false + hidden: true }, { label: '雨量 (mm) - 预报', diff --git a/templates/index.html b/templates/index.html index 23397ce..f02227b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -486,10 +486,11 @@