setY
setY(y: Integer) updating;
The setY method of the Point primitive type sets the y (vertical) value of the receiver.
The code fragments in the following examples show the use of the setY method.
gLine.lastPoint.setY(self.height.Integer); newPoint.setY(yScale.heightOfYValue(dataArray.last).Integer);