Grid Property [AutoAxis]

The Grid property allows access to axis grid line settings. Returns an AutoAxisGrid object.

Syntax

object.Grid

object.Grid =Grid

Example

This example shows how to return the AutoAxisGrid object and create grid lines at major ticks.

'Show grid at all major ticks

XAxis.Grid.AtMajorTicks = True

XAxis.Grid.AtMajorLabelsOnly = False

 

Used by: AutoAxis object