%HI_SetGraphLineStat function


Function
The function sets the statistic function displayed in the Universal column for the given object in the graph table (control function).
Declaration
%HI_SetGraphLineStat(
   INT in refId,
   INT in lineNr,
   INT in statFnct
 )
Parameters
refIdReference (reference variable) to a displayer of the Graph type.
lineNrSerial number of the graphic flow.
statFnctType of statistic function. Possible values:
  • 1 - minimum
  • 2 - maximum
  • 3 - last value
  • 4 - sum
  • 5 - average
Note: Value other than abovementioned disables the statistics, i.e. the Universal column will not show any value.
Description
The function sets the statistic function specified by the parameter statFnct for object lineNr. Result if of the statistic function is to be shown in the table of displayer of Graph type (parameter refId) - the Universal column - for given object.
Note
More information - the parameter Table columns in the configuration of graphs.
Napíšte komentár