I know that class, but I suppose my problem is to handle the graph
coordinates. How can I get the added point coordinates? or, for example, the
graph center coordinates? Are the coordinates zoom-dependent?
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using a text XAxis and I'd like to know whether is possible or not to draw
an horizontal line from one added point to the y Axis.
Bye
Please take a look at LineObj objects. It should help you.
I know that class, but I suppose my problem is to handle the graph
coordinates. How can I get the added point coordinates? or, for example, the
graph center coordinates? Are the coordinates zoom-dependent?
Thanks in advance
Ok, now I understand.
If you use LineObj with
Location.CoordinateFrame = CoordType.AxisXYScale(which is default) it is zoom-independent.
To get the coordinates you can catch the Curve you are drawing. For example,
if you draw line curve, you can use LineItem:
LineItem line = myPane.AddCurve(...)
and then access the points via line's properties.
The second way is to find your curve in myPane.CurveList list, and then find
the coordinates of your point.