time range updates

This commit is contained in:
Ben Wilson 2023-06-28 07:30:58 -04:00
parent 53164ac40d
commit d06e52d6e5
2 changed files with 5 additions and 5 deletions

6
.vscode/launch.json vendored
View File

@ -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"
}
]
}
}

View File

@ -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'),