# Class: Animations
# Constructors
# constructor
+ new Animations(chart
: Chart<"bar"
| "line"
| "scatter"
| "bubble"
| "pie"
| "doughnut"
| "polarArea"
| "radar"
, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>, animations
: Record<string, unknown>): Animations
# Parameters
Name | Type |
---|---|
chart | Chart<"bar" | "line" | "scatter" | "bubble" | "pie" | "doughnut" | "polarArea" | "radar" , (number | ScatterDataPoint | BubbleDataPoint)[], unknown> |
animations | Record<string, unknown> |
Returns: Animations
Defined in: animation.d.ts:28 (opens new window)
# Methods
# configure
▸ configure(animations
: Record<string, unknown>): void
# Parameters
Name | Type |
---|---|
animations | Record<string, unknown> |
Returns: void
Defined in: animation.d.ts:30 (opens new window)
# update
▸ update(target
: Record<string, unknown>, values
: Record<string, unknown>): boolean
# Parameters
Name | Type |
---|---|
target | Record<string, unknown> |
values | Record<string, unknown> |
Returns: boolean
Defined in: animation.d.ts:31 (opens new window)