Now user selects 2 random points in the plot X v/s Y where he feels that its a straight line and on click of submit button, I need to calculate the slope between those 2 user selected points. (That means, I need to get the coordinates of those 2 points)
Can anyone help me in developing this jsp ??
This would be very helpful for me in completing my project.