Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TimeZoomMin - property of object TrendsView

Description:
Minimum limit of setting the range (length) of the viewer time axis. It is not possible to set the range of the viewer time axis less than the TimeZoomMin.
Syntax:
TimeZoomMin As Variant
Calling:
oTView.TimeZoomMin = n
Values:
number value - The length is set as a real number that means the number of days (e.g. 0.5 means a half day). The value -1 means that the minimum limit of setting the range is not restrained.
string value - The time span can be set in text form. In this case it is represented by a real number followed by the the time unit identifier (sec,min,hour,day). Example: "1.5sec", "1min30sec".
Note:
Property access for read and write. The preset value of this property is defined in the "Minimal time axis range [sec]" configurator of this object.

The property is used only if the graphic mode is set.

When reading from the property, the numeric value is always returned.

Initial value is set to 1/24/3600/20, which corresponds to 0.05 seconds.

Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Acx;
oTView.TimeZoomMin = 1.5;
Example2:
JavaScriptVBScriptSelect and copy to clipboard

oTView.TimeZoomMin = "0.5sec";
Example3:
JavaScriptVBScriptSelect and copy to clipboard

oTView.TimeZoomMin = "1min30sec";
PROMOTIC 9.0.0 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