Promotic

ViewMode - property of the PmgTrendViewer object

Description:
Switches from/to the table mode.
Syntax:
String ViewMode
Values:
"graph" (default) - The viewer displays the data in the form of graphs (graphic mode).
"table" - The viewer displays the data in the form of the table (table mode).
Note:
Property access for read and write. The default value of this property is defined in the "Data viewing mode" configurator of this object.
 
This property is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");

var sViewMode = oTView.ViewMode;   // Reading from the property
oTView.ViewMode = "\"graph\"";   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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