Example of displaying selected values trends in the trend viewer
The example shows how to select any trend data in a technological panel and then display the data in the trend viewer.
- This example is not functional for the Web.
- Located in the Pma objects tree: /Examples/Trends/Technol.
The trend data is emulated in the
Trend object (object of the
PmaTrendGroup type) in the
Common object (object of the
PmaFolder type).
In the
PmgButton object (One-state button) named "
Trend" there is a list of selected
Pmg objects names. The list matches the names of trend values in the
Trend object. The list is transferred to the
PanelTrend panel where in the
onStart event of the
PmgTrendViewer object processes the connection to corresponding trend variables and displays the trends.