version 1
CT SHOW GRID LINES (area; object; axis; grid; visible)
Parameter | Type | Description | |
area | Longint | 4D Chart area | |
object | Longint | Object ID | |
axis | Integer | Axis for which to show/hide grid lines | |
0 = Category | |||
1 = Series | |||
2 = Values | |||
grid | Integer | Grid lines to show/hide | |
0 = Minor | |||
1 = Major | |||
visible | Integer | Hide or show grid lines | |
0 = Hide | |||
1 = Show |
Description
The CT SHOW GRID LINES command displays or hides the major and/or minor grid lines for the axis specified by area, object, and axis.
The grid parameter allows you to specify which grid lines should be affected by the command. Major grid lines are spaced at the major increments; minor grid lines are spaced at the minor increments.
The visible parameter allows you to specify whether or not the specified grid lines are visible.
Example
This example displays the minor grid lines of the Values axis for the chart specified by $ChartID.
CT SHOW GRID LINES (Area;$ChartID;2;0;1)
See Also
CT GET CHART LINE ATTRIBUTES, CT SET CHART LINE ATTRIBUTES.