Dashboard ux fixes.

This commit is contained in:
softsimon
2020-09-28 02:51:01 +07:00
parent 3e3dd83243
commit 7848481d8f
3 changed files with 15 additions and 12 deletions

View File

@@ -189,7 +189,7 @@ export class DashboardComponent implements OnInit {
offset: 40
},
axisX: {
labelInterpolationFnc: (value: any, index: any) => index % 12 === 0 ? formatDate(value, 'HH:mm', this.locale) : null,
labelInterpolationFnc: (value: any, index: any) => index % 24 === 0 ? formatDate(value, 'HH:mm', this.locale) : null,
offset: 10
},
plugins: [