JIDE 3.5.15

com.jidesoft.chart.model
Class ChartPointOHLC

java.lang.Object
  extended by com.jidesoft.chart.model.ChartPointND
      extended by com.jidesoft.chart.model.ChartPointOHLC
All Implemented Interfaces:
Chartable, Chartable3D, ChartableND, Highlightable, Comparable<Chartable>

public class ChartPointOHLC
extends ChartPointND

A ChartPoint specialised for financial charts in which each point has an open, high, low and close value. The point is positioned along a time axis, and summarises the behaviour of the measured value over an interval.


Constructor Summary
ChartPointOHLC(Date timestamp, double interval, double open, double high, double low, double close)
          Create a point for a financial chart with open, high, low, close values associated with a time point that summarises behaviour over an interval.
ChartPointOHLC(long timestamp, double interval, double open, double high, double low, double close)
          Create a point for a financial chart with open, high, low, close values associated with a time point that summarises behaviour over an interval.
 
Method Summary
 double getClose()
           
 double getHigh()
           
 double getLow()
           
 double getOpen()
           
 
Methods inherited from class com.jidesoft.chart.model.ChartPointND
compareTo, get, getDimensionCount, getHighlight, getX, getY, getZ, isHighlight, set, setHighlight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartPointOHLC

public ChartPointOHLC(long timestamp,
                      double interval,
                      double open,
                      double high,
                      double low,
                      double close)
Create a point for a financial chart with open, high, low, close values associated with a time point that summarises behaviour over an interval.

Parameters:
timestamp - the centre point along the x axis
interval - the width of the interval in milliseconds
open - the opening value
high - the high value
low - the low value
close - the closing value

ChartPointOHLC

public ChartPointOHLC(Date timestamp,
                      double interval,
                      double open,
                      double high,
                      double low,
                      double close)
Create a point for a financial chart with open, high, low, close values associated with a time point that summarises behaviour over an interval.

Parameters:
timestamp - the centre point along the x axis
interval - the width of the interval in milliseconds
open - the opening value
high - the high value
low - the low value
close - the closing value
Method Detail

getOpen

public double getOpen()

getClose

public double getClose()

getHigh

public double getHigh()

getLow

public double getLow()

JIDE 3.5.15