integ/js/vs/_vs.chart.js
changeset 65 b13a409f01dc
parent 64 2937fe1ba865
child 66 a77532772aa4
--- a/integ/js/vs/_vs.chart.js	Mon May 06 14:57:50 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-(function ($) {
-$.fn.vs.chart = {
-	/* 
-		actually empty everything is in 
-	   _vs.AxisLabelLayout.js,
-       _vs.AxisLayout.js,
-       _vs.CircleLayout.js,
-       _vs.CollapsedStackLayout.js,
-       _vs.GridLayout.js,
-       _vs.StackedAreaChart.js
-   
-
-  this.update = function(_this,options){
-    var defaultOptions = {cat:0,y:0}
-    if(_this.chartPhySetup.grounds[options.cat]!=null) {
-      var myBody = _this.chartPhySetup.grounds[options.cat].GetBody();
-      var myPos = myBody.GetWorldCenter();
-      myPos.y-=options.y/ _this.settings.options.scale;
-      myBody.SetPosition(myPos);
-      //console.log(myBody)
-    }
-  }
-
-  this.getPosition = function(_this){
-    var result =[]
-    for (var i = 0; i < _this.chartPhySetup.grounds.length; i++) {
-      myBody = _this.chartPhySetup.grounds[i].GetBody();
-     
-      console.log(myBody.GetWorldCenter())
-     
-      result.push({
-        x:(myBody.GetWorldCenter().x* _this.settings.options.scale),
-        y:(myBody.GetWorldCenter().y* _this.settings.options.scale),
-        a:myBody.GetAngle()
-      })
-    
-    };  
-   return result 
-  }
- */
-}
-
-
-})(jQuery);