Back to Devexpress

CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection Property

corelibraries-devexpress-dot-xtracharts-dot-customizesimplediagramlayouteventargs-a9c67c39.md

latest4.1 KB
Original Source

CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection Property

Specifies the series layout direction for the Simple Diagram.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
LayoutDirection

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

|

Available values:

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

See Also

SimpleDiagram.LayoutDirection

SimpleDiagram3D.LayoutDirection

Simple Diagram

Simple Diagram 3D

CustomizeSimpleDiagramLayout

Integrate the WinForms Chart with the Pivot Grid Control

CustomizeSimpleDiagramLayoutEventArgs Class

CustomizeSimpleDiagramLayoutEventArgs Members

DevExpress.XtraCharts Namespace