|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides an abstraction of the data being graphed, this way graphs do not need to know anything about the underlying data they are graphing.
| Field Summary | |
static int |
ADVANCEDECLINE
|
static int |
INDEX
|
static int |
PORTFOLIO
|
static int |
SYMBOL
|
| Method Summary | |
void |
adjust(int type,
double adjustValue,
java.lang.Comparable startPoint,
boolean direction)
Apply an adjustment to the data. |
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 |
int |
getType()
Return the type of the data. |
java.lang.String |
getYLabel(double value)
Convert the Y value to a label to be displayed in the vertical axis. |
| Field Detail |
public static final int SYMBOL
public static final int INDEX
public static final int PORTFOLIO
public static final int ADVANCEDECLINE
| Method Detail |
public java.lang.String getName()
public int getType()
public java.lang.String getToolTipText(java.lang.Comparable x)
x - the X value
public java.lang.String getYLabel(double value)
value - y value
public double[] getAcceptableMajorDeltas()
Graph.getAcceptableMajorDeltas()public double[] getAcceptableMinorDeltas()
Graph.getAcceptableMajorDeltas()public Graphable getGraphable()
public void adjust(int type,
double adjustValue,
java.lang.Comparable startPoint,
boolean direction)
type - A split or a dividend.adjustValue - The value applied to each data point from start point.startPoint - The point in the data from which to start adjusting.direction - If true, will adjust the data in a positive direction.
|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||