Skip to main content

WebChartControl.Width Property

Gets or sets the width of the chart.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v22.1.Web.dll

Declaration

public override Unit Width { get; set; }

Property Value

Type Description
Unit

A Unit value which represents the control’s width.

Remarks

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