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

XRChart.CustomizeSimpleDiagramLayout Event

Occurs before automatic settings are applied to the Simple Diagram‘s layout properties.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#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 an XRPivotGrid is assigned to the chart’s XRChart.DataSource property, and the XRChart.AutoLayoutSettingsEnabled property is enabled, the SimpleDiagram.Dimension (SimpleDiagram3D.Dimension) and SimpleDiagram.LayoutDirection (SimpleDiagram3D.LayoutDirection) properties are defined automatically, and cannot be customized at design time.

Handle the CustomizeSimpleDiagramLayout event, to manually adjust these options (via the CustomizeSimpleDiagramLayoutEventArgs.Dimension and CustomizeSimpleDiagramLayoutEventArgs.LayoutDirection properties).

To learn more, see Pivot Charting (Integration with a Pivot Grid Control).

See Also