afreechart/src/main/java/org/afree/chart/axis/ValueAxis.java
/**
     * Converts a length in data coordinates into the corresponding length in
     * Java2D coordinates.
     * 
     * @param length
     *            the length.
     * @param area
     *            the plot area.
     * @param edge
     *            the edge along which the axis lies.
     * 
     * @return The length in Java2D coordinates.
     */
Converts a length in data coordinates into the corresponding length in
Java2D coordinates.

@param length
the length.
@param area
the plot area.
@param edge
the edge along which the axis lies.

@return The length in Java2D coordinates.
Converts a length in data coordinates into the corresponding length in Java2D coordinates . @param length the length . @param area the plot area . @param edge the edge along which the axis lies . @return The length in Java2D coordinates .
public double lengthToJava2D(double length, RectShape area,
            RectangleEdge edge) {
        double zero = valueToJava2D(0.0, area, edge);
        double l = valueToJava2D(length, area, edge);
        return Math.abs(l - zero);
    }
public double lengthToJava2D ( double length , RectShape area , RectangleEdge edge ) { double zero = valueToJava2D ( 0.0 , area , edge ) ; double l = valueToJava2D ( length , area , edge ) ; return Math . abs ( l - zero ) ; }
Converts a length in data coordinates into the corresponding length in
 Java2D coordinates.
Converts a length in data coordinates into the corresponding length in Java2D coordinates .