Back to Devexpress

ChartControlSettings.Width Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-chartcontrolsettings-90d19e49.md

latest1.4 KB
Original Source

ChartControlSettings.Width Property

Gets or sets the width of the chart.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Property Value

TypeDescription
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

ChartControlSettings Class

ChartControlSettings Members

DevExpress.Web.Mvc Namespace