API REFERENCE

whenTypeReady

Resolves once the chart type's answer is settled — ready, or the reason it cannot be drawn — after a pending license or an import in flight. Never rejects: check status.

Definition

typescript
whenTypeReady(): Promise<ChartTypeLoadDetail>

Return type: Promise<ChartTypeLoadDetail>. Call the method after element registration and await its Promise result.