Hello everybody,

I am using Microsoft Graph object to design charts etc. I need to remove
gridlines from the graph and uses following code from MSDN but I am unable to
find HasMajorGridLines or GridLines properties in the object. I am using C#.

Here is the code.

With myChart.Axes(xlCategory)
.HasMajorGridlines = True
.MajorGridlines.Border.Color = RGB(0, 0, 255)
.MajorGridlines.Border.LineStyle = xlDash
End With

This code is from.
http://msdn.microsoft.com/library/de...HV05207434.asp

Thanks.