Class ChartDefaultAnimation
Provides options for animation in the chart component.
Inheritance
Inherited Members
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 |
|
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.