diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx index 68e28b7..c3fae95 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopChartActionBar.tsx @@ -130,7 +130,7 @@ const LoopChartActionBar: React.FC = () => { {/* Slot Nummer links positioniert */}
diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx index bd7de2f..ccc07ad 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx @@ -16,6 +16,7 @@ import { } from "chart.js"; import zoomPlugin from "chartjs-plugin-zoom"; import "chartjs-adapter-date-fns"; +import { de } from "date-fns/locale"; ChartJS.register( LineElement, @@ -54,14 +55,7 @@ const LoopMeasurementChart = () => { fill: false, pointRadius: 0, }, - { - label: "Messwert Maximum", - data: loopMeasurementCurveChartData.map((e) => e.a).reverse(), - borderColor: "lightgrey", - borderWidth: 1, - fill: false, - pointRadius: 0, - }, + selectedMode === "DIA0" ? { label: "Messwert", @@ -79,6 +73,14 @@ const LoopMeasurementChart = () => { fill: false, pointRadius: 2, }, + { + label: "Messwert Maximum", + data: loopMeasurementCurveChartData.map((e) => e.a).reverse(), + borderColor: "lightgrey", + borderWidth: 1, + fill: false, + pointRadius: 0, + }, ], }; @@ -115,11 +117,16 @@ const LoopMeasurementChart = () => { time: { unit: "day", tooltipFormat: "dd.MM.yyyy HH:mm", + displayFormats: { + day: "dd.MM", // z. B. 02.04 + }, }, title: { display: true, text: "Zeit", }, + // Hier Deutsch setzen: + locale: de, }, y: { title: { diff --git a/config/webVersion.ts b/config/webVersion.ts index 733e9ef..86eec57 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.197"; +const webVersion = "1.6.198"; export default webVersion;