Promotic

BackgroundColor - property of the PmgTrendViewer object

Description:
Background color of the viewer.
Syntax:
String BackgroundColor
Note:
Property access for read and write. The default value of this property is defined in the "Background color" configurator of this object.
 
This property is also functional in Web panels.
 
The property is used only if the graphic mode is set.
The property returns or sets the RGB String in the form "#RRGGBB".
Example:
color setting by RGB String in the form "#RRGGBB"
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");

var sBgColor = oTView.BackgroundColor;   // Reading from the property
oTView.BackgroundColor = "#00ff00";   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.