style: Messwertlinie im Chart hervorgehoben durch dickeren Rand und glatte Linienführung

This commit is contained in:
ISA
2025-05-07 15:14:58 +02:00
parent 1d1ae31c90
commit b5aaac3caf
3 changed files with 3017 additions and 21021 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -98,36 +98,10 @@ const LoopMeasurementChart = () => {
borderColor: "lightgrey", borderColor: "lightgrey",
backgroundColor: "rgba(211,211,211,0.5)", backgroundColor: "rgba(211,211,211,0.5)",
borderWidth: 2, borderWidth: 2,
// fill: false,
pointRadius: 0, pointRadius: 0,
pointHoverRadius: 10, pointHoverRadius: 10,
tension: 0.1, tension: 0.1,
order: 1, // ← hinten order: 1,
},
selectedMode === "DIA0"
? {
label: "Messwert",
data: loopMeasurementCurveChartData.map((e) => e.m).reverse(),
borderColor: getColor("littwin-blue"),
backgroundColor: "rgba(59,130,246,0.5)",
borderWidth: 2,
// fill: false,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 3, // ← vorne
}
: {
label: "Messwert Durchschnitt",
data: loopMeasurementCurveChartData.map((e) => e.g).reverse(),
borderColor: getColor("littwin-blue"),
backgroundColor: "rgba(59,130,246,0.5)",
borderWidth: 2,
// fill: false,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 3, // ← vorne
}, },
{ {
label: "Messwert Maximum", label: "Messwert Maximum",
@@ -135,11 +109,33 @@ const LoopMeasurementChart = () => {
borderColor: "lightgrey", borderColor: "lightgrey",
backgroundColor: "rgba(211,211,211,0.5)", backgroundColor: "rgba(211,211,211,0.5)",
borderWidth: 2, borderWidth: 2,
// fill: false,
pointRadius: 0, pointRadius: 0,
pointHoverRadius: 10, pointHoverRadius: 10,
tension: 0.1, tension: 0.1,
order: 1, // ← hinten order: 1,
},
selectedMode === "DIA0"
? {
label: "Messwert",
data: loopMeasurementCurveChartData.map((e) => e.m).reverse(),
borderColor: getColor("littwin-blue"),
backgroundColor: "rgba(59,130,246,0.5)",
borderWidth: 3,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 3,
}
: {
label: "Messwert Durchschnitt",
data: loopMeasurementCurveChartData.map((e) => e.g).reverse(),
borderColor: getColor("littwin-blue"),
backgroundColor: "rgba(59,130,246,0.5)",
borderWidth: 3,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 3,
}, },
], ],
}; };

View File

@@ -6,5 +6,5 @@
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen). 2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
*/ */
const webVersion = "1.6.391"; const webVersion = "1.6.392";
export default webVersion; export default webVersion;