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.
Inherited Members
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLegendLocation : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
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
[Parameter]
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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
[Parameter]
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Overrides
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 |
|---|---|
| Task | A Task representing the asynchronous operation. |