%HI_GetGraphAxis, %HI_SetGraphAxis functions


Function
The function %HI_SetGraphAxis sets the number of axis to be displayed in displayer of Graph or XY Graph types (control function).

The function %HI_GetGraphAxis returns the number of an axis displayed in displayer of Graph or XY Graph types.
Declaration
%HI_SetGraphAxis(
   INT in refId,
   INT in axis,
   INT in nr
 )
 
 
 INT %HI_GetGraphAxis(
   INT in refId,
   INT in axis
 ) 

Parameters
refId Reference to displayer (reference variable).
axis Axis in graph. Possible values:
  • 1 - left axis
  • 2 - right axis
nr Axis serial number. Value of 0 - axis not displayed.

Description
The function %HI_SetGraphAxis sets the axis defined by the parameter nr as right or left one (according the parameter axis).

The function %HI_GetGraphAxis retrieves the number of right or left axis.
Napíšte komentár