DisplayGridLines property

Member of XAxis and YAxis objects.
Returns or sets whether or not grid lines are displayed on the chart. Read/write. Boolean.
Syntax
axis
.
DisplayGridLines
[
= state
]
where
axis
- is an XAxis or YAxis object, or an expression that evaluates to an XAxis or YAxis object.
The DisplayGridLines property of an XAxis object controls vertical grid lines and the DisplayGridLines property of a YAxis object controls horizontal grid lines.
state
- is a parameter of the type Boolean that can be set to one of the following:
  • True
    . Displays grid lines.
  • False
    . Does not display grid lines.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal