ChartDirector 6.0 (Ruby Edition)

JsChartViewer.setViewPortTop


Usage

setViewPortTop(top)

Description

Sets the position of the top side of the viewport.

The position of the viewport top side is its distance from the top side of the underlying surface, as a fraction of the height of the underlying surface. It should be between 0 and 1.

Arguments

ArgumentDefaultDescription
top(Mandatory)The position of the top side of the viewport.

Return Value

None