ChartControl.CustomizeSimpleDiagramLayout Event
Occurs after the adaptive layout is enabled for the chart control to customize the Simple Diagram‘s layout properties.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.UI.dll
NuGet Package: DevExpress.Win.Charts
Declaration
Event Data
The CustomizeSimpleDiagramLayout event's data class is CustomizeSimpleDiagramLayoutEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Dimension | Specifies the dimensions of the Simple Diagram. |
LayoutDirection | Specifies the series layout direction for the Simple Diagram. |
Remarks
When the adaptive chart layout feature is enabled (the ChartControl.AutoLayout property is set to true) the SimpleDiagram.Dimension (SimpleDiagram3D.Dimension) and SimpleDiagram.LayoutDirection (SimpleDiagram3D.LayoutDirection) properties are defined automatically during resizing, and cannot be customized at design time.
Handle the CustomizeSimpleDiagramLayout event to manually adjust these options (via the CustomizeSimpleDiagramLayoutEventArgs.Dimension and CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection properties).