%HI_SetGraphBackColor function


Function
The function %HI_SetGraphBackColor sets the background color of the graph connected to the displayer of Graph or XY Graph types (Control function).
Declaration
%HI_SetGraphBrowserBackColor(
   INT in refId, 
   INT in RGB,
  [INT in where = 0]
 )
Parameters
refIdReference to displayer (reference variable).
RGBRGB index of color.
where

0 - graph background color

1 - legend table text color

2 - legend table back color

Note
The function sets the background color of the graph connected to the displayer of Graph type.
The color can also be defined either when configuring the graph in the process D2000 HI (the parameter Background) or when configuring the settings of the process D2000 HI (the parameter Graph background).

To detect the RGB index of a color use the function %MakeRGB.
Napíšte komentár