TimeType - property of the PmgTrendViewer object
Description:
Type of values on horizontal axis. The horizontal axis can be either the time (default) or numeric axis.
Values:
1 - The horizontal axis is
numeric (real numbers with a decimal part).
All methods of the tvPoints object that use the time in their parameters or returned values, take real numbers with possible decimal part instead of time values.
It has sense only for trends that are not connected to data source (to a variable in the PmaTrendGroup object).
2 (default) - The horizontal axis is time.
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nType = oTView.TimeType; //reading
oTView.TimeType = 2; //writing
Dim oTView, nType
Set oTView = pMe.Items("../TrendView")
Set nType = oTView.TimeType 'reading
oTView.TimeType = 2 'writing