com.moneydance.awt.graph
Class DataSetUtilities
java.lang.Object
com.moneydance.awt.graph.DataSetUtilities
- public abstract class DataSetUtilities
- extends java.lang.Object
Method Summary |
static double[] |
getDateTicks(long minValue,
long maxValue,
int axisHeight,
int lineHeight)
|
static double[] |
getIntTicks(long minValue,
long maxValue,
int axisHeight,
int lineHeight)
|
static java.lang.String |
getLabelForValue(double value,
int type)
|
static double |
getMaxValue(double[] values)
|
static double |
getMinValue(double[] values)
|
static double[] |
getOtherTicks(double minValue,
double maxValue,
int axisHeight,
int lineHeight)
|
static double[] |
getTickValues(int lineHeight,
int axisHeight,
double minValue,
double maxValue,
int valueType)
|
static double[] |
getTimeTicks(long minValue,
long maxValue,
int axisHeight,
int lineHeight)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_DATE
public static final int TYPE_DATE
- See Also:
- Constant Field Values
TYPE_TIME
public static final int TYPE_TIME
- See Also:
- Constant Field Values
TYPE_FLOAT
public static final int TYPE_FLOAT
- See Also:
- Constant Field Values
TYPE_INT
public static final int TYPE_INT
- See Also:
- Constant Field Values
DataSetUtilities
public DataSetUtilities()
getLabelForValue
public static final java.lang.String getLabelForValue(double value,
int type)
getTickValues
public static final double[] getTickValues(int lineHeight,
int axisHeight,
double minValue,
double maxValue,
int valueType)
getIntTicks
public static final double[] getIntTicks(long minValue,
long maxValue,
int axisHeight,
int lineHeight)
getTimeTicks
public static final double[] getTimeTicks(long minValue,
long maxValue,
int axisHeight,
int lineHeight)
getDateTicks
public static final double[] getDateTicks(long minValue,
long maxValue,
int axisHeight,
int lineHeight)
getOtherTicks
public static final double[] getOtherTicks(double minValue,
double maxValue,
int axisHeight,
int lineHeight)
getMinValue
public static final double getMinValue(double[] values)
getMaxValue
public static final double getMaxValue(double[] values)