OHLC/HLC bar series

An OHLC/HLC bar series is a sequence of vertical bars, each bar connected to two horizontal dashes displayed on opposite sides. This type of series is intended to be used in the stock market, displaying prices progression against time. The top and bottom of the vertical bars correspond to the 'high' and 'low' values, whereas the left and right horizontal dashes correspond to the 'open' and 'close' values, respectively.

Any OHLC series type is 'ohlc'. To specify an OHLC/HLC bar series the parameter seriex_type must be passed values 0 or 1, to identify an OHLC or HLC bar series, respectively.
The number of values passed to the seriex_values parameter must always be a multiple of 4. Every sequential set of 4 values is assigned to one data point, corresponding to the open, high, low and close values.

For a complete list of OHLC/HLC bar series parameters, click here. The properties of OHLC/HLC bar series are a subset of this list.

For a complete list of parameters shared by series displayed by GraphApplet.class, click here.




<applet code="GraphApplet.class" codebase="../../../demo/applets/classes" archive="GraphChart.jar" width=400 height=250>

<param name="serie1" value="ohlc,OHLC bar series,0000ff">
<param name="serie1_type" value="0"> <!-- 0 is an OHLC bar series and 1 is an HLC bar series.-->
<param name="serie1_values" value="
185.00,178.00,179.00,182.5,
196.00,183.50,183.95,192.90,
196.95,189.20,194.00,190.00,
195.50,186.55,191.00,187.25,
195.60,190.00,192.00,192.00,
207.35,190.10,191.10,207.35,
214.00,193.10,211.25,196.15,
202.80,189.50,196.00,196.45,
206.35,194.30,197.00,199.00,
208.00,197.00,204.00,198.10">
</applet>