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 @@