ZedGraph设置辅助线
1.一般来说ZedGraph设置参考线可以用
ZedGraph对象.YAxis.MajorGrid.IsVisible = True '水平参考线
ZedGraph对象.XAxis.MajorGrid.IsVisible = True '垂直参考线
2.就是通过在ZedGraph上画个box来假装辅助线
BoxObj box = new BoxObj(x轴刻度, (y轴刻度), 宽, 高, color,
color);
box.Fill = new Fill(Color.White, color, 45.0F);
box.ZOrder = ZOrder.F_BehindGrid;
ZedGraph对象.GraphPane.GraphObjList.Add(box);
来源:https://www.cnblogs.com/rwhaoo/p/9414697.html