我正在像这样在 Zedgraph 中绘制曲线:
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();
如何在某个点上显示光标(或任何其他图形对象) x
,如下所示:y
myCurve
SetCursor(myCurve, list1[3]);