LayerSetAxisScale

LayerSetAxisScale specifies the scale type of a diagram axis.

bool = LayerSetAxisScale(hLayer, ssXYZ, nScale)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hLayer

Identifies the layer.

ssXYZ

ssXYZ is “X” for the x-axis, “Y” for the y-axis and “Z” for the z-axis.

nScale

nScale is one of the following values:

Value

Meaning

0

Linear Scale

1

Log Scale

2

Square Scale

3

Time/Date Scale

4

Log Scale, Label linear increasing

5

Category axis. Only for x-axis

6

Crank Angle 720°. Only for x-axis.

7

Crank Angle 360°. Only for x-axis.

History

Version

Description

R2014.4

New nScale value Crank Angle.

R2014.0

New nScale value Category Axis.

id-2109954