Skip to main content
A newer version of this page is available.
All docs
V18.2

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.

LegendAlgnHorz_LOutside

Left

The legend is positioned on the left side of the Diagram.

LegendAlgnHorz_Left

Center

Centers a legend horizontally within the Chart control.

LegendAlgnHorz_Center

Right

The legend is positioned on the right side of the Diagram.

LegendAlgnHorz_Right

RightOutside

The legend is positioned on the right side of the Chart control.

LegendAlgnHorz_ROutside

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.

See Also