afreechart/src/main/java/org/afree/chart/axis/ValueAxis.java
/**
     * Increases or decreases the axis range by the specified percentage about
     * the specified anchor value and sends an {@link AxisChangeEvent} to all
     * registered listeners.
     * <P>
     * To double the length of the axis range, use 200% (2.0). To halve the
     * length of the axis range, use 50% (0.5).
     * 
     * @param percent
     *            the resize factor.
     * @param anchorValue
     *            the new central value after the resize.
     * 
     * @see #resizeRange(double)
     * 
     * @since JFreeChart 1.0.13
     */
Increases or decreases the axis range by the specified percentage about
the specified anchor value and sends an  AxisChangeEvent to all
registered listeners.

To double the length of the axis range, use 200% (2.0). To halve the
length of the axis range, use 50% (0.5).

@param percent
the resize factor.
@param anchorValue
the new central value after the resize.




Increases or decreases the axis range by the specified percentage about the specified anchor value and sends an AxisChangeEvent to all registered listeners . To double the length of the axis range use 200% ( 2 . 0 ) . To halve the length of the axis range use 50% ( 0 . 5 ) . @param percent the resize factor . @param anchorValue the new central value after the resize .
public void resizeRange2(double percent, double anchorValue) {
        if (percent > 0.0) {
            double left = anchorValue - getLowerBound();
            double right = getUpperBound() - anchorValue;
            Range adjusted = new Range(anchorValue - left * percent,
                    anchorValue + right * percent);
            setRange(adjusted);
        } else {
            setAutoRange(true);
        }
    }
public void resizeRange2 ( double percent , double anchorValue ) { if ( percent > 0.0 ) { double left = anchorValue - getLowerBound ( ) ; double right = getUpperBound ( ) - anchorValue ; Range adjusted = new Range ( anchorValue - left * percent , anchorValue + right * percent ) ; setRange ( adjusted ) ; } else { setAutoRange ( true ) ; } }
Increases or decreases the axis range by the specified percentage about
 the specified anchor value and sends an {@link AxisChangeEvent} to all
 registered listeners.
Increases or decreases the axis range by the specified percentage about the specified anchor value and sends an { @link AxisChangeEvent } to all registered listeners .