1👍
✅
Try to create the chart after you have received your data.
When you’ve built your chart, assign a variable like this.
chartDataReady = true;
In your HTML, you can wrap the chart with a *ngIf
like this.
*ngIf="chartDataReady"
Source:stackexchange.com