From b83d9459eb9b4e78fd768575dcf7b6dad1ded4eb Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 20 Jan 2026 11:21:13 +0100 Subject: [PATCH] no message --- PV_Forecast/module.html | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/PV_Forecast/module.html b/PV_Forecast/module.html index a7d9fd6..4ddd974 100644 --- a/PV_Forecast/module.html +++ b/PV_Forecast/module.html @@ -109,17 +109,6 @@ xAxis: { type: "datetime", - plotLines: [{ - color: "#ef4444", - width: 2, - value: nowMs, - dashStyle: "Dash", - label: { - text: "JETZT", - align: "right", - style: { color: "#ef4444", fontWeight: "700" } - } - }] }, yAxis: { @@ -174,17 +163,14 @@ credits: { enabled: false } }; - if (!chart) { + if (!chart) { chart = Highcharts.chart("chart", options); - } else { - chart.update({ - xAxis: { plotLines: options.xAxis.plotLines } - }, false); - + } else { chart.series[0].setData(forecast, false); chart.series[1].setData(actual, false); chart.redraw(); - } + } + } (async () => {