ChartDirector 7.1 (.NET Edition)

JsChartViewer.setViewPortWidth


Usage

setViewPortWidth(width)

Description

Sets the width of the viewport.

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

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the viewport.

Return Value

None