Class LegendLocation
Gets or sets the location of the legend, relative to the circular gauge.
If x is 20, legend moves by 20 pixels to the right of the gauge. It requires the Position
to be Custom
in the legend settings.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LegendLocation : OwningComponentBase
Constructors
LegendLocation()
Declaration
public LegendLocation()
Properties
X
Gets or sets the X coordinate of the legend in the circular gauge.
Declaration
public double X { get; set; }
Property Value
Type |
---|
System.Double |
Y
Gets or sets the Y coordinate of the legend in the circular gauge.
Declaration
public double Y { get; set; }
Property Value
Type |
---|
System.Double |
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. |