Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Max - property of object ExtTrend

Description:
Maximum value of the variable..
Syntax:
Max As Double
Calling:
d = oTrend.Item(2).Max
Note:
Property access for read and write. The preset value of this property is defined in the Maximum configurator of this object.

The value entered here is used as initialization value for trend views (for TrendsView object). The value is entered in the following property: tvTrend.ValueMax

Example1:
Examples of obtaining this property in script.
value = pMe.Pm("/data/#vars/Temperature/#ext/trend").Max
or
value = pMe.Pm("/data/#vars/Temperature").Extension("trend").Max
or
value = pMe.Pm("/data").Item("Temperature").Extension("trend").Max
Example2:
Example of obtaining this property by Macro expression from another data extension via pDE variable.
$.expr("pDE.var.Extension('trend').Max")
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice