corelibraries-devexpress-dot-xtracharts-dot-customizesimplediagramlayouteventargs.md
Specifies the dimensions of the Simple Diagram.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public int Dimension { get; set; }
Public Property Dimension As Integer
| Type | Description |
|---|---|
| Int32 |
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
Integrate the WinForms Chart with the Pivot Grid Control
CustomizeSimpleDiagramLayoutEventArgs Class