Roo/bootstrap/Graph.js
authorEdward <edward@roojs.com>
Tue, 16 Dec 2014 08:12:09 +0000 (16:12 +0800)
committerEdward <edward@roojs.com>
Tue, 16 Dec 2014 08:12:09 +0000 (16:12 +0800)
Roo/bootstrap/Graph.js

index 0e50bd3..c7e97ac 100644 (file)
@@ -90,7 +90,7 @@ Roo.extend(Roo.bootstrap.Graph, Roo.bootstrap.Component,  {
     onRender : function(ct,position){
         Roo.bootstrap.Graph.superclass.onRender.call(this,ct,position);
         this.raphael = Raphael(this.el.dom);
-        this.raphael.setViewBox(0,0,800,600,true);
+        this.raphael.setViewBox(0,0,800,200,true);
         this.raphael.canvas.setAttribute('preserveAspectRatio', 'none');
         //         this.raphael.setViewBox(0,0,600,600,true);
 //        Roo.log(this.raphael);