Applies to

grAxis objects in Graph controls


The SecondaryLine property specifies the style of the lines used in the axis parallel to and opposite the primary axis in the graph.


In a painter

The line style settings for an axis are disabled in the painter if the axis is not appropriate for the graph type.

To set the secondary line style:

  1. Display the Axis tab from the graph control's Properties view and select the desired axis from the Axis list.

  2. Select the desired line style from the SecondaryLine drop-down list in the Line Style group.

In scripts

The SecondaryLine property takes a value of the LineStyle enumerated datatype. The following example sets the SecondaryLine property of the Values axis of a graph to a dash:

gr_1.Values.SecondaryLine = Dash!