ChartLegend.InsidePosition Property
Gets or sets the legend position and orientation within a chart diagram.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
[DefaultValue(ChartLegendInsidePosition.TopRightHorizontal)]
public ChartLegendInsidePosition InsidePosition { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Chart |
Top |
A Chart |
Available values:
Name | Description |
---|---|
Top |
Legend is aligned to the top left corner of the diagram. Legend items are aligned vertically. |
Top |
Legend is aligned to the top left corner of the diagram. Legend items are aligned horizontally. |
Top |
Legend is centered and aligned to the top of the diagram. Legend items are aligned horizontally. |
Top |
Legend is centered and aligned to the top of the diagram. Legend items are aligned vertically. |
Top |
Legend is aligned to the top right corner of the diagram. Legend items are aligned vertically. |
Top |
Legend is aligned to the top right corner of the diagram. Legend items are aligned horizontally. |
Bottom |
Legend is aligned to the bottom left corner of the diagram. Legend items are aligned vertically. |
Bottom |
Legend is aligned to the bottom left corner of the diagram. Legend items are aligned horizontally. |
Bottom |
Legend is centered and aligned to the bottom of the diagram. Legend items are aligned horizontally. |
Bottom |
Legend is centered and aligned to the bottom of the diagram. Legend items are aligned vertically. |
Bottom |
Legend is aligned to the bottom right corner of the diagram. Legend items are aligned vertically. |
Bottom |
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.