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 point).
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 the variable in the
PmaTrendGroup object).
2 (default) - The horizontal axis is time.
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 nType = oTView.TimeType;
// Reading from the property
oTView.TimeType = 2;
// Writing into the property
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nType
Set nType = oTView.TimeType
' Reading from the property
oTView.TimeType = 2
' Writing into the property