Class CircularGaugeRange
Represents the properties of a range for an axis in the circular gauge component.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeRange : OwningComponentBase
Constructors
CircularGaugeRange()
Declaration
public CircularGaugeRange()
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 range. |
Remarks
This property allows rendering of nested content within the gauge range.
Color
Gets or sets the color of the range in the circular gauge component.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the color of the range. |
Remarks
Defines the display color for the gauge range.
End
Gets or sets the end value of the range in the circular gauge component.
Declaration
public double End { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the end value of the range. |
Remarks
Marks the end value of the range in the gauge.
EndWidth
Gets or sets the width for the end of the range in the circular gauge component.
Declaration
public string EndWidth { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the ending width of the range. Default is "10". |
Remarks
Defines how wide the end of the range should appear.
LegendText
Gets or sets the text for the legend in the circular gauge component.
Declaration
public string LegendText { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the legend text. Default is an empty string. |
Remarks
Used to display legend information related to the range.
Offset
Gets or sets the offset value of the range in the circular gauge component.
Declaration
public string Offset { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the offset of the range. Default is "0". |
Remarks
This property specifies how far from its default position the range will be rendered.
Opacity
Gets or sets the opacity for the ranges in the circular gauge component.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the opacity of the range. Default is 1. |
Remarks
Specifies the transparency level of the range.
Position
Gets or sets the position of the range and pointer for an axis in the circular gauge component.
Declaration
public PointerRangePosition Position { get; set; }
Property Value
Type | Description |
---|---|
PointerRangePosition | A PointerRangePosition value indicating the position. Default is Auto. |
Remarks
Controls the position where the range and pointer are drawn on the axis.
Radius
Gets or sets the radius of the range for the circular gauge component.
Declaration
public string Radius { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String indicating the radius of the range. |
Remarks
This determines how far from the center the range will extend.
RoundedCornerRadius
Gets or sets the corner radius for ranges in the circular gauge component.
Declaration
public double RoundedCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the rounded corner radius. |
Remarks
Adds rounded corners to the range, creating a smoother visual relation.
Start
Gets or sets the start value of the range in the circular gauge component.
Declaration
public double Start { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the start value of the range. |
Remarks
Defines the starting value of the range.
StartWidth
Gets or sets the width for the start of the range in the circular gauge component.
Declaration
public string StartWidth { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the starting width of the range. Default is "10". |
Remarks
Determines how wide the start of the range should be.
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. |