%HI_SetGraphAxisRange function


Function
The function sets the range of given axis of graph / XY graph connected in displayer of Graph or XY Graph types (Control function).
Declaration
%HI_SetGraphAxisRange(
   INT in refId, 
   INT in axisNr, 
   REAL in _low, 
   REAL in _high
 ) 

Parameters
refId Reference to displayer (reference variable).
axisNr Axis serial number.
_low Range begin.
_high Range end.

Description
The function sets the range of the axis specified by the parameter axisNr. If axisNr=0, the function sets the range of the X-axis. Axis range is defined by the parameters _low and _high.

If both parameters are valid, the axis type is static.
If both parameters are not valid, the axis type is fully dynamic.
If _low is valid and _high is invalid, the axis type is dynamic maximum.
If _low is invalid and _high is valid, the axis type is dynamic minimum.
Note
The set parameters are round to meaningful values regarding the range of values and a space to display an axis. When changing value 100 to one point on y-axis, setting of the thousands is meaningless. E.g. the range of 1243.7578624..5876.2897238 can be modified to the range 1000..6000.

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .