Free Support Forum -

Major Axis Gridlines

I’m trying to get a graph to show major axis gridlines on both the category axis and value axis. I can get the value axis to appear, however, I an unable to change the color or even display a category axis. Is there any way I can go about this? I’ve tried using the Chart.MajorGridLines namespace, but it only seems to make the value axis visible or invisible.

I add this feature in the latest hotfix. Please download it at

You can try the following code:

chart.ValueAxis.MajorGridLines.IsVisible = false;
chart.CategoryAxis.MajorGridLines.IsVisible = true;

Chart.MajorGridLines is obsolete. Please don’t use this property now.

Works great! Thank you much!