feat: DetailModal um Min/Max/Durchschnitt ergänzt
- Chart zeigt jetzt zusätzlich zu Messwert auch Minimal-, Maximal- und Durchschnittswerte an - Datenstruktur an Redux angepasst (i, a, g) - Darstellung entspricht jetzt LoopMeasurementChart
This commit is contained in:
@@ -6,6 +6,12 @@ import { useSelector, useDispatch } from "react-redux";
|
||||
import { RootState } from "@/redux/store";
|
||||
import { Listbox } from "@headlessui/react";
|
||||
import { setFullScreen } from "@/redux/slices/kabelueberwachungChartSlice";
|
||||
type ReduxDataEntry = {
|
||||
t: string;
|
||||
i: number;
|
||||
a?: number; // Maximalwert
|
||||
g?: number; // Durchschnittswert
|
||||
};
|
||||
|
||||
import {
|
||||
Chart as ChartJS,
|
||||
@@ -133,8 +139,6 @@ type Props = {
|
||||
setZeitraum: (typ: "DIA0" | "DIA1" | "DIA2") => void;
|
||||
};
|
||||
|
||||
type ReduxDataEntry = { t: string; i: number };
|
||||
|
||||
export const DetailModal = ({
|
||||
isOpen,
|
||||
selectedKey,
|
||||
|
||||
Reference in New Issue
Block a user