%HI_SetGraphInfo function


Old name
%HI_SetDiatrendInfo
Function
The function %HI_SetGraphInfo sets the user's description of the graphic flow in the displayer of Graph or XY Graph types (Control function).
Declaration
%HI_SetGraphInfo(
   INT in refId, 
   INT in index, 
   TEXT in descr
   [, TEXT in units]
 ) 

Parameters
refId Reference to displayer (reference variable).
index Serial number of graphic flow.
descr Graphic flow description.
units Technical units.

Description
The graph must be placed in the picture, where the parameter refId is the reference variable of the graph. The parameter index defines the serial number of the graphic flow (numbering from 1).
Example
The example contains the description of the graph (defined by the reference variable _graph) that displays the graphic flow of the object "Sec" before and after execution of the procedure btn_OnClick, where btn is the reference variable of the Windows control of Button type.

Before the procedure execution:


After the procedure execution:


Procedure:
 
ENTRY btn_OnClick
   %HI_SetGraphInfo(_graph, 1, "Description")
 END btn_OnClick

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ť .