Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%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 the Graph or XY Graph types (Control function).
Declaration
Blok kódu
languageesl
themeConfluence
%HI_SetGraphInfo(
   INT in refId, 
   INT in index, 
   TEXT in descr
   [, TEXT in units]
 ) 
Parameters
refIdReference to a displayer (reference variable).
indexSerial number of the graphic flow.
descrGraphic flow description.
unitsTechnical 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:
 

Blok kódu
languageesl
themeRDark
ENTRY btn_OnClick
   %HI_SetGraphInfo(_graph, 1, "Description")
 END btn_OnClick