%HI_SetGraphXYTextParams function


Function
 Function sets parameters for descriptive text displayed in the graph.


Declaration
%HI_SetGraphXYTextParams(
   INT in refId,
   INT in _lineNr,
   HBJ in _txtStyle,
   INT in _rgb
 )
Parameters
refIdGraph reference (reference variable).
lineNrNumber of the line to which the description relates.
txtStylefont (HBJ to object text style)
rgbText color (RBG).
Description
 Function sets parameters for the descriptive text displayed in graph and relates to functions
%HI_SetGraphXYToolTipText and %HI_SetGraphXYText.
 
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)
Example
%HI_SetGraphXYTextParams(  _Graph, 1, Stl1.STL\HBJ,  %MakeRGB(0, 127, 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ť .