Promotic
WikipediaLinkedInYoutubeTwitterFacebook

FillColor2 - property of the tvGraph object

Description:
Color of graph filling. This color is used for filling only if the FillType property is set to 11 or 12, i.e. to the filling type that uses more colors for filling up the graph area.
Syntax:
String FillColor2
Note:
Property access for read and write. The preset value of this property is defined in the "Graphic mode > Fill > Color2" configurator of this object.

The property returns/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.FillColor2 = "#00ff00";  //writing
oTView.Draw();
PROMOTIC 9.0.15 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice