fix: Linien Littwin blau und anderen grau für die Chart Linien

This commit is contained in:
ISA
2025-07-21 10:46:54 +02:00
parent c73b7ec252
commit 7cd0c41ec5
6 changed files with 21 additions and 12 deletions

View File

@@ -200,7 +200,7 @@ export default function AnalogInputsChart() {
.filter((point) => typeof point.i === "number")
.map((point) => ({ x: new Date(point.t), y: point.i })),
fill: false,
borderColor: "#22c55e", // grün
borderColor: "gray", // grau
borderWidth: 1,
pointRadius: 0,
borderDash: [4, 2],
@@ -212,7 +212,7 @@ export default function AnalogInputsChart() {
.filter((point) => typeof point.a === "number")
.map((point) => ({ x: new Date(point.t), y: point.a })),
fill: false,
borderColor: "#ef4444", // rot
borderColor: "gray", // rot
borderWidth: 1,
pointRadius: 0,
borderDash: [4, 2],
@@ -226,7 +226,7 @@ export default function AnalogInputsChart() {
.filter((point) => typeof point.i === "number")
.map((point) => ({ x: new Date(point.t), y: point.i })),
fill: false,
borderColor: "#22c55e", // grün
borderColor: "gray", // grün
borderWidth: 1,
pointRadius: 0,
borderDash: [4, 2],
@@ -238,7 +238,7 @@ export default function AnalogInputsChart() {
.filter((point) => typeof point.a === "number")
.map((point) => ({ x: new Date(point.t), y: point.a })),
fill: false,
borderColor: "#ef4444", // rot
borderColor: "gray", // rot
borderWidth: 1,
pointRadius: 0,
borderDash: [4, 2],
@@ -250,10 +250,10 @@ export default function AnalogInputsChart() {
.filter((point) => typeof point.g === "number")
.map((point) => ({ x: new Date(point.t), y: point.g })),
fill: false,
borderColor: "#6366f1", // indigo
borderWidth: 1,
borderColor: getColor("littwin-blue"),
backgroundColor: "rgba(59,130,246,0.3)",
borderWidth: 2,
pointRadius: 0,
borderDash: [2, 2],
tension: 0.1,
},
]