g.circular.js
authoredward <edward@roojs.com>
Thu, 21 Jun 2018 10:20:17 +0000 (18:20 +0800)
committeredward <edward@roojs.com>
Thu, 21 Jun 2018 10:20:17 +0000 (18:20 +0800)
g.circular.js

index f0babc0..17d463f 100644 (file)
@@ -147,7 +147,9 @@ Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
                     txt;
 
                 var l = values[i].others ? (otherslabel || "Others") : labels[j];
-                
+                if(values[i].others){
+                    continue;
+                }
                 chart.labels.push(paper.set());
                 chart.labels[i].push(paper[mark](x + 5, y, 5).attr({ fill: colors[i] || chartinst.colors[i], stroke: "none" }));
                 chart.labels[i].push(