Class CircularGaugePointerAnimation
Defines the options for customizing the animation of pointers while rendering the axis in the circular gauge.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugePointerAnimation : OwningComponentBase
Constructors
CircularGaugePointerAnimation()
Declaration
public CircularGaugePointerAnimation()
Properties
Duration
Gets or sets the duration of animation in milliseconds in the circular gauge component.
Declaration
public double Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the time in milliseconds that the animation should take to complete. The default value is 1000 milliseconds. |
Remarks
Adjusting this value changes how quickly or slowly the pointer moves during the animation process.
Enable
Gets or sets a value indicating whether or not to enable the pointer animation during initial rendering in the circular gauge component.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A System.Boolean indicating if animation is enabled. The default value is |
Remarks
Enabling this property allows the pointer to animate into position when the gauge first loads.
Methods
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |