Skip to main content
A newer version of this page is available.

Legend.VerticalPosition Property

Gets or sets the legend’s vertical position within the chart control.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.2.dll

Declaration

public VerticalPosition VerticalPosition { get; set; }

Property Value

Type Description
VerticalPosition

A VerticalPosition enumeration member which specifies the legend’s vertical position within the chart control.

Available values:

Name Description
TopOutside

The legend is positioned at the top of the diagram.

VerticalPosition_TopOutside

Top

The legend is positioned level with the top of the Diagram.

VerticalPosition_Top

Center

Centers a legend vertically within the Diagram.

VerticalPosition_Center

Bottom

The legend is positioned level with the bottom of the Diagram.

VerticalPosition_Bottom

BottomOutside

The legend is positioned at the bottom of the diagram.

VerticalPosition_BottomOutside

Remarks

To specify the legend’s horizontal position use the Legend.HorizontalPosition property.

See Also