FillType - property of the tvGraph object
Description:
Filling type of the trend graph area.
Values:
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
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();
Dim oTView, oGraphDef, nFillType
Set oTView = pMe.Items("../TrendView")
Set oGraphDef = oTView.Trends("t1").GraphDefault
nFillType = oGraphDef.FillType
' Reading from the property
oGraphDef.FillType = 1
' Writing into the property
oTView.Draw