mirror of
https://github.com/Retropex/Ordisrespector-pool-ui.git
synced 2025-05-12 19:20:43 +02: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",
|
"name": "ng serve",
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "npm: start",
|
"url": "http://localhost:4200/",
|
||||||
"url": "http://localhost:4200/"
|
"sourceMaps": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ng test",
|
"name": "ng test",
|
||||||
@ -17,4 +17,4 @@
|
|||||||
"url": "http://localhost:9876/debug.html"
|
"url": "http://localhost:9876/debug.html"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -35,7 +35,7 @@ export class DashboardComponent {
|
|||||||
this.chartData$ = this.clientInfo$.pipe(
|
this.chartData$ = this.clientInfo$.pipe(
|
||||||
map((workerInfo: any) => {
|
map((workerInfo: any) => {
|
||||||
|
|
||||||
const GROUP_SIZE = 24; //12 = 1 hour
|
const GROUP_SIZE = 12; //6 = 1 hour
|
||||||
|
|
||||||
let chartData: any[] = workerInfo.chartData;
|
let chartData: any[] = workerInfo.chartData;
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ export class DashboardComponent {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'line',
|
type: 'line',
|
||||||
label: '5 Minute',
|
label: '10 Minute',
|
||||||
data: data,
|
data: data,
|
||||||
fill: false,
|
fill: false,
|
||||||
backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
|
backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
|
||||||
|
Loading…
Reference in New Issue
Block a user