[]
Gets or sets whether the axis displays major gridlines.
This property applies only to axes in the primary axis group.
bool HasMajorGridlines { get; set; }
Property HasMajorGridlines As Boolean
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
axis.HasMajorGridlines = true;
bool hasMajorGridlines = axis.HasMajorGridlines;