Back to Devexpress

CustomizeSimpleDiagramLayoutEventArgs.Dimension Property

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

latest3.3 KB
Original Source

CustomizeSimpleDiagramLayoutEventArgs.Dimension Property

Specifies the dimensions of the Simple Diagram.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
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

SimpleDiagram.Dimension

SimpleDiagram3D.Dimension

Simple Diagram

Simple Diagram 3D

CustomizeSimpleDiagramLayout

Integrate the WinForms Chart with the Pivot Grid Control

CustomizeSimpleDiagramLayoutEventArgs Class

CustomizeSimpleDiagramLayoutEventArgs Members

DevExpress.XtraCharts Namespace