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

An open-high-low-close stock graph with volume is the same as an open-high-low-close graph, except that it also displays the volume of shares traded in a separate area of the graph. Each stock marker displays four separate values. The bars in the lower part of the graph show trading volume.

The constant for this graph type is STOCK_VOLUME.

Standard use of a stock graph

You use stock graphs to show more than one stock price for a stock.

Data structure of an open-high-low-close stock graph with volume

The following figure shows the data structure of a STOCK_VOLUME stock graph.

Sample high-low-close-volume graph

The data structure for open-high-low-close stock graphs that show volume is as follows:

Each group in an open-high-low-close stock graph with volume has five values:

Data guidelines for open-high-low-close stock graphs with volume

Data for this kind of stock graph has the following guidelines:

Example: Data in an open-high-low-close stock graph with volume

The following graph shows the stock data for one stock for two different days.

Simple high-low-close-volume graph

The following table shows the structure of the data that the stock graph displays. This example assumes that Graph.isDataRowShownAsASeries returns true.

Mon Open Mon High Mon Low Mon Close Mon Volume Tues Open Tues High Tues Low Tues Close Tues Volume
22.25 27.63 21.88 26.13 22336 26.75 35.13 21.75 23.13 26374

Stock Graphs
Handling Problems in Graph Data
Specifying Data for a Graph
Example: Setting Data from a File on a High-Low-Close Stock Graph