Update cookies preferences
Promotic

TimeZoomMaxForPoints - property of the PmgTrendViewer object

Description:
Maximum value of viewer time axis range for displaying points in the trend progress.
If the current range of the time axis (the difference TimeMax - TimeMin) is less then or equal to the value of this property and the PointsVisible property is set to true, then the points are displayed in the trend progress.
Syntax:
Variant TimeZoomMaxForPoints
Values:
numeric value - The length of the time axis is set as a real number that means the number of days (e.g. 0.5 means a half day).
The -1 value means that the maximum value 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 time unit identifier (sec,min,hour,day).
Example: "1.5sec", "1min30sec".
Note:
Property access for read and write. The default value of this property is defined in the "Maximal time axis range for displaying points" configurator of this object.
 
This property is also functional in Web panels.
 
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 "1min".
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
oTView.TimeZoomMaxForPoints = 1/24/30;
Example2:
JavaScriptVBScriptSelect and copy to clipboard

oTView.TimeZoomMaxForPoints = "1.5min";
Example3:
JavaScriptVBScriptSelect and copy to clipboard

oTView.TimeZoomMaxForPoints = "1hour30min";
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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