# Class: Animator

# Constructors

# constructor

+ new Animator(): Animator

Returns: Animator

# Methods

# add

add(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>, items: readonly Animation[]): void

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>
items readonly Animation[]

Returns: void

Defined in: animation.d.ts:20 (opens new window)


# has

has(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>): boolean

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

Returns: boolean

Defined in: animation.d.ts:21 (opens new window)


# listen

listen(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>, event: complete | progress, cb: (event: AnimationEvent) => void): void

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>
event complete | progress
cb (event: AnimationEvent) => void

Returns: void

Defined in: animation.d.ts:19 (opens new window)


# remove

remove(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>): boolean

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

Returns: boolean

Defined in: animation.d.ts:25 (opens new window)


# running

running(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>): boolean

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

Returns: boolean

Defined in: animation.d.ts:23 (opens new window)


# start

start(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>): void

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

Returns: void

Defined in: animation.d.ts:22 (opens new window)


# stop

stop(chart: Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>): void

# Parameters:

Name Type
chart Chart<bar | line | scatter | bubble | pie | doughnut | polarArea | radar, (number | ScatterDataPoint | BubbleDataPoint)[], unknown>

Returns: void

Defined in: animation.d.ts:24 (opens new window)