ChartLegend.InsidePosition Property
Gets or sets the legend position and orientation within a chart diagram.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
Declaration
[DefaultValue(ChartLegendInsidePosition.TopRightHorizontal)]
public ChartLegendInsidePosition InsidePosition { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ChartLegendInsidePosition | **TopRightHorizontal** | A ChartLegendInsidePosition enumeration member that specifies the legend position and orientation within a chart diagram. |
Available values:
Name | Description |
---|---|
TopLeftVertical | Legend is aligned to the top left corner of the diagram. Legend items are aligned vertically. |
TopLeftHorizontal | Legend is aligned to the top left corner of the diagram. Legend items are aligned horizontally. |
TopCenterHorizontal | Legend is centered and aligned to the top of the diagram. Legend items are aligned horizontally. |
TopCenterVertical | Legend is centered and aligned to the top of the diagram. Legend items are aligned vertically. |
TopRightVertical | Legend is aligned to the top right corner of the diagram. Legend items are aligned vertically. |
TopRightHorizontal | Legend is aligned to the top right corner of the diagram. Legend items are aligned horizontally. |
BottomLeftVertical | Legend is aligned to the bottom left corner of the diagram. Legend items are aligned vertically. |
BottomLeftHorizontal | Legend is aligned to the bottom left corner of the diagram. Legend items are aligned horizontally. |
BottomCenterHorizontal | Legend is centered and aligned to the bottom of the diagram. Legend items are aligned horizontally. |
BottomCenterVertical | Legend is centered and aligned to the bottom of the diagram. Legend items are aligned vertically. |
BottomRightVertical | Legend is aligned to the bottom right corner of the diagram. Legend items are aligned vertically. |
BottomRightHorizontal | Legend is aligned to the bottom right corner of the diagram. Legend items are aligned horizontally. |
Remarks
Set the ChartLegend.IsInsideDiagram property to true before specifying the legend position within a chart diagram.