Articles in this section
Category / Section

How to make visible the grid lines of primary category axis in the chart?

1 min read

There are two types of grid lines in chart.

  • Major Grid Lines
  • Minor Grid Lines 

To make the major and minor grid lines visible, set HasMajorGridLines, HasMinorGridLines property of PrimaryCategoryAxis to true.

C#

columnChart.PrimaryCategoryAxis.HasMajorGridLines = true;
columnChart.PrimaryCategoryAxis.HasMinorGridLines = true;

VB

columnChart.PrimaryCategoryAxis.HasMajorGridLines = True
columnChart.PrimaryCategoryAxis.HasMinorGridLines = True

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied