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

NameType
chartChart<“bar” | “line” | “scatter” | “bubble” | “pie” | “doughnut” | “polarArea” | “radar”, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>
animationsRecord<string, unknown>

Returns: Animations

Defined in: animation.d.ts:28Animations - 图1 (opens new window)

Methods

configure

configure(animations: Record<string, unknown>): void

Parameters

NameType
animationsRecord<string, unknown>

Returns: void

Defined in: animation.d.ts:30Animations - 图2 (opens new window)


update

update(target: Record<string, unknown>, values: Record<string, unknown>): boolean

Parameters

NameType
targetRecord<string, unknown>
valuesRecord<string, unknown>

Returns: boolean

Defined in: animation.d.ts:31Animations - 图3 (opens new window)