     //
     //--------------------------------------------------------------------------
 
-    /**
-     *  @private
-     */
-    private function initStyles():Boolean
-    {
-        HaloDefaults.init(styleManager);
-        
-        var seriesStyle:CSSStyleDeclaration =
-            HaloDefaults.createSelector("mx.charts.series.PlotSeries", styleManager);
-        
-        seriesStyle.defaultFactory = function():void
-        {
-            this.fill = new SolidColor(0x4444AA);
-            this.fills = [];
-            this.itemRenderer = new ClassFactory(DiamondItemRenderer);
-            this.radius = 5;
-            this.adjustedRadius = 2;
-        }
-        
-        return true;
-    }
-
-    
-    /**
-     *  @inheritDoc
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override public function set moduleFactory(factory:IFlexModuleFactory):void
-    {
-        super.moduleFactory = factory;
-        
-        if (_moduleFactoryInitialized)
-            return;
-        
-        _moduleFactoryInitialized = true;
-        
-        // our style settings
-        initStyles();
-    }
-    
+	/**
+	 *  @private
+	 */
+	private function initStyles():Boolean
+	{
+		HaloDefaults.init(styleManager);
+		
+		var seriesStyle:CSSStyleDeclaration =
+			HaloDefaults.createSelector("mx.charts.series.PlotSeries", styleManager);
+		
+		seriesStyle.defaultFactory = function():void
+		{
+			this.fill = new SolidColor(0x4444AA);
+			this.fills = [];
+			this.itemRenderer = new ClassFactory(DiamondItemRenderer);
+			this.radius = 5;
+			this.adjustedRadius = 2;
+		}
+		
+		return true;
+	}
+
+	
+	/**
+	 *  @inheritDoc
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	override public function set moduleFactory(factory:IFlexModuleFactory):void
+	{
+		super.moduleFactory = factory;
+		
+		if (_moduleFactoryInitialized)
+			return;
+		
+		_moduleFactoryInitialized = true;
+		
+		// our style settings
+		initStyles();
+	}
+	
     /**
      *  @inheritDoc
      *  

    //
    //--------------------------------------------------------------------------
    
    /**
     *  @private
     */
    private var _moduleFactoryInitialized:Boolean = false; 
    
    /**
     *  @private
     */

     
    private function reverseYValues(cache:Array):Array
    {
    	var i:int = 0;
        var n:int = cache.length;
        for(i = 0; i < n ; i++)
        {
        	cache[i]["yValue"] = -(cache[i]["yValue"]);
        }  
    	return cache;
    }
    
    private function reverseXValues(cache:Array):Array
    {
    	var i:int = 0;
        var n:int = cache.length;
        for(i = 0; i < n ; i++)
        {
        	cache[i]["xValue"] = -(cache[i]["xValue"]);
        }  
    	return cache;
    }
}

