TimeZoomMaxForValues - property of object TrendsView
Maximum limit for setting the range (length) of the time axis of the viewer for displaying values at the points of the viewer. If the current range of the time axis (the difference TimeMax
) is less or equal to the value of this property and the ValuesVisible
property is set, then the numeric values
are displayed at the points in the trend progress.
TimeZoomMaxForValues As Variant
oTView.TimeZoomMaxForValues = n
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 maximum 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".
Property access for read and write
. The preset value of this property is defined in the "Maximal time axis range for values legend [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 "30sec".
var oTView = pMe.Acx;
oTView.TimeZoomMaxForValues = 1/24/30;
oTView.TimeZoomMaxForValues = "1.5min";
oTView.TimeZoomMaxForValues = "1hour30min";