|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.chart.source.OHLCVIndexQuoteGraphSource
public class OHLCVIndexQuoteGraphSource
Provides a EODQuoteBundle index source. This class
allows index sources for day Open, High, Low, Close and
Volume (OHLCV).
| Constructor Summary | |
|---|---|
OHLCVIndexQuoteGraphSource(EODQuoteBundle quoteBundle,
int quote)
Create a new graph source from the quote bundle with the given quote type. |
|
| Method Summary | |
|---|---|
double[] |
getAcceptableMajorDeltas()
Return an array of acceptable major deltas for the vertical axis. |
double[] |
getAcceptableMinorDeltas()
Return an array of acceptable minor deltas for the vertical axis. |
Graphable |
getGraphable()
Get the actual graphable data. |
java.lang.String |
getName()
Return the name of the data. |
java.lang.String |
getToolTipText(java.lang.Comparable x)
Get the tool tip text for the given X value |
java.lang.String |
getYLabel(double value)
Convert the Y value to a label to be displayed in the vertical axis. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OHLCVIndexQuoteGraphSource(EODQuoteBundle quoteBundle,
int quote)
quoteBundle - the quote bundle containing stock quotesquote - the quote kind, one of: Quote.DAY_OPEN,
Quote.DAY_CLOSE, Quote.DAY_HIGH or
Quote.DAY_LOW| Method Detail |
|---|
public Graphable getGraphable()
GraphSource
getGraphable in interface GraphSourcepublic java.lang.String getName()
GraphSource
getName in interface GraphSourcepublic java.lang.String getToolTipText(java.lang.Comparable x)
GraphSource
getToolTipText in interface GraphSourcex - the X value
public java.lang.String getYLabel(double value)
GraphSource
getYLabel in interface GraphSourcevalue - y value
public double[] getAcceptableMajorDeltas()
GraphSource
getAcceptableMajorDeltas in interface GraphSourceGraph.getAcceptableMajorDeltas()public double[] getAcceptableMinorDeltas()
GraphSource
getAcceptableMinorDeltas in interface GraphSourceGraph.getAcceptableMajorDeltas()
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||