ChartLegend.OutsidePosition Property
Gets or sets the legend position and orientation outside the chart diagram.
Namespace: DevExpress.DashboardCommon
Assembly:
DevExpress.Dashboard.v24.2.Core.dll
Declaration
[DefaultValue(ChartLegendOutsidePosition.TopRightHorizontal)]
public ChartLegendOutsidePosition OutsidePosition { get; set; }
<DefaultValue(ChartLegendOutsidePosition.TopRightHorizontal)>
Public Property OutsidePosition As ChartLegendOutsidePosition
Property Value
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.
|
Set the ChartLegend.IsInsideDiagram property to false before specifying the legend position and orientation outside the chart diagram.
See Also