TDR Chart wie erwartet wird dargestellt
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user