Promotic

TableBgColor - property of the tvGraph object

Description:
Background color of column values in the table mode.
Syntax:
String TableBgColor
Note:
Property access for read and write. The preset value of this property is defined in the "Table mode > Color > Background" configurator of this object.
 
The property returns or sets the RGB String in the form "#RRGGBB".
The property is used only if the table mode is set.
When the object is created, the value of this property is copied from the PmgTrendViewer.GraphInit object.
Example:
color setting by RGB String in the form "#RRGGBB"
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oGraphDef = oTView.Trends("t1").GraphDefault;
oGraphDef.TableBgColor = "#d0d0d0";   // Writing into the property
oTView.Draw();
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

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