afreechart/src/main/java/org/afree/chart/axis/NumberAxis.java
/**
     * Calculates the positions of the tick labels for the axis, storing the
     * results in the tick label list (ready for drawing).
     * 
     * @param canvas
     *            the graphics device.
     * @param state
     *            the axis state.
     * @param dataArea
     *            the area in which the plot should be drawn.
     * @param edge
     *            the location of the axis.
     * 
     * @return A list of ticks.
     * 
     */
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).

@param canvas
the graphics device.
@param state
the axis state.
@param dataArea
the area in which the plot should be drawn.
@param edge
the location of the axis.

@return A list of ticks.
Calculates the positions of the tick labels for the axis storing the results in the tick label list ( ready for drawing ) . @param canvas the graphics device . @param state the axis state . @param dataArea the area in which the plot should be drawn . @param edge the location of the axis . @return A list of ticks .
public List refreshTicks(Canvas canvas, AxisState state, RectShape dataArea,
            RectangleEdge edge) {
        List result = new java.util.ArrayList();
        if (RectangleEdge.isTopOrBottom(edge)) {
            result = refreshTicksHorizontal(canvas, dataArea, edge);
        } else if (RectangleEdge.isLeftOrRight(edge)) {
            result = refreshTicksVertical(canvas, dataArea, edge);
        }
        return result;
    }
public List refreshTicks ( Canvas canvas , AxisState state , RectShape dataArea , RectangleEdge edge ) { List result = new java . util . ArrayList ( ) ; if ( RectangleEdge . isTopOrBottom ( edge ) ) { result = refreshTicksHorizontal ( canvas , dataArea , edge ) ; } else if ( RectangleEdge . isLeftOrRight ( edge ) ) { result = refreshTicksVertical ( canvas , dataArea , edge ) ; } return result ; }
Calculates the positions of the tick labels for the axis, storing the
 results in the tick label list (ready for drawing).
Calculates the positions of the tick labels for the axis storing the results in the tick label list ( ready for drawing ) .