ChartDirector 7.1 (.NET Edition)

WebChartViewer.ViewPortWidth


Declaration

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

Description

Gets or sets the width of the viewport.

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

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