ResetType - property of the tvTrend object
Description:
Draw type of invalid areas.
The invalid trend area is a time-range when the application was stopped or any other failure occurred in runtime. The first trend point has set the reset attribute after re-starting the application.
Values:
0 - Invalid area (reset area) is not drawn
1 - Invalid area (area reset) is drawn in the normal way, as if there was no reset.
2 (default) - System drawing of invalid areas by discrete line of the width 1 with the same color as the
GraphDefault
Note:
Property access
for read and write.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
var nResetType = oTrend.ResetType;
// Reading from the property
oTrend.ResetType = 0;
// Writing into the property
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim oTrend
Set oTrend = oTView.Trends(0)
Dim nResetType
nResetType = oTrend.ResetType
' Reading from the property
oTrend.ResetType = 0
' Writing into the property
History:
Pm9.00.26: New option
1 that draws the reset area in a normal way.