API REFERENCE

setAnimation

An asynchronous method. Check the argument and return types below.

Definition

typescript
setAnimation(options: { duration?: number; easing?: LineChartEasing; enabled?: boolean; type?: ChartAnimationType }): Promise<void>
ArgumentsTypeRequired
options{ duration?: number; easing?: LineChartEasing; enabled?: boolean; type?: ChartAnimationType }Required

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