g.bar.overlay.js
authorEdward <edward@roojs.com>
Wed, 24 Apr 2019 06:54:07 +0000 (14:54 +0800)
committerEdward <edward@roojs.com>
Wed, 24 Apr 2019 06:54:07 +0000 (14:54 +0800)
g.bar.overlay.js

index 8255c7a..94af82b 100644 (file)
@@ -222,7 +222,7 @@ if (typeof(Raphael) == 'undefined') {
             
             if(i != 0) {
                 paper.text(x + (asixywidth / 2), Y + 15, label).attr({ 
-                    "font-size": (length > 10) ? "10" : "20",
+                    "font-size": (length > 10) ? "12" : "20",
                     "font-family": "'Fontin Sans', Fontin-Sans, sans-serif",
                     "font-weight": "bold",
                     "text-anchor": "end",