DisplayName - property of the ExtTrend object
Description:
Name of displayed variable.
Syntax:
String DisplayName
Note:
Property access
for read and write.
The default value of this property is defined in the "
Displayed trend name" configurator of this object.
If this property was not set in the configurator or in the script, then it returns the value of the
PmVar.Name property.
The value entered here serves as initialization value for the trend viewer (for the
PmgTrendViewer object). This value is entered in the property:
tvTrend.Name.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard
sDisplayName = pMe.Pm("/data/#vars/Temperature/#ext/trend").DisplayName;
// or
sDisplayName = pMe.Pm("/data/#vars/Temperature").Extension("trend").DisplayName;
// or
sDisplayName = pMe.Pm("/data").Item("Temperature").Extension("trend").DisplayName;
sDisplayName = pMe.Pm("/data/#vars/Temperature/#ext/trend").DisplayName
' or
sDisplayName = pMe.Pm("/data/#vars/Temperature").Extension("trend").DisplayName
' or
sDisplayName = pMe.Pm("/data").Item("Temperature").Extension("trend").DisplayName
Example2:
The example for obtaining this property by
Macro expression from another data extension via
pVar variable.