ChartDirector 5.1 (PHP Edition)

WebChartViewer.setViewPortWidth


Usage

setViewPortWidth(width)

Description

Sets the width of the view port.

The view port 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 view port.

Return Value

None