 import mx.core.UITextFormat;
 import mx.core.mx_internal;
 import mx.graphics.IStroke;
+import mx.graphics.SolidColorStroke;
 import mx.graphics.Stroke;
 import mx.managers.ILayoutManagerClient;
 import mx.managers.ISystemManager;

	private function initStyles():Boolean
	{
		HaloDefaults.init(styleManager);
		
		var o:CSSStyleDeclaration;
		
		var axisRendererStyle:CSSStyleDeclaration =
			HaloDefaults.createSelector("mx.charts.AxisRenderer", styleManager);
		
		axisRendererStyle.defaultFactory = function():void
		{
			this.axisStroke = new Stroke(0, 0, 1);
			this.canDropLabels = null;
			this.canStagger = true;
			this.labelGap = 3;
			this.labelRotation = NaN;
			this.minorTickLength = 0;
			this.minorTickPlacement = "none";
			this.minorTickStroke = new Stroke(0, 0, 1);
			this.showLabels = true;
			this.showLine = true;
			this.tickLength = 3;
			this.tickPlacement = "outside";
			this.tickStroke = new Stroke(0, 0, 1);
			this.labelAlign = "center";
			this.verticalAxisTitleAlignment="flippedVertical";
		}
		
		var vaxisRendererStyle:CSSStyleDeclaration =
			HaloDefaults.createSelector(".verticalAxisStyle", styleManager);
		
		vaxisRendererStyle.defaultFactory = function():void
		{
			this.minorTickLength = 2;
			this.minorTickPlacement = "outside";
			this.tickLength = 5;
		}
		
		var blockNumeric:CSSStyleDeclaration =
			HaloDefaults.createSelector(".blockNumericAxis", styleManager);       
		
		blockNumeric.defaultFactory = function():void
		{
			this.axisStroke =
				new Stroke(0xBBCCDD, 8, 1, false, "normal", "none");
			this.minorTickLength = 0;
			this.minorTickPlacement = "cross";
			this.minorTickStroke =
				new Stroke(0xFFFFFF, 1, 1, false, "normal", "none");
			this.tickLength = 8;
			this.tickStroke =
				new Stroke(0xBBCCDD, 1, 1,false, "normal", "none");
		}
		
		var linedNumeric:CSSStyleDeclaration =
			HaloDefaults.createSelector(".linedNumericAxis", styleManager);       
		
		linedNumeric.defaultFactory = function():void
		{
			this.axisStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
			this.minorTickLength = 4;
			this.minorTickPlacement = "outside";
			this.minorTickStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
			this.tickLength = 8;
			this.tickStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
		}
		
		var dashedNumeric:CSSStyleDeclaration =
			HaloDefaults.createSelector(".dashedNumericAxis", styleManager);      
		
		dashedNumeric.defaultFactory = function():void
		{
			this.minorTickLength = 4;
			this.minorTickPlacement = "outside";
			this.minorTickStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
			this.showLine = false;
			this.tickLength = 8;
			this.tickStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
		}
		
		var blockCategory:CSSStyleDeclaration =
			HaloDefaults.createSelector(".blockCategoryAxis", styleManager);
		
		blockCategory.defaultFactory = function():void
		{
			this.axisStroke =
				new Stroke(0xBBCCDD, 8, 1, false, "normal", "none");
			this.minorTickLength = 0;
			this.minorTickPlacement = "none";
			this.tickLength = 0;
			this.tickPlacement = "cross";
			this.tickStroke =
				new Stroke(0xFFFFFF, 2, 1, false, "normal", "none");
		}
		
		var hangingCategory:CSSStyleDeclaration =
			HaloDefaults.createSelector(".hangingCategoryAxis", styleManager);
		
		hangingCategory.defaultFactory = function():void
		{
			this.axisStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
			this.minorTickLength = 0;
			this.minorTickPlacement = "cross";
			this.minorTickStroke = new Stroke(0, 0, 0);
			this.tickLength = 4;
			this.tickStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
		}
		
		var dashedCategory:CSSStyleDeclaration =
			HaloDefaults.createSelector(".dashedCategoryAxis", styleManager);
		
		dashedCategory.defaultFactory = function():void
		{
			this.axisStroke =
				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
			this.minorTickPlacement = "none";
			this.tickLength = 0;
			this.tickPlacement = "cross";
			this.tickStroke =
				new Stroke(0xFFFFFF, 2, 1, false, "normal", "none");
		}
		
		return true;
	}


					if(label.hasOwnProperty("htmlText"))
						label.htmlText = labelData.text;
					else
                    label.text = labelData.text;
					if(sparkLabelClass && labelData.instance is sparkLabelClass)
					{
						label.setStyle("paddingTop", 5);
