TDR Chart wie erwartet wird dargestellt

This commit is contained in:
Ismail Ali
2025-02-22 11:49:31 +01:00
parent 9b93771047
commit b408bcd95b

View File

@@ -45,23 +45,17 @@ const TDRChart: React.FC = () => {
maintainAspectRatio: false, maintainAspectRatio: false,
scales: { scales: {
x: { x: {
type: "time", type: "linear", // Lineare Skalierung für numerische Daten
time: {
unit: "minute",
tooltipFormat: "dd.MM.yyyy HH:mm",
},
title: { title: {
display: true, display: true,
text: "Zeit", text: "Entfernung (m)",
}, },
}, },
y: { y: {
title: { title: {
display: true, display: true,
text: "km", text: "Pegel",
}, },
min: 0,
max: 3,
}, },
}, },
plugins: { plugins: {