WebChartControl.CustomizeSimpleDiagramLayout Event
Occurs after the adaptive layout is enabled for the chart control to customize the Simple Diagram‘s layout properties.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v24.1.Web.dll
NuGet Package: DevExpress.Web.Visualization
Declaration
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 the adaptive chart layout feature is enabled (the WebChartControl.AutoLayout property is set to true), 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).