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

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