Roo/bootstrap/Graph.js
authorEdward <edward@roojs.com>
Fri, 28 Nov 2014 10:50:11 +0000 (18:50 +0800)
committerEdward <edward@roojs.com>
Fri, 28 Nov 2014 10:50:11 +0000 (18:50 +0800)
Roo/bootstrap/Graph.js

index d1572d3..fdf39e2 100644 (file)
@@ -163,7 +163,7 @@ Roo.extend(Roo.bootstrap.Graph, Roo.bootstrap.Component,  {
                 break;
 
         }
-        this.raphael.text(150,50,this.title).attr({ font: "20px 'Fontin Sans', Fontin-Sans, sans-serif" });
+        this.raphael.text(this.t_x, this.t_y, this.title).attr({ font: "20px 'Fontin Sans', Fontin-Sans, sans-serif" });
     },
     
     setTitle: function(str) {