Skip to main content

CustomizeSimpleDiagramLayoutEventArgs.Dimension Property

Specifies the dimensions of the Simple Diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public int Dimension { get; set; }

Property Value

Type Description
Int32

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

Remarks

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