Messung gültig von Chart.js entfernen
This commit is contained in:
@@ -82,13 +82,6 @@ function Kue705FO({
|
|||||||
fill: false,
|
fill: false,
|
||||||
yAxisID: "y1",
|
yAxisID: "y1",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: "Messung gültig",
|
|
||||||
data: data.map((row) => row.v),
|
|
||||||
borderColor: "gray",
|
|
||||||
fill: false,
|
|
||||||
yAxisID: "y1",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
@@ -342,21 +335,21 @@ function Kue705FO({
|
|||||||
bottom: "auto",
|
bottom: "auto",
|
||||||
marginRight: "-50%",
|
marginRight: "-50%",
|
||||||
transform: "translate(-50%, -50%)",
|
transform: "translate(-50%, -50%)",
|
||||||
width: "90%",
|
width: "95%",
|
||||||
maxWidth: "800px",
|
maxWidth: "1000px",
|
||||||
height: "600px",
|
height: "630px",
|
||||||
padding: "20px",
|
padding: "10px",
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<h2>Messkurve Slot {slotIndex + 1}</h2>
|
<h2>Messkurve Slot {slotIndex + 1}</h2>
|
||||||
<canvas
|
<canvas
|
||||||
id="myChart"
|
id="myChart"
|
||||||
style={{ width: "100%", height: "400px" }}
|
style={{ width: "100%", height: "500px" }}
|
||||||
></canvas>
|
></canvas>
|
||||||
<button
|
<button
|
||||||
onClick={handleCloseChartModal}
|
onClick={handleCloseChartModal}
|
||||||
className="bg-red-500 text-white p-2 mt-4"
|
className="bg-littwin-blue text-white p-2 mt-4"
|
||||||
>
|
>
|
||||||
Schließen
|
Schließen
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user