g.bar.overlay.js
authorEdward <edward@roojs.com>
Fri, 22 Feb 2019 05:41:16 +0000 (13:41 +0800)
committerEdward <edward@roojs.com>
Fri, 22 Feb 2019 05:41:16 +0000 (13:41 +0800)
g.bar.overlay.js

index e0088f3..0e7e0df 100644 (file)
@@ -121,8 +121,8 @@ if (typeof(Raphael) == 'undefined') {
                 }
                 paper.rect(x + 1 + (k * barwidth) , y + legendheight + (max - v) * unit, barwidth - 2, v * unit).attr({ stroke: "none", fill: colors[i%colors.length] });
                 paper.rect(x + 1 + (k * barwidth) + barwidth / 4 , y + legendheight + (max - v) * unit - 42, barwidth / 2, 30, 5).attr({ stroke: "none", fill: "#0C014D" });
-                indicator = indicator.concat(["M", x + 1 + (k * barwidth) + barwidth / 4 + 10, y + (max - v) * unit - 12, "l", 5, 10, "l", 5, -10]);
-                paper.text(x + 1 + (k * barwidth) + barwidth / 2, y + (max - v)  * unit - 28, Roo.util.Format.number(v, 0)).attr({ 
+                indicator = indicator.concat(["M", x + 1 + (k * barwidth) + barwidth / 4 + 10, y + legendheight + (max - v) * unit - 12, "l", 5, 10, "l", 5, -10]);
+                paper.text(x + 1 + (k * barwidth) + barwidth / 2, y + legendheight + (max - v)  * unit - 28, Roo.util.Format.number(v, 0)).attr({ 
                     "font-size": "16",
                     "font-family": "'Fontin Sans', Fontin-Sans, sans-serif",
                     "font-weight": "bold",