@Override public void zoom(double percent){
  for (int axisIdx=0; axisIdx < getAxisCount(); axisIdx++) {
    final ValueAxis axis=getAxis(axisIdx);
    if (axis != null) {
      if (percent > 0.0) {
        double radius=axis.getUpperBound();
        double scaledRadius=radius * percent;
        axis.setUpperBound(scaledRadius);
        axis.setAutoRange(false);
      }
 else {
        axis.setAutoRange(true);
      }
    }
  }
}

@ Override public void zoom ( double percent ) { for ( int axisIdx = 0 ; axisIdx < getAxisCount ( ) ; axisIdx ++ ) { final ValueAxis axis = getAxis ( axisIdx ) ; if ( axis != null ) { if ( percent > 0.0 ) { double radius = axis . getUpperBound ( ) ; double scaledRadius = radius * percent ; axis . setUpperBound ( scaledRadius ) ; axis . setAutoRange ( false ) ; } else { axis . setAutoRange ( true ) ; } } } }
zooms the axis ranges by the specified percentage about the anchor point .
