GridLines property: Gantt class
Description
Use this property to specify whether to show grid lines with the chart.
Gantt charts only support the %ChartGrid_Vertical and %ChartGrid_None values.
Grid lines are shown within the chart section of the Gantt chart, if enabled, and are tied to the major tick mark. The major tick mark is associated with the smallest time increment displayed on the time line axis. For example, if both years and months are displayed on the time line axis, the major tick marks denote the months.
If you do not specify a value, no grid lines are shown (%ChartGrid_None).
This property controls only the display of grid lines. If you want to specify the style of the grid lines, use the GridLineType property.
The values are:
| Numeric Value | Constant Value | Description |
|---|---|---|
|
0 |
%ChartGrid_None |
Don't show grid lines (default) |
|
2 |
%ChartGrid_Vertical |
Show vertical grid lines |
This property is read/write.
Related Topics