Method Summary |
|
public static void | addDataToSet(TreeSet set, Number[][] data) Adds a two-dimensional array to a TreeSet. |
public static double | calculateTickSpacing(double min, double max) Calculates the best tick spacing for the rounded minimal and maximal
values. |
public static double | ceil(double d, int exp) This method returns the smallest double value that is smaller than
d = x * 10exp where x is rounded up to
the closest integer. |
public static int | exp(double d) A double value can be represented like
d = x * 10exp and this method returns
the value of exp for a double d. |
public static double | floor(double d, int exp) This method returns the largest double value that is smaller than
d = x * 10exp where x is rounded down to
the closest integer. |
public static double | interpolate(double xa, double ya, double x) This function performs a polynomial interpolation using a set of
given x and y values. |
public static void | main(String[] args) A test routine. |
public static double[] | performAutoScale(double min, double max) This method calculates the optimal rounding for the minimal and
maximal ChartModel values. |
public static Number[][] | transformArray(int[][] data) Transforms a two-dimensional array of primitives
to an array of Numbers. |
public static Number[][] | transformArray(double[][] data) Transforms a two-dimensional array of primitives
to an array of Numbers. |
public static Number[] | transformArray(double[] data) Transforms an array of primitives
to an array of Numbers. |
public static Number[] | transformArray(int[] data) Transforms an array of primitives
to an array of Numbers. |