TimeMax - property of the PmgTrendViewer object
Description:
Time of viewer right edge.
The property always returns local time.
Note:
Property access for
read only.
This property is also functional in
Web panels.
It is possible to change this property for example:
- for graphic mode: to call the
ZoomTime method (e.g. with the
nType=1 parameter)
- for table mode: to call the
ScrollTime method (e.g. with the
nType=1 parameter)
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nTime = oTView.TimeMax;
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nTime
Set nTime = oTView.TimeMax