.. highlightlang:: us .. index:: LayerSetAxisPosition .. _layersetaxisposition: LayerSetAxisPosition ==================== .. us.tag LayerSetAxisPosition ENGLISH LayerSet :ref:`LayerSetAxisPosition` specifies the position of the axis or hides the axis of an X/Y diagram. .. function:: bool = LayerSetAxisPosition(hLayer, ssXYZ, rsPosition) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hLayer Identifies the layer. .. uparam:: ssXYZ *ssXYZ* is "X" for the x-axis, "Y" for the y-axis and "Z" for the z-axis. .. uparam:: rsPosition *rsPosition* specifies the axis position: .. list-table:: :header-rows: 1 * - 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. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerGetAxisPosition` :sub:`id-1886040`