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

index a557951..f2c7530 100644 (file)
@@ -160,7 +160,9 @@ Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
                 var j = values[i].order,
                     txt;
 
-                
+                if(values[i].others){
+                    return;
+                }
                 
                 chart.labels.push(paper.set());
                 chart.labels[i].push(paper[mark](x + 5, y, 5).attr({ fill: colors[i] || chartinst.colors[i], stroke: "none" }));