TicksMajorGridColor Property (AAxis)

Returns or sets the color of major grid lines on the object.

Syntax

Object.TicksMajorGridColor [ = clrTicksMajorGrid ]

The TicksMajorGridColor property syntax has the following parts:

 

Name

Type

Description

Object

AAxis

AAxis object

clrTicksMajorGrid

AColor

An integer specifying the color of major grid lines of the axis object.

Comments

The colors are specified by their RGB values. The default is the current Ambient foreground color.

Example

The following statement changes the AAxis TicksMajorGridColor to blue.

axs1.TicksMajorGridColor=aBlue

Applies to

AAxis

See Also

TicksAboveRight, TicksBelowLeft, TicksInside, TicksMajor, TicksMajorBase, TicksMajorColor, TicksMajorDivisions, TicksMajorGrid, TicksMajorInterval, TicksMinor, TicksOutside, TicksSpacing