Porovnávané verzie
porovnané s
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 | ||||
---|---|---|---|---|
| ||||
%HI_SetGraphInfo( INT in refId, INT in index, TEXT in descr [, TEXT in units] ) |
Parameters
refId | Reference to a displayer (reference variable). |
index | Serial number of the 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.
Procedure:
Before the procedure execution:
After the procedure execution:
Procedure:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY btn_OnClick %HI_SetGraphInfo(_graph, 1, "Description") END btn_OnClick |
Info | ||
---|---|---|
| ||
Graphic object manipulation functions |