Class CircularGaugeRange
Represents the properties of a range for an axis in the circular gauge component.
Inherited Members
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeRange : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
CircularGaugeRange()
Declaration
public CircularGaugeRange()
Properties
ChildContent
Gets or sets the content of the UI element.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment | A 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
[Parameter]
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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
[Parameter]
public double End { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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
[Parameter]
public string EndWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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
[Parameter]
public string LegendText { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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
[Parameter]
public string Offset { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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
[Parameter]
public double Opacity { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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
[Parameter]
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
[Parameter]
public string Radius { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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
[Parameter]
public double RoundedCornerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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
[Parameter]
public double Start { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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
[Parameter]
public string StartWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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 |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
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 |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | Task representing the asynchronous operation. |
Overrides
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 |
|---|---|
| Task | Task representing the asynchronous operation. |