.. highlightlang:: us .. index:: LayerSetAxisTitle .. _layersetaxistitle: LayerSetAxisTitle ================= .. us.tag LayerSetAxisTitle ENGLISH LayerAxisTitle The :ref:`LayerSetAxisTitle` function specifies the axis title. .. function:: bool = LayerSetAxisTitle(hLayer, ssXYZ, ssTitle) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hLayer *hLayer* is the handle of a diagram (layer). .. uparam:: ssXYZ *ssXYZ* is "X" for the x-axis, "Y" for the y-axis and "Z" for the z-axis. .. uparam:: ssTitle *ssTitle* is a scalar string. .. us.comment **Comment** To set the axis title automatically, see :ref:`LayerSetAxesAttribs`. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerGetAxisTitle`, :ref:`LayerSetAxesAttribs`, :ref:`LayerShowAxisTitle` :sub:`id-1086211`