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

WebChartControl.Width Property

Gets or sets the width of the chart.

Namespace: DevExpress.XtraCharts.Web

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


public override Unit Width { get; set; }
Public Overrides Property Width As Unit

Property Value

Type Description

A Unit value which represents the control's width.


This property is overridden because the WebChartControl's width can be specified only in pixels. Otherwise, the ArgumentException with the following message will be raised: "The chart width must be set in pixels."

See Also