From 8c4d2fc36cac897e0e2f68218440087125ffb4ed Mon Sep 17 00:00:00 2001 From: Tobias Peper Date: Wed, 26 Mar 2025 22:27:13 +0100 Subject: [PATCH] Jetzt im Akkordion drin --- src/app/app.component.html | 15 ++++++++++++--- src/app/app.component.ts | 1 + src/app/rest.service.ts | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 66ece33..3993aa6 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,8 +1,17 @@
-
- -
+
+

+ +

+
+
+
+ +
+
+
+

diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 1f5b489..8626ab0 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -46,6 +46,7 @@ export class AppComponent implements OnInit { } }, y: { + type: 'linear' //stacked: true, } } diff --git a/src/app/rest.service.ts b/src/app/rest.service.ts index bfc24d0..ad61ef0 100644 --- a/src/app/rest.service.ts +++ b/src/app/rest.service.ts @@ -17,7 +17,7 @@ export class RestService { } getLatestData(): Observable { - return this.http.get('https://vz.home.peper.info/rest-vz/latest-data?houseId=1&timeWindow=1440'); + return this.http.get('https://vz.home.peper.info/rest-vz/latest-data?houseId=2&timeWindow=1440'); } getStatisticsWithDuration(duration: string | undefined): Observable {