Class CircularGaugeAxis
Gets or sets the options for customizing a axis of circular gauge.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeAxis : OwningComponentBase
Constructors
CircularGaugeAxis()
Declaration
public CircularGaugeAxis()
Properties
Background
Gets or sets the background color of an axis. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public string Background { get; set; }
Property Value
Type |
---|
System.String |
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Direction
Gets or sets the direction of an axis.
Declaration
public GaugeDirection Direction { get; set; }
Property Value
Type |
---|
GaugeDirection |
EndAngle
Gets or sets the end angle of an axis in circular gauge component.
Declaration
public double EndAngle { get; set; }
Property Value
Type |
---|
System.Double |
HideIntersectingLabel
Gets or sets a value indicating whether or not the intersecting labels to be hidden in axis.
Declaration
public bool HideIntersectingLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
Maximum
Gets or sets the maximum value of an axis in the circular gauge component.
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
Minimum
Gets or sets the minimum value of an axis in the circular gauge component.
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.Double |
Radius
Gets or sets the radius of an axis in circular gauge.
Declaration
public string Radius { get; set; }
Property Value
Type |
---|
System.String |
RangeGap
Gets or sets the gap between the ranges by specified value in circular gauge component.
Declaration
public double RangeGap { get; set; }
Property Value
Type |
---|
System.Double |
RoundingPlaces
Gets or sets the rounding Off value in the label in an axis.
Declaration
public int RoundingPlaces { get; set; }
Property Value
Type |
---|
System.Int32 |
ShowLastLabel
Gets or sets a value indicating whether or not to display the last label of axis when it is hidden in a circular gauge component.
Declaration
public bool ShowLastLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
StartAndEndRangeGap
Gets or sets a value indicating whether or not to enable the start and end gap between the ranges and axis in circular gauge.
Declaration
public bool StartAndEndRangeGap { get; set; }
Property Value
Type |
---|
System.Boolean |
StartAngle
Gets or sets the start angle of an axis in circular gauge component.
Declaration
public double StartAngle { get; set; }
Property Value
Type |
---|
System.Double |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
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. |