line.set_second_point

Moves the second end of the line to a chart.point.

line.set_second_point(id: line, point: @chart.point)

Parameters

Example

l.set_second_point(chart.point.now(high))