Roo/bootstrap/Graph.js
authorEdward <edward@roojs.com>
Fri, 28 Nov 2014 09:29:41 +0000 (17:29 +0800)
committerEdward <edward@roojs.com>
Fri, 28 Nov 2014 09:29:41 +0000 (17:29 +0800)
Roo/bootstrap/Graph.js

index 02c0e07..77d80cb 100644 (file)
@@ -132,7 +132,7 @@ Roo.extend(Roo.bootstrap.Graph, Roo.bootstrap.Component,  {
         var chart_title = '',
         r = this.raphael,
         fin = function () {
-            this.flag = r.popup(10, 10, '0' || "0").insertBefore(this);
+            this.flag = r.popup(this.bar.x, this.bar.y, this.bar.value || "0").insertBefore(this);
         },
         fout = function () {
             this.flag.animate({opacity: 0}, 300, function () {this.remove();});