Class CircularGaugeAxisLineStyle
Defines configuration for the style of the line in an axis of the circular gauge component.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeAxisLineStyle : OwningComponentBase
Constructors
CircularGaugeAxisLineStyle()
Declaration
public CircularGaugeAxisLineStyle()
Properties
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment representing the child content of the UI element. |
Remarks
Use this property to include custom content within the UI element.
Color
Gets or sets the color of the axis line in the circular gauge component.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String containing the color value in hex code, rgba, or a valid CSS color string. |
Remarks
This property determines the visual color of the axis line, allowing for consistent branding or theme application.
DashArray
Gets or sets the dash-array of the axis line in the circular gauge component.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String specifying the dash pattern for the line. Default is |
Remarks
This property is used to apply dashed styling to the axis line for aesthetic or specific visualization purposes.
Width
Gets or sets the width of the line in the circular gauge component.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double specifying the line width. Default value is |
Remarks
Defines the thickness of the axis line, contributing to the overall design and readability of the gauge.
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. |