Skip to main content

LegendPosition Enum

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Specifies the position of the chart legend.

public enum LegendPosition

Inheritance: Enum -> LegendPosition

Fields​

NameDescription
BottomLegend is displayed below the chart.
FloatingLegend is floating inside the chart area.
LeftLegend is displayed to the left of the chart.
NoneNo legend is displayed.
RightLegend is displayed to the right of the chart.
TopLegend is displayed above the chart.

Bottom Field​

Legend is displayed below the chart.

public Avalonia.Controls.Charts.LegendPosition Bottom

Floating Field​

Legend is floating inside the chart area.

public Avalonia.Controls.Charts.LegendPosition Floating

Left Field​

Legend is displayed to the left of the chart.

public Avalonia.Controls.Charts.LegendPosition Left

None Field​

No legend is displayed.

public Avalonia.Controls.Charts.LegendPosition None

Right Field​

Legend is displayed to the right of the chart.

public Avalonia.Controls.Charts.LegendPosition Right

Top Field​

Legend is displayed above the chart.

public Avalonia.Controls.Charts.LegendPosition Top