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
NuGet Package: DevExpress.Dashboard.Core
#Declaration
[DefaultValue(ChartLegendOutsidePosition.TopRightHorizontal)]
public ChartLegendOutsidePosition OutsidePosition { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Chart |
Top |
A Chart |
Available values:
Name | Description |
---|---|
Top |
The legend is aligned to the top left corner of the chart outside the diagram. Legend items are aligned vertically. |
Top |
The legend is aligned to the top left corner of the chart outside the diagram. Legend items are aligned horizontally. |
Top |
The legend is centered and aligned to the top of the chart outside the diagram. Legend items are aligned horizontally. |
Top |
The legend is aligned to the top right corner of the chart outside the diagram. Legend items are aligned vertically. |
Top |
The legend is aligned to the top right corner of the chart outside the diagram. Legend items are aligned horizontally. |
Bottom |
The legend is aligned to the bottom left corner of the chart outside the diagram. Legend items are aligned vertically. |
Bottom |
The legend is aligned to the bottom left corner of the chart outside the diagram. Legend items are aligned horizontally. |
Bottom |
The legend is centered and aligned to the bottom of the chart outside the diagram. Legend items are aligned horizontally. |
Bottom |
The legend is aligned to the bottom right corner of the chart outside the diagram. Legend items are aligned vertically. |
Bottom |
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.