Update cookies preferences
Promotic

FillType - property of the tvGraph object

Description:
Filling type of the trend graph area.
Syntax:
Long FillType
Values:
0 - No filling
1 - Filling up the area of lower values (under the graph)
2 - Filling up the area of greater values (above the graph)
3 - Full filling up the graph area
10 - Filling up the area up to the limit value by the FillColor
11 - Filling up the area up to the limit value by the FillColor The area of lower values is filled up by the FillColor2 color.
12 - Filling up the area up to the limit value by the FillColor The area of greater values is filled up by the FillColor2 color.
Note:
Property access for read and write. The default value of this property is defined in the "tvTrend > Graphic mode > Fill > Type" configurator of this object.
 
This property is also functional in Web panels.
 
When the object is created, the value of this property is copied from the PmgTrendViewer.GraphInit object.
 
Values FillType=10/11/12 can be entered only
- if tvGraph.Type is not "Const(x)".
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oGraphDef = oTView.Trends("t1").GraphDefault;
var nFillType = oGraphDef.FillType;   // Reading from the property

oGraphDef.FillType = 1;   // Writing into the property
oTView.Draw();
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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