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:
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
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim sBgColor
sBgColor = oTView.BackgroundColor
' Reading from the property
oTView.BackgroundColor = "#00ff00"
' Writing into the property