nz.org.venice.chart
Class GraphFactory
java.lang.Object
nz.org.venice.chart.GraphFactory
- public class GraphFactory
- extends java.lang.Object
|
Method Summary |
static Graph |
newGraph(java.lang.String graphName,
boolean index,
EODQuoteBundle quoteBundle,
Symbol symbol)
Create a new graph according to the name and using the supplied symbol and quote bundle. |
static Graph |
newGraph(java.lang.String graphName,
boolean index,
EODQuoteBundle quoteBundle,
Symbol symbol,
Adjustment adjust)
Create a new graph according to the name and using the supplied symbol and quote bundle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphFactory
public GraphFactory()
newGraph
public static Graph newGraph(java.lang.String graphName,
boolean index,
EODQuoteBundle quoteBundle,
Symbol symbol)
- Create a new graph according to the name and using the supplied symbol and quote bundle.
- Parameters:
graphName - The name of the graph type to create. (e.g. Moving Avg)index - If the graph is to be an index graphquoteBundle - the end of day bundle containg quote datasymbol - The symbol of the graph.
- Returns:
- a new Graph
newGraph
public static Graph newGraph(java.lang.String graphName,
boolean index,
EODQuoteBundle quoteBundle,
Symbol symbol,
Adjustment adjust)
- Create a new graph according to the name and using the supplied symbol and quote bundle.
- Parameters:
graphName - The name of the graph type to create. (e.g. Moving Avg)index - If the graph is to be an index graphquoteBundle - the end of day bundle containg quote datasymbol - The symbol of the graphadjust - An optional adjustment (for splits etc) applied to the data before graphing.
- Returns:
- a new Graph