0👍
finally find a solution.
ngOnInit() {
this.sharevariableService.getApkHistoryDto().subscribe((apkHistory) => {
if(apkHistory != null) {
this.isLoading = true; setTimeout (() => {
this.loadInstallEvolution(apkHistory);
}, 10); }
}); }
and when the loading is true, i show a spinner instead of the gapgh
- Chartjs-How to achive Chart JS weather chart of 5 day / 3 hour forecast data
- Chartjs-Chart.js – Same min and max value of two charts
Source:stackexchange.com