afreechart/src/main/java/org/afree/chart/plot/XYPlot.java
/**
     * Pans the range axes by the specified percentage.
     * 
     * @param percent
     *            the distance to pan (as a percentage of the axis length).
     * @param info
     *            the plot info
     * @param source
     *            the source point where the pan action started.
     * 
     * @since JFreeChart 1.0.13
     */
Pans the range axes by the specified percentage.

@param percent
the distance to pan (as a percentage of the axis length).
@param info
the plot info
@param source
the source point where the pan action started.


Pans the range axes by the specified percentage . @param percent the distance to pan ( as a percentage of the axis length ) . @param info the plot info @param source the source point where the pan action started .
public void panRangeAxes(double percent, PlotRenderingInfo info,
            PointF source) {
        if (!isRangePannable()) {
            return;
        }
        int rangeAxisCount = getRangeAxisCount();
        for (int i = 0; i < rangeAxisCount; i++) {
            ValueAxis axis = getRangeAxis(i);
            if (axis == null) {
                continue;
            }
            if (axis.isInverted()) {
                percent = -percent;
            }
            axis.pan(percent);
        }
    }
public void panRangeAxes ( double percent , PlotRenderingInfo info , PointF source ) { if ( ! isRangePannable ( ) ) { return ; } int rangeAxisCount = getRangeAxisCount ( ) ; for ( int i = 0 ; i < rangeAxisCount ; i ++ ) { ValueAxis axis = getRangeAxis ( i ) ; if ( axis == null ) { continue ; } if ( axis . isInverted ( ) ) { percent = - percent ; } axis . pan ( percent ) ; } }
Pans the range axes by the specified percentage.
Pans the range axes by the specified percentage .