Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 preset value of this property is defined in the "Graphic mode > Fill > Type" configurator of this object.

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

oGraphDef.FillType = 1;  //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