Legend.VerticalPosition Property
Gets or sets the legend’s vertical position within the chart control.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.1.dll
Declaration
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. |
Top | The legend is positioned level with the top of the Diagram. |
Center | Centers a legend vertically within the Diagram. |
Bottom | The legend is positioned level with the bottom of the Diagram. |
BottomOutside | The legend is positioned at the bottom of the diagram. |
Remarks
To specify the legend’s horizontal position use the Legend.HorizontalPosition property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the VerticalPosition property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.