feat: TDR Meldungen DateRangePicker

This commit is contained in:
ISA
2025-09-10 08:13:37 +02:00
parent d6703c8870
commit 28612f9cd0
8 changed files with 146 additions and 135 deletions

View File

@@ -7,7 +7,6 @@ import { AppDispatch } from "../../../../../../redux/store";
import { Chart, registerables } from "chart.js";
import "chartjs-adapter-date-fns";
import { getColor } from "../../../../../../utils/colors";
import TDRChartActionBar from "./TDRChartActionBar";
import { getReferenceCurveBySlotThunk } from "../../../../../../redux/thunks/getReferenceCurveBySlotThunk";
const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => {
@@ -212,8 +211,7 @@ const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => {
//--------------------------------------
return (
<div style={{ width: "100%", height: isFullScreen ? "90%" : "28rem" }}>
<TDRChartActionBar />
<div style={{ width: "100%", height: isFullScreen ? "90%" : "28rem" }}>
{tdrChartData.length === 0 ? (
<div className="flex items-center justify-center h-full text-gray-500 italic">