Bar Graph Data Requirements

Using ADF Graph Components 24-13 Scatter graphs have either a single y-axis or a dual y-axis. Each data marker in a scatter graph represents two values: ■ The first data value is the X value. It determines the marker’s location along the x-axis. ■ The second data value is the Y value. It determines the marker’s location along the y-axis. Data guidelines for scatter graphs are: ■ Scatter graphs require two data values for each marker. ■ For more than one group of data, the data must be in multiples of two.

24.3.12 Sparkchart Data Requirements

Sparkcharts are used for displaying trends or variations in a single series of data values. They are condensed, simple visualizations designed to be stamped in a table or used inline with text. Since sparkcharts contain no labels, the adjacent columns of a table or surrounding text provide context for sparkchart content. Sparkcharts do not accept tabular data or graphDataModel. Data guidelines for sparkcharts are: ■ Line, bar, and area sparkcharts require a single series of data values. Figure 24–3 shows an example of a line sparkchart in a table column. Figure 24–3 Line Sparkchart ■ Floating bar sparkcharts require two series of data values, one for the float offset, and one for the bar value Figure 24–4 shows an example of a floating bar sparkchart in a table column. Figure 24–4 Floating Bar Sparkchart

24.3.13 Stock Graph Data Requirements

Stock graphs display stock prices and, optionally, the volume of trading for one or more stocks in a graph. When any stock or candle stock graph includes the volume of trading, the volume appears as bars in the lower part of the graph. Candle stock graphs display stock prices and, optionally, the volume of trading for only a single stock. When a candle stock graph includes the volume of trading, the volume appears as bars in the lower part of the graph. Candle stock graphs also show the lesser of the open and close values at the bottom of the candle. The greater value appears at the top of the candle. If the closing value is 24-14 Web User Interface Developers Guide for Oracle Application Development Framework greater than the opening value, then the candle is green. If the opening value is higher than the closing value, then the candle is red.

24.3.13.1 Stock Graphs: High-Low-Close

Data requirements for a high-low-close stock graph are: ■ Each stock marker requires a group of three data values in the following sequence: High, Low, Close. To display stock data for more than one day, data must be in multiples of three, such as three data values for Monday, three data values for Tuesday, and so on. ■ A series or set of data is represented by markers of the same color that represent one stock. A series is labeled by legend text such as Stock A. The legend appears even if you have only one stock with the except of candle stock graphs. Most high-low-close stock graphs have only one series. If you show more than one series and the prices of the different stocks overlap, then some stock markers obscure other stock markers.

24.3.13.2 Stock Graphs: High-Low-Close with Volume

Data requirements for a high-low-close stock graph with volume are: ■ Each stock marker requires a group of four data values in the following sequence: High, Low, Close, Volume. To display stock data for more than one day, data must be in multiples of four and sequenced as follows: Monday High, Monday Low, Monday Close, Monday Volume, and so on for each additional day. ■ High-low-close stock graphs that also show volume can display the data for only one stock. The label for this stock appears in the legend of the graph.

24.3.13.3 Stock Graphs: Open-High-Low-Close

Data requirements for an open-high-low-close stock graph are: ■ Each stock marker requires a group of four data values in the following sequence: Open, High, Low, Close. To display stock data for more than one day, data must be in multiples of four, such as four data values for Monday, four data values for Tuesday, and so on. ■ A series or set of data is represented by markers that have the same color and represent one stock. A series is labeled by legend text such as Stock A. The legend appears even if you have only one stock. Most open-high-low-close stock graphs have only one series. If you show more than one series and the prices of the different stocks overlap, then some stock markers obscure other stock markers.

24.3.13.4 Stock Graphs: Open-High-Low-Close with Volume

Data requirements for an open-high-low-close stock graph with volume are: ■ Each stock marker requires a group of five data values in the following sequence: Open, High, Low, Close, Volume. To display stock data for more than one day, data must be in multiples of five and sequenced as follows: Monday Open, Monday High, Monday Low, Monday Close, Monday Volume, and so on for each additional day. ■ Open-high-low-close stock graphs that also show volume can display the data for only one stock. The label for this stock appears in the legend of the graph.