From d06e52d6e5e4a96b9f55e36989957ab5222fc749 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Wed, 28 Jun 2023 07:30:58 -0400 Subject: [PATCH] time range updates --- .vscode/launch.json | 6 +++--- src/app/components/dashboard/dashboard.component.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 925af83..08bc00f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,8 +6,8 @@ "name": "ng serve", "type": "chrome", "request": "launch", - "preLaunchTask": "npm: start", - "url": "http://localhost:4200/" + "url": "http://localhost:4200/", + "sourceMaps": true }, { "name": "ng test", @@ -17,4 +17,4 @@ "url": "http://localhost:9876/debug.html" } ] -} +} \ No newline at end of file diff --git a/src/app/components/dashboard/dashboard.component.ts b/src/app/components/dashboard/dashboard.component.ts index f58db8f..2261b33 100644 --- a/src/app/components/dashboard/dashboard.component.ts +++ b/src/app/components/dashboard/dashboard.component.ts @@ -35,7 +35,7 @@ export class DashboardComponent { this.chartData$ = this.clientInfo$.pipe( map((workerInfo: any) => { - const GROUP_SIZE = 24; //12 = 1 hour + const GROUP_SIZE = 12; //6 = 1 hour let chartData: any[] = workerInfo.chartData; @@ -67,7 +67,7 @@ export class DashboardComponent { }, { type: 'line', - label: '5 Minute', + label: '10 Minute', data: data, fill: false, backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),