Skip to main content
A newer version of this page is available. .

ChartControlSettings.Width Property

Gets or sets the width of the chart.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public override Unit Width { get; set; }

Property Value

Type Description
Unit

A Unit value which is the control’s width.

Remarks

This property is overridden because the ChartControlSettings‘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