A DataView OHLC table is similar to a scenario OHLC table (see
Scenario OHLC table). It contains Open, High, Low, and Close values for a DataView item field as calculated for a specified time interval. As a dashboard or dashboard server receives update events for a DataView item it will calculate the Open, High, Low, and Close values for the field and add a row to an OHLC table at each time interval. The calculated values added will be for the preceding time interval.
OHLC tables allow dashboards to automatically create data suitable for display in a Candlestick or OHLC chart for any DataView-item field and time interval. When you create an attachment to an OHLC table you specify the field and time interval desired. An example would be selecting a Price field and a time interval of 5 seconds.
A separate OHLC table is used for each DataView item and each field and interval pair. If for the Price field you wanted OHLC data at both 5 and 30 second intervals; two OHLC tables would be created for each DataView item.