LegendModel.AlignmentHorizontal Property
Gets or sets the value of the Legend.AlignmentHorizontal within the model.
Namespace: DevExpress.XtraCharts.Designer
Assembly: DevExpress.XtraCharts.v18.2.Wizard.dll
Declaration
[LocalizableCategory(DesignerCategories.Behavior)]
public LegendAlignmentHorizontal AlignmentHorizontal { get; set; }
Property Value
Type | Description |
---|---|
LegendAlignmentHorizontal | The horizontal alignment of the legend. |
Available values:
Name | Description |
---|---|
LeftOutside | The legend is positioned to the left of the Chart control. |
Left | The legend is positioned on the left side of the Diagram. |
Center | Centers a legend horizontally within the Chart control. |
Right | The legend is positioned on the right side of the Diagram. |
RightOutside | The legend is positioned on the right side of the Chart control. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AlignmentHorizontal 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.