Class CircularGaugeAxisLabelStyle
Gets or sets the style of the axis label in circular gauge component.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeAxisLabelStyle : OwningComponentBase
Constructors
CircularGaugeAxisLabelStyle()
Declaration
public CircularGaugeAxisLabelStyle()
Properties
AutoAngle
Gets or sets a value indicating whether or not the labels get rotated along the axis in the circular gauge component.
Declaration
public bool AutoAngle { get; set; }
Property Value
Type |
---|
System.Boolean |
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Format
Gets or sets the format for the axis label. This property accepts any global string format like 'C', 'n1', 'P' etc. Also accepts placeholder like '{value}°C' in which value represent the axis label e.g. 20°C.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
HiddenLabel
Gets or sets the label of an axis, which gets hidden when an axis makes a complete circle.
Declaration
public HiddenLabel HiddenLabel { get; set; }
Property Value
Type |
---|
HiddenLabel |
Offset
Gets or sets the value to place the labels from the axis in circular gauge.
Declaration
public double Offset { get; set; }
Property Value
Type |
---|
System.Double |
Position
Gets or sets the position type to place the labels in the axis in the circular gauge component.
Declaration
public Position Position { get; set; }
Property Value
Type |
---|
Position |
ShouldMaintainPadding
Gets or sets a value indicating whether or not to enable the default padding value of axis labels in circular gauge component.
Declaration
public bool ShouldMaintainPadding { get; set; }
Property Value
Type |
---|
System.Boolean |
UseRangeColor
Gets or sets a value indicating whether or not to use the range color in the axis labels.
Declaration
public bool UseRangeColor { get; set; }
Property Value
Type |
---|
System.Boolean |
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. |