com.jidesoft.chart.model
Class ChartPointOHLC
java.lang.Object
com.jidesoft.chart.model.ChartPointND
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 axisinterval
- the width of the interval in millisecondsopen
- the opening valuehigh
- the high valuelow
- the low valueclose
- 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 axisinterval
- the width of the interval in millisecondsopen
- the opening valuehigh
- the high valuelow
- the low valueclose
- the closing value
getOpen
public double getOpen()
getClose
public double getClose()
getHigh
public double getHigh()
getLow
public double getLow()