Promotic

FillColor - property of the tvGraph object

Description:
Color of the graph filling.
Syntax:
String FillColor
Note:
Property access for read and write. The default value of this property is defined in the "tvTrend > Graphic mode > Fill > Color" configurator of this object.
 
This property is also functional in Web panels.
 
The property returns or sets the RGB String in the form "#RRGGBB".
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.FillColor = "#00ff00";   // Writing into the property
oTView.Draw();
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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