                 defaultSizes[i % defaultSizes.length]);
         }
         
-        plotChartStyle.defaultFactory = function():void
-        {
-            this.axisColor = 0xD5DEDD;
-            this.chartSeriesStyles = plotChartSeriesStyles;
-            this.dataTipRenderer = DataTip;
-            this.fill = new SolidColor(0xFFFFFF, 0);
-            this.calloutStroke = new Stroke(0x888888,2);            
-            this.fontSize = 10;
-            this.gridLinesStyleName = "bothGridLines";
-            this.textAlign = "left";
-            this.horizontalAxisStyleNames = ["blockNumericAxis"];
-            this.verticalAxisStyleNames = ["blockNumericAxis"];
-        }
-        
-        return true;
+       return true;
     }
 
     

import mx.charts.styles.HaloDefaults;
import mx.core.ClassFactory;
import mx.core.IFactory;
import mx.graphics.IFill;
import mx.graphics.SolidColor;
import mx.graphics.Stroke;
import mx.styles.CSSStyleDeclaration;
import mx.core.IFlexModuleFactory;
import mx.core.mx_internal;

use namespace mx_internal;


    {
        HaloDefaults.init(styleManager);
        
        var plotChartSeriesStyles:Array /* of Object */ = [];
        
		var plotChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.PlotChart");
		plotChartStyle.setStyle("chartSeriesStyles", plotChartSeriesStyles);
		plotChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
		plotChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
		plotChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
		plotChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
		
        var defaultSkins:Array /* of IFactory */ = [ new ClassFactory(DiamondItemRenderer),
            new ClassFactory(CircleItemRenderer),
            new ClassFactory(BoxItemRenderer) ];
