Back to Devexpress

ChartControl.CustomizeSimpleDiagramLayout Event

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-aab86081.md

latest3.1 KB
Original Source

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

NuGet Package : DevExpress.Win.Charts

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 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

Simple Diagram

Simple Diagram 3D

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace