方法一:使用如下代码:
this.chart1.chartArea[0].AxisX.MajorGrid.LineColor = System.Drawing.Color.Transparent;
this.chart1.chartArea[0].AxisY.MajorGrid.LineColor = System.Drawing.Color.Transparent;
方法二:在属性栏上设置
方法一:使用如下代码:
this.chart1.chartArea[0].AxisX.MajorGrid.LineColor = System.Drawing.Color.Transparent;
this.chart1.chartArea[0].AxisY.MajorGrid.LineColor = System.Drawing.Color.Transparent;
方法二:在属性栏上设置