MajorGridColor Property

3D Graph Control

MajorGridColor Property

Syntax

CWTicks3D.MajorGridColor

Data Type

Color

Purpose

Specifies the color of major grid lines.

Example

'Enable Major and Minor grid lines on the graph's x-axis
CWGraph3D1.Axes.Item(1).Ticks.MajorGrid = True
CWGraph3D1.Axes.Item(1).Ticks.MinorGrid = True

'Set the grid line colors
CWGraph3D1.Axes.Item(1).Ticks.MajorGridColor = vbRed
CWGraph3D1.Axes.Item(1).Ticks.MinorGridColor = vbYellow

See Also

MinorGridColor