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,11 +98,21 @@ const LoopMeasurementChart = () => {
borderColor: "lightgrey",
backgroundColor: "rgba(211,211,211,0.5)",
borderWidth: 2,
// fill: false,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 1, // ← hinten
order: 1,
},
{
label: "Messwert Maximum",
data: loopMeasurementCurveChartData.map((e) => e.a).reverse(),
borderColor: "lightgrey",
backgroundColor: "rgba(211,211,211,0.5)",
borderWidth: 2,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 1,
},
selectedMode === "DIA0"
? {
@@ -110,37 +120,23 @@ const LoopMeasurementChart = () => {
data: loopMeasurementCurveChartData.map((e) => e.m).reverse(),
borderColor: getColor("littwin-blue"),
backgroundColor: "rgba(59,130,246,0.5)",
borderWidth: 2,
// fill: false,
borderWidth: 3,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 3, // ← vorne
order: 3,
}
: {
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,
borderWidth: 3,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 3, // ← vorne
order: 3,
},
{
label: "Messwert Maximum",
data: loopMeasurementCurveChartData.map((e) => e.a).reverse(),
borderColor: "lightgrey",
backgroundColor: "rgba(211,211,211,0.5)",
borderWidth: 2,
// fill: false,
pointRadius: 0,
pointHoverRadius: 10,
tension: 0.1,
order: 1, // ← hinten
},
],
};

View File

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