Back to Devexpress

WebChartControl.CustomizeSimpleDiagramLayout Event

aspnet-devexpress-dot-xtracharts-dot-web-dot-webchartcontrol-83150826.md

latest3.4 KB
Original Source

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

NuGet Package : DevExpress.Web.Visualization

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

See Also

Simple Diagram

Simple Diagram 3D

Integrate the WinForms Chart with the Pivot Grid Control

WebChartControl Class

WebChartControl Members

DevExpress.XtraCharts.Web Namespace