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