Class TreeMapLegendLocation
Specifies the legend's position in the TreeMap component by using specified x and y coordinates. This class will work only when the legend position is set as Float.
Inheritance
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLegendLocation : OwningComponentBase
Remarks
This class allows you to configure the location of the legend within the TreeMap component, setting its position in terms of x and y coordinates.
Constructors
TreeMapLegendLocation()
Declaration
public TreeMapLegendLocation()
Properties
X
Gets or sets the x-coordinate for the legend's position in the TreeMap component.
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | A System.Double representing the x-coordinate of the legend. The legend will position itself horizontally based on this value. |
Remarks
Adjust this property to change the horizontal position of the legend within the TreeMap.
Y
Gets or sets the y-coordinate for the legend's position in the TreeMap component.
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | A System.Double representing the y-coordinate of the legend. The legend will position itself vertically based on this value. |
Remarks
Adjust this property to change the vertical position of the legend within the TreeMap.
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |