From da28d64f8cdcc90a2e1c25a1cc10e0949845c642 Mon Sep 17 00:00:00 2001 From: Ismail Ali Date: Sat, 15 Mar 2025 11:42:17 +0100 Subject: [PATCH] =?UTF-8?q?feat(chart):=20X-Achsen-Labels=20optimiert=20f?= =?UTF-8?q?=C3=BCr=20bessere=20Lesbarkeit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Jahreszahl aus der X-Achse entfernt, um die Darstellung kompakter zu machen. - Datumsformat von `TT.MM.YYYY` auf `TT.MM` geändert. - Achsenbeschriftung um 25° gedreht (`angle: -25`) für bessere Übersicht. - `dy: 5` hinzugefügt, um die Abstände der Labels anzupassen. --- .../Charts/LoopMeasurementChart/LoopChartActionBar.tsx | 8 +++++--- .../Charts/LoopMeasurementChart/LoopMeasurementChart.tsx | 7 ++++++- config/webVersion.ts | 2 +- .../kuesChartData/slot1/isolationswiderstand/DIA0.json | 2 +- .../kuesChartData/slot1/isolationswiderstand/DIA1.json | 2 +- .../kuesChartData/slot1/isolationswiderstand/DIA2.json | 2 +- .../kuesChartData/slot1/schleifenwiderstand/DIA0.json | 2 +- .../kuesChartData/slot1/schleifenwiderstand/DIA1.json | 2 +- .../kuesChartData/slot1/schleifenwiderstand/DIA2.json | 2 +- redux/slices/brushSlice.ts | 5 ++++- 10 files changed, 22 insertions(+), 12 deletions(-) diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx index ef068f8..1402d9f 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx @@ -11,6 +11,7 @@ import { setSelectedSlotType, setChartOpen, } from "../../../../../../redux/slices/kabelueberwachungChartSlice"; +import { setBrushRange } from "../../../../../../redux/slices/brushSlice"; const LoopChartActionBar: React.FC = () => { const dispatch = useDispatch(); @@ -157,11 +158,12 @@ const LoopChartActionBar: React.FC = () => {