Applies to

grAxis objects in Graph controls


The OriginLine property specifies the style of the line that represents the value zero for that axis in the graph. In the painter, the line style settings for an axis are disabled if the axis is not appropriate for the graph type.


In a painter

To select an origin line style:

  1. Display the Axis tab page from the graph's Properties view and select the desired axis from the Axis drop-down list.

  2. Select the desired line style from the OriginLine list in the Line Style group.

In scripts

The OriginLine property takes a value of the LineStyle enumerated datatype. The following statement makes the Values axis origin line a dashed line:

gr_1.Values.OriginLine = Dash!