afreechart/src/main/java/org/afree/chart/axis/NumberAxis.java
/**
     * Selects an appropriate tick value for the axis. The strategy is to
     * display as many ticks as possible (selected from an array of 'standard'
     * tick units) without the labels overlapping.
     * 
     * @param canvas
     *            the graphics device.
     * @param dataArea
     *            the area defined by the axes.
     * @param edge
     *            the axis location.
     */
Selects an appropriate tick value for the axis. The strategy is to
display as many ticks as possible (selected from an array of 'standard'
tick units) without the labels overlapping.

@param canvas
the graphics device.
@param dataArea
the area defined by the axes.
@param edge
the axis location.
Selects an appropriate tick value for the axis . The strategy is to display as many ticks as possible ( selected from an array of ' standard ' tick units ) without the labels overlapping . @param canvas the graphics device . @param dataArea the area defined by the axes . @param edge the axis location .
protected void selectAutoTickUnit(Canvas canvas, RectShape dataArea,
            RectangleEdge edge) {
        if (RectangleEdge.isTopOrBottom(edge)) {
            selectHorizontalAutoTickUnit(canvas, dataArea, edge);
        } else if (RectangleEdge.isLeftOrRight(edge)) {
            selectVerticalAutoTickUnit(canvas, dataArea, edge);
        }
    }
protected void selectAutoTickUnit ( Canvas canvas , RectShape dataArea , RectangleEdge edge ) { if ( RectangleEdge . isTopOrBottom ( edge ) ) { selectHorizontalAutoTickUnit ( canvas , dataArea , edge ) ; } else if ( RectangleEdge . isLeftOrRight ( edge ) ) { selectVerticalAutoTickUnit ( canvas , dataArea , edge ) ; } }
Selects an appropriate tick value for the axis.
Selects an appropriate tick value for the axis .