fix(graph): fix graph for first load

This commit is contained in:
Desy Ayurianti 2024-12-02 15:03:21 +07:00
parent 4377bb493d
commit 944a9fa5cb

View File

@ -100,6 +100,9 @@ export class GraphComponent implements OnInit, AfterViewInit, OnDestroy, OnChang
}
ngAfterViewInit(): void {
setTimeout(() => {
this.updateCharts();
}, 0);
this.onResize();
}