menu

Blazor

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

    Show / Hide Table of Contents

    Class AccumulationChartAnimation

    Gets and sets the Animation property for the Accumulation chart's series.

    Inheritance
    System.Object
    SfBaseComponent
    AccumulationChartAnimation
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnInitializedAsync()
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccumulationChartAnimation : SfBaseComponent

    Constructors

    AccumulationChartAnimation()

    Declaration
    public AccumulationChartAnimation()

    Properties

    Delay

    Gets or sets the delay of the animation in milliseconds for the SfAccumulationChart.

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

    Accepts the double value. The default value is 0.

    Remarks

    Use the Delay property to specify the delay duration for animations in milliseconds. A non-zero value adds a delay before the animation starts, providing control over the timing of the animation.

    Examples
    // The following code snippet sets a delay of 2000 milliseconds before the animation starts in the accumulation chart:
    <SfAccumulationChart>
        <AccumulationChartSeriesCollection>
            <AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
                <AccumulationChartAnimation Delay="2000"></AccumulationChartAnimation>
            </AccumulationChartSeries>
        </AccumulationChartSeriesCollection>
    </SfAccumulationChart>

    Duration

    Gets or sets the duration of the animation in milliseconds for the SfAccumulationChart.

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

    Accepts the double value. The default value is 2000.

    Remarks

    Use the Duration property to specify the duration of animations in milliseconds. The duration determines how long an animation takes to complete, affecting its speed and smoothness.

    Examples
    // The following code snippet shows how to set the animation duration in the accumulation chart:
    <SfAccumulationChart>
        <AccumulationChartSeriesCollection>
            <AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
                <AccumulationChartAnimation Duration="2000"></AccumulationChartAnimation>
            </AccumulationChartSeries>
        </AccumulationChartSeriesCollection>
    </SfAccumulationChart>

    Enable

    Gets or sets the animation to be enabled or disabled for the SfAccumulationChart.

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

    Accepts the boolean value. The default value is true.

    Remarks

    Use the Enable property to enable or disable animations for the SfAccumulationChart. When set to false, animations will be disabled.

    Examples
    // The following code snippet shows how to disable the animation in the accumulation chart:
    <SfAccumulationChart>
        <AccumulationChartSeriesCollection>
            <AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
                <AccumulationChartAnimation Enable="false"></AccumulationChartAnimation>
            </AccumulationChartSeries>
        </AccumulationChartSeriesCollection>
    </SfAccumulationChart>

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved