fix: X-Achse im LoopMeasurementChart auf 'minute' gesetzt zur Stabilisierung der Zeitdarstellung

- Verhindert Überlastung des Charts bei zu vielen Datenpunkten
- Tooltip-Format auf 'dd.MM.yyyy HH:mm:ss' gesetzt
- DisplayFormats für Minuten, Stunden und Tage angepasst
- X-Achsen-Titel auf „Zeit“ gesetzt
This commit is contained in:
ISA
2025-05-05 15:39:47 +02:00
parent f85118715e
commit c099231008
2 changed files with 9 additions and 4 deletions

View File

@@ -159,13 +159,18 @@ const LoopMeasurementChart = () => {
x: { x: {
type: "time" as const, type: "time" as const,
time: { time: {
unit: "day" as const, unit: "minute",
tooltipFormat: "dd.MM.yyyy HH:mm", tooltipFormat: "dd.MM.yyyy HH:mm:ss",
displayFormats: { day: "dd.MM" }, displayFormats: {
minute: "HH:mm",
hour: "HH:mm",
day: "dd.MM.",
},
locale: de, locale: de,
}, },
title: { display: true, text: "Zeit" }, title: { display: true, text: "Zeit" },
}, },
y: { y: {
title: { display: true, text: unit }, title: { display: true, text: unit },
ticks: { precision: 0 }, ticks: { precision: 0 },

View File

@@ -6,5 +6,5 @@
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen). 2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
*/ */
const webVersion = "1.6.364"; const webVersion = "1.6.365";
export default webVersion; export default webVersion;