Back to Devexpress

XRChart.CustomizeSimpleDiagramLayout Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-550a297e.md

latest3.8 KB
Original Source

XRChart.CustomizeSimpleDiagramLayout Event

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public event CustomizeSimpleDiagramLayoutEventHandler CustomizeSimpleDiagramLayout
vb
Public Event CustomizeSimpleDiagramLayout As CustomizeSimpleDiagramLayoutEventHandler

Event Data

The CustomizeSimpleDiagramLayout event's data class is CustomizeSimpleDiagramLayoutEventArgs. The following properties provide information specific to this event:

PropertyDescription
DimensionSpecifies the dimensions of the Simple Diagram.
LayoutDirectionSpecifies 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

Simple Diagram

Simple Diagram 3D

AutoLayoutSettingsEnabled

Integrate the WinForms Chart with the Pivot Grid Control

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace