I found this file in support forum which is attached here. It renders a horizontal line like Ray with a start poin. but I am trying to change it to ray type line which can be controlled by start and end point with a mouse click so that I can use it as a manually drawn trend line, but line should not end at the end point; rather continue like ray. I am attaching the file which I found in the forum. any advice from anyone here on how to go about that will be appreciated.
currently I am using
Point startAdj = new Point(startPoint.X, startPoint.Y);
// Point endAdj = new Point(panel.X + panel.W, endPoint.X);
endPoint.X = endPoint.Y + panel.W;
Point endAdj = new Point(endPoint.Y + panel.W, endPoint.X);
Comment