The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRChart.CustomizeSimpleDiagramLayout Event

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

public event CustomizeSimpleDiagramLayoutEventHandler CustomizeSimpleDiagramLayout
Public Event CustomizeSimpleDiagramLayout As CustomizeSimpleDiagramLayoutEventHandler

Event Data

The CustomizeSimpleDiagramLayout event handler receives an argument of the CustomizeSimpleDiagramLayoutEventArgs type. 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