Applies to

grAxis objects in Graph controls


The ScaleType property specifies the scale used for an axis. An axis can have linear or logarithmic scaling. The default is Linear. Other values are Log10 and LogE.


In a painter

To select the scale type for an axis:

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

  2. Select the desired type from the ScaleType drop-down list in the Scale group.

In scripts

The ScaleType property takes a value of the grScaleType enumerated datatype.

To set the scale type of the Values axis of gr_1 to log 10, use a line like the following: