ChartDirector 5.1 (.NET Edition)

WebChartViewer.ViewPortWidth


Declaration

[VB] Public Property ViewPortWidth As Double
[C#] public double ViewPortWidth {get; set;};

Description

Gets or sets the width of the view port.

Note: This property is applicable only if the browser side JsChartViewer is included in the web page.

The view port width is expressed as a fraction of the width of the underlying surface. It should be between 0 and 1.