Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / source / Pie.html
index 022c224..4336e66 100644 (file)
@@ -1029,7 +1029,7 @@ Ext.define('Ext.chart.series.Pie', {
      */
     getLegendColor: function(index) {
         var me = this;
-        return me.colorArrayStyle[index % me.colorArrayStyle.length];
+        return (me.colorSet && me.colorSet[index % me.colorSet.length]) || me.colorArrayStyle[index % me.colorArrayStyle.length];
     }
 });