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);

  

  

 

相关文章:

  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2021-07-31
  • 2021-08-30
猜你喜欢
  • 2022-12-23
  • 2021-10-09
  • 2021-11-03
  • 2022-12-23
  • 2021-06-16
  • 2022-01-01
  • 2021-08-09
相关资源
相似解决方案