API REFERENCE

getDataTable

Resolves the data table for the current data ( / 134). Waits for the type's load answer and rejects with a ChartLoadError (its code = the status) when the type cannot be drawn here: no table is invented for it. A Pro chart type's table comes from its element only (the facade carries no Pro data resolvers).

Definition

typescript
getDataTable(): Promise<ChartDataTable>

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