CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection Property
Specifies the series layout direction for the Simple Diagram.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
Type | Description |
---|---|
LayoutDirection | A LayoutDirection enumeration value, specifying the series layout direction. This value is assigned to the |
Available values:
Name | Description |
---|---|
Horizontal | Specifies that pie charts are positioned horizontally (by rows) within a chart control’s diagram. The number of pie charts within a single row is specified by the diagram’s SimpleDiagram.Dimension property. |
Vertical | Specifies that pie charts are positioned vertically (by columns) within a chart control’s diagram. The number of pie charts within a single column is specified by the diagram’s SimpleDiagram.Dimension property. |
Remarks
When a familiar data source (such as the PivotGridControl) is assigned to the ChartControl.DataSource property, the SimpleDiagram.LayoutDirection property of the 2D Simple Diagram (or, the SimpleDiagram3D.LayoutDirection property of the 3D Simple Diagram) is auto-adjusted, and it’s impossible to customize this property at design time.
Use the LayoutDirection property, to set a value to this property at runtime, in the ChartControl.CustomizeSimpleDiagramLayout (or, WebChartControl.CustomizeSimpleDiagramLayout) event handler.
For more information, see Pivot Charting (Integration with a Pivot Grid Control).