.. highlightlang:: us .. index:: LayerSetLabelNum .. _layersetlabelnum: LayerSetLabelNum ================ .. us.tag LayerSetLabelNum NOTREADYENGLISH LayerAxisLabel Changed5510 Sets in connection with :ref:`LayerSetFixedLabelNum` the number of axis labels for autoscale. .. function:: bool = LayerSetLabelNum(hLayer, ssXYZ, nLabel) .. us.return **Return Value** *bool* is TRUE (1) if the function was successful and otherwise 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:: nLabel *nLabel* is the number of labels. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerIsFirstLabel`, :ref:`LayerShowFirstLabel`, :ref:`LayerGetLastLabel`, :ref:`LayerSetFixedLabelNum`, :ref:`LayerIsLabelNumEnabled`, :ref:`LayerGetLabelNum` :sub:`id-1949523`