mirror of
https://github.com/benjamin-wilson/public-pool-ui.git
synced 2025-03-17 13:22:55 +01:00
time range updates
This commit is contained in:
parent
53164ac40d
commit
d06e52d6e5
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user