.. highlightlang:: us .. index:: LayerGetAxisMinMaxDelta .. _layergetaxisminmaxdelta: LayerGetAxisMinMaxDelta ======================= .. us.tag LayerGetAxisMinMaxDelta ENGLISH LayerGet :ref:`LayerGetAxisMinMaxDelta` returns the start, end and delta values of the axis scale. .. function:: rvMinMaxDelta = LayerGetAxisMinMaxDelta(hLayer, ssXYZ) .. us.return **Return Value** *rvMinMaxDelta* is a vector with the start, end and delta values of the axis scale. If the axis is time/date scaled, the return value is a vector with 4 elements: [rsMin, rsMax, rsDelta, nDeltaUnit]. The value nDeltaUnit specifies the unit of the parameter rsDelta. It can be one of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - 1 - Seconds * - 2 - Minutes * - 3 - Hours * - 4 - Days * - 5 - Month * - 6 - Years .. 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. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerSetAxisMinMaxDelta`, :ref:`LayerAutoScale`, :ref:`LayerCreate` :sub:`id-1117806`