TimeZoomMax - property of the PmgTrendViewer object
Maximum limit of viewer time axis range.
It cannot be set the range of the viewer time axis greater than the TimeZoomMax.
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 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 time unit identifier (sec,min,hour,day).
Example: "1.5sec", "1min30sec".
Property access for read and write
The default value of this property is defined in the "Maximal time axis range
" configurator of this object.
This property is also functional in Web panels
The property is used only if the graphic mode
When reading from the property, the numeric value is always returned.
Initial value is set to 1460
, which corresponds to 4 years.
var oTView = pMe.Items("../TrendView");
oTView.TimeZoomMax = 1.5;
oTView.TimeZoomMax = "0.5day";
oTView.TimeZoomMax = "1hour30min";