CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection Property

Specifies the series layout direction for the Simple Diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public LayoutDirection LayoutDirection { get; set; }
Public Property LayoutDirection As LayoutDirection

Property Value

Type Description

A LayoutDirection enumeration value, specifying the series layout direction. This value is assigned to the CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection property.


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).

See Also