From b7b0829c5ba2134f3e91ad6bfd36bc3139a6e529 Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 10 Jul 2025 13:12:15 +0200 Subject: [PATCH] =?UTF-8?q?fix(system-charts):=20Y-Achse=20mit=20Einheiten?= =?UTF-8?q?=20erg=C3=A4nzt=20(V=20und=20=C2=B0C)=20f=C3=BCr=20bessere=20Le?= =?UTF-8?q?sbarkeit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ components/main/system/SystemCharts.tsx | 20 ++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 91bff80..4b53b53 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.571 +NEXT_PUBLIC_APP_VERSION=1.6.572 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index a2a7475..c7bb3ff 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.571 +NEXT_PUBLIC_APP_VERSION=1.6.572 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3020fa1..8ebd0b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.572] – 2025-07-10 + +- feat: Speicherintervall-Feld als Zahleneingabe mit Einheit 'Minuten' angepasst + +--- ## [1.6.571] – 2025-07-10 - fix: KÜ ISO Wert 200 in Display mit Einheit diff --git a/components/main/system/SystemCharts.tsx b/components/main/system/SystemCharts.tsx index 11ba69e..244ac88 100644 --- a/components/main/system/SystemCharts.tsx +++ b/components/main/system/SystemCharts.tsx @@ -99,6 +99,16 @@ export const SystemCharts = ({ history }: Props) => { }} options={{ ...baseOptions, + scales: { + ...baseOptions.scales, + y: { + ...baseOptions.scales.y, + title: { + display: true, + text: "Spannung (V)", // 👉 Einheit hinzugefügt + }, + }, + }, plugins: { ...baseOptions.plugins, title: { display: true, text: "Systemspannungen" }, @@ -132,6 +142,16 @@ export const SystemCharts = ({ history }: Props) => { }} options={{ ...baseOptions, + scales: { + ...baseOptions.scales, + y: { + ...baseOptions.scales.y, + title: { + display: true, + text: "Temperatur (°C)", // 👉 Einheit hinzugefügt + }, + }, + }, plugins: { ...baseOptions.plugins, title: { display: true, text: "Systemtemperaturen" }, diff --git a/package-lock.json b/package-lock.json index 2967076..42a97de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.571", + "version": "1.6.572", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.571", + "version": "1.6.572", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index e109eb0..b3c2a17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.571", + "version": "1.6.572", "private": true, "scripts": { "dev": "next dev",