Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 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.
See also:
- tvPoints (object)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nType = oTView.TimeType;  //reading

oTView.TimeType = 2;  //writing
PROMOTIC 9.0.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice