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:
4
public/CPLmockData/kuesChartData/DIA2.json
Normal file
4
public/CPLmockData/kuesChartData/DIA2.json
Normal file
@@ -0,0 +1,4 @@
|
||||
[
|
||||
{ "t": "2025-02-14 00:00:00", "i": 10.3, "a": 10.9, "g": 10.6 },
|
||||
{ "t": "2025-02-13 00:00:00", "i": 9.8, "a": 10.4, "g": 10.1 }
|
||||
]
|
||||
Reference in New Issue
Block a user