Apama 10.15.0 | Building and Using Apama Dashboards | Dashboard Property Reference for Graphs, Tables and Trends | Trend Objects | Stock charts | Stock chart: Price Trace group
 
Stock chart: Price Trace group
The properties control the visibility and appearance of the price trace, as well as the data to which it is attached.
Trace group properties
The group includes the following properties:
* priceTraceBarGainColor
* priceTraceBarLossColor
* priceTraceCurrentTable
* priceTraceFillStyle
* priceTraceHistoryTable
* priceTraceLabel
* priceTraceLineColor
* priceTraceLineStyle
* priceTraceLineThickness
* priceTraceType
* priceTraceVisFlag
priceTraceBarGainColor
Sets the color to indicate that a stock price value at market close is greater than value at market open. Select the ... button and choose a color from the palette. Close the Color Chooser window when you are done.
The default is green.
Note: 
This property does not apply if you have chosen Line for the priceTraceType property or both Candlestick for priceTraceType and None for priceTraceFillStyle.
This property is in the Price Trace property group.
priceTraceBarLossColor
Sets the color to indicate that a stock price value at market close is less than value at market open. Select the ... button and choose a color from the palette. Close the Color Chooser window when you are done.
The default is red.
Note: 
This property does not apply if you have chosen Line for the priceTraceType property or both Candlestick for priceTraceType and None for priceTraceFillStyle.
This property is in the Price Trace property group.
priceTraceCurrentTable
Attach your tabular data to the priceTraceHistoryTable and priceTraceCurrentTable properties. The priceTraceCurrentTable property is used for viewing live data. The table in your data attachment should contain a single row that corresponds to and continually updates the last point on the graph.
Unless you attach this property to a DataView OHLC table, the table in your data attachment must contain the following five columns in this specific order:
*Date: Following are the supported formats for this column are:
*mm/dd/yyyy hh:mm:ss (for example, 01/16/2010 12:30:03)
*yyyy-mm-dd hh:mm:ss (for example, 2010-01-16 12:30:03)
*The number of milliseconds since midnight, January 1, 1970 UTC
*Open: Value of stock price at first market open for defined time period
*High: High value of stock price for defined time period
*Low: Low value of stock price for defined time period
*Close: Value of stock price at last market close for defined time period
See Attaching Dashboards to Correlator Data.
This property is in the Price Trace property group.
priceTraceFillStyle
Select one of the following candlestick fill styles for from the drop down menu:
*Solid
*Transparent
*Gradient
*Transparent Gradient
*None
This setting has an effect only if priceTraceType is set to CandleStick.
The default setting is None.
This property is in the Price Trace property group.
priceTraceHistoryTable
Attach your tabular data to the priceTraceHistoryTable or priceTraceCurrentTable property. The priceTraceHistoryTable property is used for viewing and analyzing historical data (data generated before the correlator first sends data to this particular chart). The table in your data attachment should contain multiple rows, each corresponding to a point on the graph.
Unless you attach this property to a DataView OHLC table, the table in your data attachment must contain the following five columns in this specific order:
*Date: Following are the supported formats for this column:
*mm/dd/yyyy hh:mm:ss (for example, 01/16/2010 12:30:03)
*yyyy-mm-dd hh:mm:ss (for example, 2010-01-16 12:30:03)
*The number of milliseconds since midnight, January 1, 1970 UTC
*Open: Value of stock price at first market open for the defined time period
*High: High value of stock price for the defined time period
*Low: Low value of stock price for the defined time period
*Close: Value of stock price at last market close for the defined time period
See Attaching Dashboards to Correlator Data.
This property is in the Price Trace property group.
priceTraceLabel
Enter a label for the price trace line. This label appears in the chart's legend, as well as in the tooltip enabled by the mouseOverFlag property.
This property is in the Price Trace property group.
priceTraceLineColor
Sets the price trace line color. Select the ... button and choose a color from the palette. Close the Color Chooser window when you are done.
Note: 
This property does not apply if you chose OHLC or Bar for priceTraceType.
This property is in the Price Trace property group.
priceTraceLineStyle
Select one of the following line styles for the price trace line from the drop down menu:
*No Line
*Solid
*Dotted
*Dashed
*Dot Dashed
This property is in the Price Trace property group.
priceTraceLineThickness
Select one of the following thickness specifications for the price trace line from the drop down menu:
*Thin
*Medium
*Thick
Note: 
This property does not apply if you chose OHLC or Candlestick for priceTraceType.
This property is in the Price Trace property group.
priceTraceType
Select one of the following trace types from the drop down menu:
*Line: A line graph that shows closing price values
*Bar: A bar graph that shows closing price values
*OHLC: A bar extending from the low to high price for each trading day. A left flange indicates the opening price and a right flange indicates the closing price. The priceTraceBarLossColor and priceTraceBarGainColor properties show whether the stock closed at a higher or lower price than the opening price.
*Candlestick: A bar extending from the opening to closing price for each trading period. The wicks on either end show the high and low for the trading period. The priceTraceBarLossColor and priceTraceBarGainColor properties show whether the stock closed at a higher or lower price than the opening price.
This property is in the Price Trace property group.
priceTraceVisFlag
Use the checkbox to control price trace visibility.
This property is in the Price Trace property group.