Chart.Width Property

.NET Framework (current version)
 

Gets or sets the width of the entire chart image in pixels.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

<BindableAttribute(True)>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
Public Overrides Property Width As Unit

Property Value

Type: System.Web.UI.WebControls.Unit

A Unit value that represents the width, in pixels, of the entire chart image.

Do not specify the value in percentage (%) or point (pt). Otherwise, an exception is thrown.

.NET Framework
Available since 4.0
Return to top
Show: