%HI_SetGraphXYToolTipText function


Function
Function sets location and content of the tooltip text displayed in graph on position _x, _y.


Declaration
%HI_SetGraphXYToolTipText(
   INT in refId,
   INT in _lineNr,
   REAL in _x,
   REAL in _y,
   TEXT in _text
 )
Parameters
refIdGraph reference (reference variable).
lineNrNumber of the line to which the description relates.
xCenter of the text for x- position.
yCenter of the text for y- position.
textDisplayed text.
Description
Function sets location and content of the tooltip text displayed in graph on position _x, _y, and relates to functions %HI_SetGraphXYText and %HI_SetGraphXYTextParams.

It is possible to enter descriptive texts for object X, Y graph, these are displayed in the graph sheet.
Common parameters for these actions are:
  • type of description (Tooltip - %HI_SetGraphXYToolTipText, Standard text - %HI_SetGraphXYText),
  • text coordinates X, Y (for Tooltip identical with the coordinate on the line, not needed for standard text),
  • number of line, the description relates to (after "delete" the line, descriptive texts are deleted also),
  • if the line is not visible, neither the texts related to the line are visible,
  • font (HBJ to object text style) (not valid for Tooltip),
  • text color (RBG) (not valid for Tooltip),
  • set texts are valid till new data for line are set.
Example
%HI_SetGraphXYToolTipText(  _Graph, 1, 8.0, 2.0, "Val: 8.0, 2.0")

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .