Move a trend line.

 
How do I know which endpoint on the trend line I move with the mouse?
I will write the new value to Global Variable.
Reason: