@Test public void testTicksForRange3() { ValueAxis axis = ValueAxis.createAutoAxis(0.0, 10.0, 21); assertAxisEquals(0.0, 10.0, new double[]{0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0}, new String[]{"0.0", "0.5", "1.0", "1.5", "2.0", "2.5", "3.0", "3.5", "4.0", "4.5", "5.0", "5.5", "6.0", "6.5", "7.0", "7.5", "8.0", "8.5", "9.0", "9.5", "10.0"}, axis); }
public static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks) { return createAutoAxis(minValue, maxValue, maxTicks, Double.MIN_VALUE); }
ValueAxis { public static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks) { return createAutoAxis(minValue, maxValue, maxTicks, Double.MIN_VALUE); } }
ValueAxis { public static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks) { return createAutoAxis(minValue, maxValue, maxTicks, Double.MIN_VALUE); } ValueAxis(double minValue, double maxValue, double[] tickValues, String[] tickStrings); }
ValueAxis { public static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks) { return createAutoAxis(minValue, maxValue, maxTicks, Double.MIN_VALUE); } ValueAxis(double minValue, double maxValue, double[] tickValues, String[] tickStrings); double getMinValue(); double getMaxValue(); double[] getTickValues(); String[] getTickLabels(); static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks); static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks, double minIncrement); }
ValueAxis { public static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks) { return createAutoAxis(minValue, maxValue, maxTicks, Double.MIN_VALUE); } ValueAxis(double minValue, double maxValue, double[] tickValues, String[] tickStrings); double getMinValue(); double getMaxValue(); double[] getTickValues(); String[] getTickLabels(); static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks); static ValueAxis createAutoAxis(double minValue, double maxValue, int maxTicks, double minIncrement);  }