Class: Animations

Constructors

constructor

new Animations(chart, animations)

Parameters

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

Defined in

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

Methods

configure

configure(animations): void

Parameters

NameType
animationsRecord<string, unknown>

Returns

void

Defined in

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


update

update(target, values): boolean

Parameters

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

Returns

boolean

Defined in

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