ReportLineShape.Y2

From Xojo Documentation

Property (As Double )
aReportLineShape.Y2 = newDoubleValue
or
DoubleValue = aReportLineShape.Y2

Supported for all project types and targets.

The point on the Y axis where the line ends, measured in Reports.Units. The coordinate is relative to the section the Lineshape is in.