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,
scales: {
x: {
type: "time",
time: {
unit: "minute",
tooltipFormat: "dd.MM.yyyy HH:mm",
},
type: "linear", // Lineare Skalierung für numerische Daten
title: {
display: true,
text: "Zeit",
text: "Entfernung (m)",
},
},
y: {
title: {
display: true,
text: "km",
text: "Pegel",
},
min: 0,
max: 3,
},
},
plugins: {