feat: in System 5 Volt DIA0, DIA1 und DIA2 in dropdown anzeigen
This commit is contained in:
@@ -35,8 +35,8 @@ export type HistoryEntry = {
|
||||
|
||||
type Props = {
|
||||
history: HistoryEntry[];
|
||||
zeitraum: "DIA0" | "DIA1" | "DIA2";
|
||||
};
|
||||
|
||||
export const SystemCharts = ({ history }: Props) => {
|
||||
const labels = history.map((h) => new Date(h.time).toLocaleTimeString());
|
||||
const formatValue = (v: number) => v.toFixed(2);
|
||||
|
||||
Reference in New Issue
Block a user