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

WebChartControl.Height Property

Gets or sets the height of the WebChartControl.

Namespace: DevExpress.XtraCharts.Web

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

Declaration

public override Unit Height { get; set; }

Property Value

Type Description
Unit

A Unit value which represents the control’s height.

Remarks

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the Height property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also