HI_SetGraphLineStat

HI_SetGraphLineStat

%HI_SetGraphLineStat function


Function

The function sets the statistic function displayed in the Universal column for given object in the graph table (control function).

Declaration

%HI_SetGraphLineStat( INT in refId, INT in lineNr, INT in statFnct )

Parameters

refId

Reference (reference variable) to displayer of Graph type.

lineNr

Serial number of graphic flow.

statFnct

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