API REFERENCE
setAnimation
An asynchronous method. Check the argument and return types below.
Definition
setAnimation(options: { duration?: number; easing?: LineChartEasing; enabled?: boolean; type?: ChartAnimationType }): Promise<void>| Arguments | Type | Required |
|---|---|---|
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.
- LineChartEasing
Type definition
- ChartAnimationType
Type definition