Roo/bootstrap/Graph.js
authormichael <michael@office.ROOJS.COM>
Tue, 25 Nov 2014 08:19:41 +0000 (16:19 +0800)
committermichael <michael@office.ROOJS.COM>
Tue, 25 Nov 2014 08:19:41 +0000 (16:19 +0800)
Roo/bootstrap/Graph.js

index ef0c44c..62d5dd4 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(this.bar.x, this.bar.y, this.bar.value || "0");
+                        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();});