fix(system-charts): Y-Achse mit Einheiten ergänzt (V und °C) für bessere Lesbarkeit

This commit is contained in:
ISA
2025-07-10 13:12:15 +02:00
parent 0410e8c52d
commit b7b0829c5b
6 changed files with 30 additions and 5 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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" },

4
package-lock.json generated
View File

@@ -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",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.571",
"version": "1.6.572",
"private": true,
"scripts": {
"dev": "next dev",