Promotic

Action - method of the PmgTrendViewer object

Description:
Performs the action specified in the sType parameter in the trend viewer.
Syntax:
Empty Action(String sType)
Parameters:
sType(String) Specifies the action that will be performed in the trend viewer.
"undo" - Reversion of the time values of the left/right edge of the time axis or of the minimum/maximum values of the value axis by one step back.
The time of the edges or the minimum/maximum can be changed, for example, by calling the methods PmgTrendViewer.ZoomTime, PmgTrendViewer.ZoomValue, PmgTrendViewer.ScrollTime, PmgTrendViewer.ScrollValue, ... or by moving, by zooming the time axis or value axis by the mouse dragging.
Note:
This method is not functional yet in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe;
oTView.Action("undo");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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