ResetType - property of the tvTrend object
Draw type of invalid areas.
The invalid area in the trend 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.
0 - Invalid area (reset area) is not drawn
- Invalid area (area reset) is drawn in the normal way, as if there was no reset.
- System drawing of invalid areas by discrete line of the width 1 with the same color as the GraphDefault
Property access for read and write
This property is also functional in Web panels
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
: New option 1
that draws the reset area in a normal way.