LayerSetAxisPosition

LayerSetAxisPosition specifies the position of the axis or hides the axis of an X/Y diagram.

bool = LayerSetAxisPosition(hLayer, ssXYZ, rsPosition)

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.

rsPosition

rsPosition specifies the axis position:

Value Meaning
0 hide the axis
1 bottom for a X axis and left for a Y axis.
2 top for a X axis and right for a Y axis.

id-1886040