Spacing Property (GridLines)
The space between grid-lines.
Syntax
Property Spacing As DerivedDouble (read-only)
Remarks
No grid-lines are displayed when this value is 0.0.
Example
' Set X-axis grid increment
Chart2D1.ChartArea.Axes("X").MajorGrid.Spacing = 1.0
See Also
DerivedDouble Object
GridLines Object