|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.exponto.jstock.Series
Constructor Summary | |
Series()
Creates new Serie |
Method Summary | |
static double |
base(double dbl)
Returns a double that are the base (what is the proper name???) value of dbl. |
static double |
findSignificant(double dbl,
int n)
Returns a double that are the n most significant numbers of dbl. |
static double |
roundToStepSize(double value,
double stepSize)
Calculates the distance between supportlines used in drawing graphs. |
static double |
stepSize(double min,
double max,
int height)
Calculates the distance between supportlines used in drawing graphs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Series()
Method Detail |
public static double base(double dbl)
dbl
- Input double
public static double findSignificant(double dbl, int n)
dbl
- Input doublen
- number of significant numbers to return
public static double stepSize(double min, double max, int height)
min
- lowest value found in the dataseriesmax
- highest value found in the dataseries
public static double roundToStepSize(double value, double stepSize)
value
- Input valuestepSize
- The stepSize
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |