ASP.NET Core MVC Controls | ComponentOne
In This Topic
    ChartAnimation Class
    In This Topic
    File
    wijmo.chart.animation.js
    Module
    wijmo.chart.animation

    Represents the animation for FlexChart, FinancialChart and FlexPie.

    The ChartAnimation provides built-in animation while loading and updating the chart. The animation can be configured by the user through several properties that include duration, easing function, animation mode.

    Constructor

    Properties

    Methods

    Events

    Constructor

    constructor

    constructor(chart: FlexChartBase, options?: any): ChartAnimation
    

    Initializes a new instance of the ChartAnimation class.

    Parameters
    Optional

    A JavaScript object containing initialization data for ChartAnimation.

    Returns
    ChartAnimation

    Properties

    animationMode

    Gets or sets whether the plot points animate one at a time, series by series, or all at once. The whole animation is still completed within the duration.

    Type
    AnimationMode

    axisAnimation

    Gets or sets a value indicating whether animation is applied to the axis.

    Type
    boolean

    chart

    Gets the animated chart instance.

    Type
    FlexChartBase

    duration

    Gets or sets the length of entire animation in milliseconds.

    Type
    number

    easing

    Gets or sets the easing function applied to the animation.

    Type
    Easing

    Methods

    animate

    animate(): void
    

    Performs the animation.

    Returns
    void

    Events

    ended

    Occurs after the animation ends.

    Arguments
    EventArgs