ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Unable to access GridLines in Microsoft Graph Object [URGENT] (https://www.excelbanter.com/charts-charting-excel/16368-unable-access-gridlines-microsoft-graph-object-%5Burgent%5D.html)

usamaalam

Unable to access GridLines in Microsoft Graph Object [URGENT]
 
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.



All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com