Unable to access GridLines in Microsoft Graph Object [URGENT]

U

usamaalam

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/d...s/vbagr11/html/grobjGridlines1_HV05207434.asp

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top