From 0d0a9ba57b062712bf9dcc731347f12d8d105e06 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 7 May 2025 11:33:59 +0200 Subject: [PATCH] =?UTF-8?q?style:=20einheitliche=20Farben=20mit=20transpar?= =?UTF-8?q?enter=20F=C3=BCllung=20f=C3=BCr=20Legende=20Symbol=20f=C3=BCr?= =?UTF-8?q?=20alle=20Messkurven=20Isolation,=20Schleifen,=20TDR=20und=20Me?= =?UTF-8?q?ldungseing=C3=A4nge/Analoge=20Eing=C3=A4nge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/main/analogeEingaenge/AnalogInputsChart.tsx | 1 + .../Charts/LoopMeasurementChart/LoopMeasurementChart.tsx | 4 ++++ .../kue705FO/Charts/TDRChart/TDRChart.tsx | 7 +++++-- config/webVersion.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/components/main/analogeEingaenge/AnalogInputsChart.tsx b/components/main/analogeEingaenge/AnalogInputsChart.tsx index 476369a..1857dde 100644 --- a/components/main/analogeEingaenge/AnalogInputsChart.tsx +++ b/components/main/analogeEingaenge/AnalogInputsChart.tsx @@ -71,6 +71,7 @@ export default function AnalogInputsChart({ })), fill: false, borderColor: getColor("littwin-blue"), + backgroundColor: "rgba(59,130,246,0.5)", borderWidth: 2, // fill: false, pointRadius: 0, diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx index 502016c..c1c1c67 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx @@ -96,6 +96,7 @@ const LoopMeasurementChart = () => { label: "Messwert Minimum", data: loopMeasurementCurveChartData.map((e) => e.i).reverse(), borderColor: "lightgrey", + backgroundColor: "rgba(211,211,211,0.5)", borderWidth: 2, // fill: false, pointRadius: 0, @@ -107,6 +108,7 @@ const LoopMeasurementChart = () => { label: "Messwert", data: loopMeasurementCurveChartData.map((e) => e.m).reverse(), borderColor: getColor("littwin-blue"), + backgroundColor: "rgba(59,130,246,0.5)", borderWidth: 2, // fill: false, pointRadius: 0, @@ -117,6 +119,7 @@ const LoopMeasurementChart = () => { label: "Messwert Durchschnitt", data: loopMeasurementCurveChartData.map((e) => e.g).reverse(), borderColor: getColor("littwin-blue"), + backgroundColor: "rgba(59,130,246,0.5)", borderWidth: 2, // fill: false, pointRadius: 0, @@ -127,6 +130,7 @@ const LoopMeasurementChart = () => { label: "Messwert Maximum", data: loopMeasurementCurveChartData.map((e) => e.a).reverse(), borderColor: "lightgrey", + backgroundColor: "rgba(211,211,211,0.5)", borderWidth: 2, // fill: false, pointRadius: 0, diff --git a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx index d4e9c08..229382b 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/TDRChart/TDRChart.tsx @@ -89,6 +89,7 @@ const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => { label: `TDR Kurve`, data: tdrChartData, borderColor: getColor("littwin-blue"), + backgroundColor: "rgba(59,130,246,0.5)", borderWidth: 1, tension: 0.1, pointRadius: 0, @@ -101,7 +102,8 @@ const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => { { label: "Referenzkurve", data: referenceChartData, - borderColor: "black", + borderColor: "rgba(51,51,51,1)", // Dunkelgrau (nicht tiefschwarz) + backgroundColor: "rgba(51,51,51,0.3)", // Leicht transparent borderWidth: 1, // borderDash: [5, 5], pointRadius: 0, @@ -120,7 +122,8 @@ const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => { ? [{ d: pinDistance, p: 0 }] : [], borderColor: "red", - backgroundColor: "red", + borderWidth: 1, + backgroundColor: "rgba(220,38,38,0.5)", pointRadius: 10, pointStyle: "triangle", // Hier den korrekten Stil setzen showLine: false, diff --git a/config/webVersion.ts b/config/webVersion.ts index 0c25823..b2061fc 100644 --- a/config/webVersion.ts +++ b/config/webVersion.ts @@ -6,5 +6,5 @@ 2: Patch oder Hotfix (Bugfixes oder kleine Änderungen). */ -const webVersion = "1.6.385"; +const webVersion = "1.6.386"; export default webVersion;