Legend.HorizontalPosition Property
Gets or sets the legend’s horizontal position within the chart control.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
HorizontalPosition | A HorizontalPosition enumeration member which specifies the legend’s horizontal position within the chart control. |
Available values:
Name | Description |
---|---|
LeftOutside | The legend is positioned to the left of the diagram. |
Left | The legend is positioned on the left side of the Diagram. |
Center | Centers a legend horizontally within the Diagram. |
Right | The legend is positioned on the right side of the Diagram. |
RightOutside | The legend is positioned to the right of the diagram. |
Remarks
To specify the legend’s vertical position use the Legend.VerticalPosition property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the HorizontalPosition 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.