diff --git a/app/dashboard/page.jsx b/app/dashboard/page.jsx
index 8394595..adbfbb3 100644
--- a/app/dashboard/page.jsx
+++ b/app/dashboard/page.jsx
@@ -288,15 +288,14 @@ function Dashboard() {
-
- Applikationsversion: {appVersion}{" "}
-
+ Applikationsversion:{" "}
+ {appVersion}{" "}
- Webserverversion: 1.0.0
+ Webserverversion: 1.0.0
diff --git a/components/modules/Kue705FO.jsx b/components/modules/Kue705FO.jsx
index 8b5136f..2a09f28 100644
--- a/components/modules/Kue705FO.jsx
+++ b/components/modules/Kue705FO.jsx
@@ -80,6 +80,7 @@ function Kue705FO({
});
};
+ // Funktion zum Erstellen des Charts
// Funktion zum Erstellen des Charts
const createChart = (data) => {
const ctx = document.getElementById("myChart").getContext("2d");
@@ -96,21 +97,22 @@ function Kue705FO({
second: "2-digit",
}).format(date);
};
-
+ // Ausgabe der Chart-Daten in der Konsole mit Slot-Informationen
+ console.log(`Chart-Daten für Slot ${slotIndex + 1}:`, data);
new Chart(ctx, {
type: "line",
data: {
labels: data.map((row) => formatToGermanDate(row.t)).reverse(), // Zeitwerte ins deutsche Format umwandeln und umkehren
datasets: [
{
- label: "Isolationswiderstand",
+ label: "Isolationswiderstand (MOhm)", // Einheit hinzugefügt
data: data.map((row) => row.m).reverse(),
borderColor: "#00AEEF",
fill: false,
yAxisID: "y",
},
{
- label: "Schleifenwiderstand",
+ label: "Schleifenwiderstand (kOhm)", // Einheit hinzugefügt
data: data.map((row) => row.n).reverse(),
borderColor: "black",
fill: false,
@@ -123,15 +125,24 @@ function Kue705FO({
y: {
type: "linear",
position: "left",
+ title: {
+ display: true,
+ text: "MOhm", // Einheit für linke Achse hinzugefügt
+ },
},
y1: {
type: "linear",
position: "right",
+ title: {
+ display: true,
+ text: "kOhm", // Einheit für rechte Achse hinzugefügt
+ },
},
},
},
});
};
+
// Funktion zum Erstellen des TDR-Charts
const createTDRChart = (dataTDR) => {
const ctx = document.getElementById("myChart").getContext("2d");