API REFERENCE

redraw

Redraw the chart using its current data and options. Inspect the rendered result after the returned Promise resolves.

Definition

typescript
redraw(): Promise<ChartRenderResult>

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