Class LegendPosition
Defines the position of the legend in the chart.
Inheritance
System.Object
LegendPosition
Namespace: Syncfusion.Blazor.Toolkit
Assembly: Syncfusion.Blazor.Toolkit.dll
Syntax
public sealed class LegendPosition : Enum
Remarks
The legend can be positioned automatically based on component dimensions or placed at a specific location.
Fields
Auto
The legend position is automatically determined based on the chart's width and height.
Declaration
public const LegendPosition Auto
Field Value
| Type |
|---|
| LegendPosition |
Bottom
The legend is positioned below the chart content area.
Declaration
public const LegendPosition Bottom
Field Value
| Type |
|---|
| LegendPosition |
Custom
The legend is positioned at custom X and Y coordinates specified in the legend settings.
Declaration
public const LegendPosition Custom
Field Value
| Type |
|---|
| LegendPosition |
Left
The legend is positioned to the left of the chart content area.
Declaration
public const LegendPosition Left
Field Value
| Type |
|---|
| LegendPosition |
Right
The legend is positioned to the right of the chart content area.
Declaration
public const LegendPosition Right
Field Value
| Type |
|---|
| LegendPosition |
Top
The legend is positioned above the chart content area.
Declaration
public const LegendPosition Top
Field Value
| Type |
|---|
| LegendPosition |