diff --git a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml index c9467d3..53a58a5 100644 --- a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml +++ b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml @@ -263,6 +263,7 @@ yAxisID: 'A', backgroundColor: color.primary._300, borderColor: color.primary._500, + order: 2, data: chartToday.powerDatas }, { type: 'line', @@ -276,7 +277,8 @@ pointRadius: 4, pointHoverRadius: 5, fill: false, - data: chartToday.irradianceDatas, + order: 1, + data: chartToday.irradianceDatas, }] }, options: { diff --git a/SolarPower/appsettings.json b/SolarPower/appsettings.json index 9f5d728..30126f1 100644 --- a/SolarPower/appsettings.json +++ b/SolarPower/appsettings.json @@ -22,6 +22,10 @@ "Root": "Aph7AzoiwAmmBHCfS1rqeQ==", "Password": "8WMHBEWuT0XoAB4kzduQHA==" }, + "BackgroundServiceCron": { + "CalcPowerStationJob": "0 5 * * * ?", + "CalcAvgPowerStationJob": "0 0 2 * * ?" + }, "SMTPConfig": { "Host": "smtp.gmail.com", "Port": 25,