Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.UI.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

public event CustomizeSimpleDiagramLayoutEventHandler CustomizeSimpleDiagramLayout

#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).

See Also