場景 Winforn中設置ZedGraph曲線圖的屬性、坐標軸屬性、刻度屬性: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100112573 https://www.cnblogs.com/badaoliumangqizhi/ ...
場景
Winforn中設置ZedGraph曲線圖的屬性、坐標軸屬性、刻度屬性:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100112573
https://www.cnblogs.com/badaoliumangqizhi/p/11422087.html
在上面對ZedGraph的屬性進行設置後導致曲線圖出現眾多豎直虛線。
實現
這是因為對ZedGraph設置了小刻度,將其設置為false即可。
ZedGraphControl zgc GraphPane myPane = new GraphPane(); /獲取控制項的Pane myPane = zgc.GraphPane; //顯示小刻度 是false則看不到效果 myPane.XAxis.MinorGrid.IsVisible = false;
修改之後