VisuFctCalculateMaxTooltipLength (FUN)

FUNCTION VisuFctCalculateMaxTooltipLength : INT

This method calculates a suitable maximum tooltip length the trace or trend displays. The return value is this length

InOut:

Scope

Name

Type

Comment

Return

VisuFctCalculateMaxTooltipLength

INT

Input

pArrItfTraceMgrVariables

POINTER TO ARRAY [0..0] OF ITraceMgrVariable

The POINTER to the array ITraceMgrVariable instances representing the configuration of the variables to trace.

iCountVariables

INT

The effective array size of the array above.

xHasTriggerTooltip

BOOL

A flag indicating, whether the visu element displays also trigger values in tooltip (TRUE, for the trace element) or not (FALSE, for the trend element)

itfTimestampLengthProvider

ITimestampLengthProvider

An instance of ITimestampLengthProvider, that can provide the maximum length of a timestamp