interface AnimateOptions {
    center?: CenterOptions;
    duration?: number;
    easing?: TransitionTimingFunction;
    fit?: AnimationFitOptions;
    pan?: Position;
    panBy?: Position;
    queue?: boolean;
    zoom?: ZoomOptions;
    complete?(): void;
    step?(): void;
}

Hierarchy (view full)

Properties

center?: CenterOptions

An object containing centring options from which the graph will be animated.

duration?: number

duration - The duration of the animation in milliseconds.

easing - A transition-timing-function easing style string that shapes the animation progress curve.

An object containing fitting options from which the graph will be animated.

pan?: Position

A panning position to which the graph will be animated.

panBy?: Position

A relative panning position to which the graph will be animated.

queue?: boolean

queue - A boolean indicating whether to queue the animation.

A zoom level to which the graph will be animated.

Methods