ChartDirector 7.0 (Java Edition)

ChartViewer.setViewPortTop


Usage

public void setViewPortTop(double 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