g.pie.sector.js
authorleon <leon@roojs.com>
Wed, 26 Apr 2023 03:23:50 +0000 (11:23 +0800)
committerleon <leon@roojs.com>
Wed, 26 Apr 2023 03:23:50 +0000 (11:23 +0800)
g.pie.sector.js

index 72ba5fe..0b0aa70 100644 (file)
@@ -219,7 +219,7 @@ Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
             
             // 12 pixels away from the right of legend key
             // align legend key and text horizontally
-            paper.text(ix + legendKeySize / 2 + 12, iy - legendFontSize / 10, text).attr({ 
+            paper.text(ix + legendKeySize / 2 + 12, iy, text).attr({ 
                 "font-size": legendFontSize,
                 "font-family": legendFont,
                 "text-anchor": "start",