I have a MSChart Control that displays as follows:
MSChart.jpg
As you can see from the code above. I have have tried setting the AxisY MajorGrid and MinorGrids AND MajorTickMark and MinorTickMark to Enabled = false, but that seems to have no affect on the grid mess you see along the Y Axis. Is there some other variables that need to be set to remove all Grids from the Y Axis?Code:chartMRBDaily.ChartAreas[0].AxisY.MajorGrid.Enabled = false; chartMRBDaily.ChartAreas[0].AxisY.MajorTickMark.Enabled = false; chartMRBDaily.ChartAreas[0].AxisY.MinorGrid.Enabled = false; chartMRBDaily.ChartAreas[0].AxisY.MinorTickMark.Enabled = false;




Reply With Quote
