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