Developing Apama Applications > Building Dashboards > Attaching Dashboards to Correlator Data > Dashboard data tables > Scenario trend table
Scenario trend table
A scenario trend table contains the values of variables of a single scenario instance. A separate data table is used for each instance of a scenario. Each row in the table contains the value of the variables as reported in an Update event. Each row also contains a timestamp indicating when the Update occurred.
The following diagram illustrates the contents of a scenario trend table.
apama.timestamp
Price
Velocity
Shares
Position
T0
28.5
0.0125
10000
285000
T1
28.5
0.0
9900
282150
T2
28.4
-0.125
9900
281160
Here the table contains the values of three Update events occurring at times T0, T1, and T2.
Trend tables are limited in size; by default they will hold 1000 rows. The maximum row count is a configurable option. When a data table is full each new Update event will result in the oldest row being removed and a new row being added.
Trend tables are for use with trend and stock charts where you want to graph the changes of a variable value over time.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.