.. highlight:: us .. index:: LayerSetAxisLabelRotation .. _layersetaxislabelrotation: LayerSetAxisLabelRotation ========================= .. us.tag LayerSetAxisLabelRotation LayerAxisLabel NewR2026.4 :ref:`LayerSetAxisLabelRotation` sets the rotation angle of the labels for the specified axis. .. function:: bool = LayerSetAxisLabelRotation(hLayer, ssXYZ, rsAngle) .. us.return **Return Value** The function returns TRUE (1) if it succeeds; otherwise, it returns FALSE (0). .. us.params **Parameters** .. uparam:: hLayer *hLayer* is the handle of the diagram layer created with :ref:`LayerCreate`. .. uparam:: ssXYZ *ssXYZ* specifies the axis. Valid values are ``"X"`` for the x-axis, ``"Y"`` for the y-axis, and ``"Z"`` for the z-axis. .. uparam:: rsAngle *rsAngle* specifies the rotation angle of the axis labels. **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2026.4 - New .. seealso:: :ref:`overview-diagrams`, :ref:`LayerGetAxisLabelRotation` :sub:`id-1717529`