A newer version of this page is available. Switch to the current version.

XRChart.CustomizeSimpleDiagramLayout Event

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll


public event CustomizeSimpleDiagramLayoutEventHandler CustomizeSimpleDiagramLayout
Public Event CustomizeSimpleDiagramLayout As CustomizeSimpleDiagramLayoutEventHandler

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.


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