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
public LayoutDirection LayoutDirection { get; set; }
#Property Value
Type | Description |
---|---|
Layout |
A Layout |
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 Simple |
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 Simple |
#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).