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

WebChartControl.Diagram Property

Gets the web chart control's diagram and provides access to its settings.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v19.2.Web.dll

Declaration

public Diagram Diagram { get; set; }
Public Property Diagram As Diagram

Property Value

Type Description
Diagram

A Diagram object that represents the chart control's diagram.

Remarks

Note that you can't set the Diagram property manually. It's available to be set for serialization purposes only. For more information on the chart control's diagram see the Diagram object's description.

Examples

The following code shows how to change the XYDiagram.Rotated property value. Note that this code is valid only if the current chart's diagram (returned by its ChartControl.Diagram or WebChartControl.Diagram property) is an XYDiagram or its descendant.

((DevExpress.XtraCharts.XYDiagram)chartControl1.Diagram).Rotated = true;
See Also