Promotic

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.
Syntax:
Long TimeType
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.
See also:
- tvPoints (object)
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
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.