I am drawing a curve in Zedgraph like this:
GraphPane myPane = zgc.GraphPane;
PointPairList list1 = new PointPairList();
for(int i =0; i<10; i++)
list1.Add(i,i);
LineItem myCurve = myPane.AddCurve("Title",
list1, Color.Red, SymbolType.None);
zgc.AxisChange();
zgc.Refresh();
How can I display a cursor (or any other graphic object) at a certain x
, y
point on myCurve
like this:
SetCursor(myCurve, list1[3]);