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

index 9c5db78..a0c5016 100644 (file)
@@ -116,7 +116,7 @@ if (typeof(Raphael) == 'undefined') {
                 value = [value];
             }
             
-            paper.text(x + (i * 400), y, opts.legends[i%opts.legends.length]).attr({ 
+            paper.text(x + (i * 400), y + 10, opts.legends[i%opts.legends.length]).attr({ 
                 "font-size": "14",
                 "font-family": "'Fontin Sans', Fontin-Sans, sans-serif",
                 "font-weight": "bold",