CustomizeSimpleDiagramLayoutEventArgs.Dimension Property

Specifies the dimensions of the Simple Diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public int Dimension { get; set; }
Public Property Dimension As Integer

Property Value

Type Description

An integer value, specifying the diagram's dimension. This value is assigned to the CustomizeSimpleDiagramLayoutEventArgs.Dimension property.


When a familiar data source (such as the PivotGridControl) is assigned to the ChartControl.DataSource property, the SimpleDiagram.Dimension property of the 2D Simple Diagram (or, the SimpleDiagram3D.Dimension property of the 3D Simple Diagram) is auto-adjusted, and it's impossible to customize this property at design time.

Use the Dimension 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