Applies to
grAxis objects in Graph controls
Description
The PrimaryLine property specifies the line style for the primary line used for the axis itself. The line style settings for an axis are disabled if the axis is not appropriate for the graph type. Primary lines are not visible if the line style is set to transparent!.
Usage
In a painter
To set the primary line style for an axis:
-
Display the Axis tab page from the graph's Properties view and select the desired axis from the Axis drop-down list.
-
Select the desired line style from the PrimaryLine drop-down list in the Line Style group.
In scripts
The PrimaryLine property takes a value of the LineStyle enumerated datatype. The following line sets the PrimaryLine property for the Values axis of a Graph to a dash:
gr_1.Values.PrimaryLine = Dash!