feat: Datenquelle auf statische JSON-Dateien in public umgestellt
- Fetch-API in `LoopChartActionBar.tsx` angepasst, um Mock-Daten aus `/public/CPLmockData/kuesChartData/` zu laden. - Mock-Daten als statische JSON-Dateien (`DIA0.json`, `DIA1.json`, `DIA2.json`) hinzugefügt. - `LoopMeasurementChart.tsx` angepasst, um die Daten aus dem Redux-Store zu verwenden. - Debugging-Logs entfernt und Fehlerbehandlung für fehlgeschlagene API-Requests verbessert. Mock-Daten können jetzt ohne API-Server geladen werden.
This commit is contained in:
5
public/CPLmockData/kuesChartData/DIA1.json
Normal file
5
public/CPLmockData/kuesChartData/DIA1.json
Normal file
@@ -0,0 +1,5 @@
|
||||
[
|
||||
{ "t": "2025-02-14 12:00:00", "i": 10.5, "a": 11.0, "g": 10.8 },
|
||||
{ "t": "2025-02-14 11:00:00", "i": 10.0, "a": 10.8, "g": 10.4 },
|
||||
{ "t": "2025-02-14 10:00:00", "i": 9.5, "a": 10.2, "g": 9.8 }
|
||||
]
|
||||
Reference in New Issue
Block a user