menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDefaultAnimation - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDefaultAnimation

    Provides options for animation in the chart component.

    Inheritance
    System.Object
    ChartSubComponent
    ChartDefaultAnimation
    ChartIndicatorAnimation
    ChartSeriesAnimation
    ChartTrendlineAnimation
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartDefaultAnimation : ChartSubComponent, ISubcomponentTracker

    Constructors

    ChartDefaultAnimation()

    Declaration
    public ChartDefaultAnimation()

    Properties

    Delay

    Gets or sets the delay for the animation of the series.

    Declaration
    public double Delay { get; set; }
    Property Value
    Type Description
    System.Double

    A System.Double representing the delay in milliseconds before the animation starts. The default value is 0.

    Remarks

    Use this property to specify how long the chart should wait before beginning the animation. This can help in synchronizing complex animations or staggering them for visual effects.

    Duration

    Gets or sets the duration of the animation in milliseconds.

    Declaration
    public double Duration { get; set; }
    Property Value
    Type Description
    System.Double

    A System.Double representing the total time span of the animation in milliseconds. The default value is 1000.

    Remarks

    Adjusting this property allows you to speed up or slow down the animation, making it more visually appealing based on the specific chart's context.

    Enable

    Gets or sets a value indicating whether the series is animated on initial loading.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the series animation is enabled on initial load; otherwise, false. The default value is true.

    Remarks

    Setting this property to true makes the series elements animate when the chart first loads, enhancing the visual engagement of the chart presentation. Disable it for static displays.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved