Roo/bootstrap/Graph.js
authorEdward <edward@roojs.com>
Tue, 16 Dec 2014 07:58:59 +0000 (15:58 +0800)
committerEdward <edward@roojs.com>
Tue, 16 Dec 2014 07:58:59 +0000 (15:58 +0800)
Roo/bootstrap/Graph.js

index d4a14fb..022cc7f 100644 (file)
@@ -91,6 +91,7 @@ Roo.extend(Roo.bootstrap.Graph, Roo.bootstrap.Component,  {
         Roo.bootstrap.Graph.superclass.onRender.call(this,ct,position);
         this.raphael = Raphael(this.el.dom);
         Roo.log(this.raphael);
+        this.raphael.setSize('100%', '100%');
                     // data1 = [[55, 20, 13, 32, 5, 1, 2, 10], [10, 2, 1, 5, 32, 13, 20, 55], [12, 20, 30]],
                     // data2 = [[55, 20, 13, 32, 5, 1, 2, 10], [10, 2, 1, 5, 32, 13, 20, 55], [12, 20, 30]],
                     // data3 = [[55, 20, 13, 32, 5, 1, 2, 10], [10, 2, 1, 5, 32, 13, 20, 55], [12, 20, 30]],