ViewMode - property of the PmgTrendViewer object
Description:
Switches from/to the table mode.
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.
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
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim sViewMode
Set sViewMode = oTView.ViewMode
' Reading from the property
oTView.ViewMode = ""graph""
' Writing into the property