lxnd 8 years ago
parent
commit
0be72d21ea
3 changed files with 5 additions and 5 deletions
  1. 1 1
      yanshi/www/index.html
  2. 4 4
      yanshi/www/js/controllers.js
  3. 0 0
      yanshi/www/js/g2.js

+ 1 - 1
yanshi/www/index.html

xqd
@@ -28,5 +28,5 @@
 	<script src="js/controllers.js"></script>
 
 	<script src="https://a.alipayobjects.com/g/datavis/g2/2.2.3/g2.js"></script>
-	<script src="js/g2.js"></script>
+
 

+ 4 - 4
yanshi/www/js/controllers.js

xqd xqd
@@ -137,9 +137,9 @@ starter.controller('showCtrl',["$scope",'$ionicHistory','$state','$timeout','$st
 			            g: y,
 			            Altitude:z
 			        });
-					    console.log(x)
-						console.log(y)
-						console.log(z)
+					    console.log(x+'x')
+						console.log(y+'y')
+						console.log(z+'z')
 				}
 				
 	    
@@ -163,7 +163,7 @@ starter.controller('showCtrl',["$scope",'$ionicHistory','$state','$timeout','$st
           nice: false
         },
         'Altitude': {
-          tickCount:212
+          tickCount:5
         }
       };
 

+ 0 - 0
yanshi/www/js/g2.js