afreechart/src/main/java/org/afree/chart/axis/NumberAxis.java
/**
     * Calculates the number of visible ticks.
     * 
     * @return The number of visible ticks on the axis.
     */
Calculates the number of visible ticks.

@return The number of visible ticks on the axis.
Calculates the number of visible ticks . @return The number of visible ticks on the axis .
protected int calculateVisibleTickCount() {
        double unit = getTickUnit().getSize();
        return (int) (Math.floor(this.mRange.getUpperBound() / unit)
                - Math.ceil(this.mRange.getLowerBound() / unit) + 1);
    }
protected int calculateVisibleTickCount ( ) { double unit = getTickUnit ( ) . getSize ( ) ; return ( int ) ( Math . floor ( this . mRange . getUpperBound ( ) / unit ) - Math . ceil ( this . mRange . getLowerBound ( ) / unit ) + 1 ) ; }
Calculates the number of visible ticks.
Calculates the number of visible ticks .
//perfromance tuning //Range range = getRange();