Bounds bo = getPlotBounds( ); double xOff = bo.getLeft( ); double yOff = bo.getTop( ); double width = bo.getWidth( ); double height = bo.getHeight( );     if ( width > height && width != 0 )
if ( isDimension3D( ) )
	protected Location getPanningOffset( )	{		Bounds bo = getPlotBounds( );		double xOff = bo.getLeft( );		double yOff = bo.getTop( );		double width = bo.getWidth( );		double height = bo.getHeight( );		// TODO read from custom panning setting		// automatically adjust panning offset		if ( width > height && width != 0 )		{			// decrease y-offset			yOff -= ( width - height ) * ( height / width ) / 4;		}		else if ( width < height && height != 0 )		{			// increase y-offset			yOff += ( height - width ) * ( width / height ) / 4;		}		return LocationImpl.create( xOff, yOff );	}