Fix #5743 - extra social media tag for press releases
authorEdward <edward@roojs.com>
Thu, 21 Feb 2019 05:12:20 +0000 (13:12 +0800)
committerEdward <edward@roojs.com>
Thu, 21 Feb 2019 05:12:20 +0000 (13:12 +0800)
g.pie.sector.js

index 4eac6dd..5b60526 100644 (file)
@@ -36,7 +36,8 @@ Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
             total = 0,
             others = 0,
             cut = opts.cut || 9,
-            defcut = true;
+            defcut = true
+            lineheight = opts.lineheight || 30;
         
         opts.barwidth = opts.barwidth || 80;
         
@@ -127,7 +128,7 @@ Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
                 fill : "#0C014F"
             });
             
-            iy += 30;
+            iy += lineheight;
             
         }