From 1d1502b217171e5ef988b9d73d9fc3cb788c140e Mon Sep 17 00:00:00 2001 From: Eskimue Date: Wed, 8 Apr 2026 14:05:10 +0200 Subject: [PATCH] Diagram verbessert --- scripts/telegram/lib/tcrb_helpers.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/telegram/lib/tcrb_helpers.php b/scripts/telegram/lib/tcrb_helpers.php index a2fb7b8..06f7758 100644 --- a/scripts/telegram/lib/tcrb_helpers.php +++ b/scripts/telegram/lib/tcrb_helpers.php @@ -164,8 +164,8 @@ function buildTcrbVChartSvg(array $observations, array $latestObservation): stri $filterColors = loadFilterColors(); $vColor = (string) ($filterColors['V'] ?? '#92FF00'); $vStrokeColor = darkenHexColor($vColor, 0.35); - $vHighlightColor = lightenHexColor($vColor, 0.35); - $vHighlightStrokeColor = lightenHexColor($vColor, 0.6); + $vHighlightColor = '#FF5A5F'; + $vHighlightStrokeColor = '#FFD6D6'; $width = 1200; $height = 700; @@ -278,10 +278,10 @@ function buildTcrbVChartSvg(array $observations, array $latestObservation): stri '', $x, $y, - $isLatest ? 7.0 : 4.2, + $isLatest ? 5.8 : 3.0, $isLatest ? $vHighlightColor : $vColor, $isLatest ? $vHighlightStrokeColor : $vHighlightColor, - $isLatest ? 2.6 : 1.4 + $isLatest ? 2.2 : 1.0 ); }