HI_SetGraphBackColor

HI_SetGraphBackColor

%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 )

Parameters

refId

Reference to displayer (reference variable).

RGB

RGB index of 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.