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

ChartLegend.OutsidePosition Property

Gets or sets the legend position and orientation outside the chart diagram.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

[DefaultValue(ChartLegendOutsidePosition.TopRightHorizontal)]
public ChartLegendOutsidePosition OutsidePosition { get; set; }

Property Value

Type Default Description
ChartLegendOutsidePosition **TopRightHorizontal**

A ChartLegendOutsidePosition enumeration member that specifies the legend position and orientation outside the chart diagram.

Available values:

Name Description
TopLeftVertical

The legend is aligned to the top left corner of the chart outside the diagram. Legend items are aligned vertically.

TopLeftHorizontal

The legend is aligned to the top left corner of the chart outside the diagram. Legend items are aligned horizontally.

TopCenterHorizontal

The legend is centered and aligned to the top of the chart outside the diagram. Legend items are aligned horizontally.

TopRightVertical

The legend is aligned to the top right corner of the chart outside the diagram. Legend items are aligned vertically.

TopRightHorizontal

The legend is aligned to the top right corner of the chart outside the diagram. Legend items are aligned horizontally.

BottomLeftVertical

The legend is aligned to the bottom left corner of the chart outside the diagram. Legend items are aligned vertically.

BottomLeftHorizontal

The legend is aligned to the bottom left corner of the chart outside the diagram. Legend items are aligned horizontally.

BottomCenterHorizontal

The legend is centered and aligned to the bottom of the chart outside the diagram. Legend items are aligned horizontally.

BottomRightVertical

The legend is aligned to the bottom right corner of the chart outside the diagram. Legend items are aligned vertically.

BottomRightHorizontal

The legend is aligned to the bottom right corner of the chart outside the diagram. Legend items are aligned horizontally.

Remarks

Set the ChartLegend.IsInsideDiagram property to false before specifying the legend position and orientation outside the chart diagram.

See Also