 
 import flash.display.*;
 import flash.geom.*;
+
 import mx.charts.AxisLabel;
 import mx.charts.AxisRenderer;
 import mx.core.FlexBitmap;
 import mx.core.IDataRenderer;
 import mx.core.IUITextField;
-import mx.core.mx_internal;
+import mx.core.LayoutDirection;
 import mx.core.UIComponent;
 import mx.core.UITextField;
+import mx.core.mx_internal;
 
 use namespace mx_internal;
 

	{
		super();
		this.includeInLayout = false;
	}
	
	//--------------------------------------------------------------------------

			if (parent && parent.rotation == 90 && parent is AxisRenderer)
			{
				p = AxisRenderer(parent);
				if((p.getStyle('verticalAxisTitleAlignment')=="vertical" && p.layoutDirection == LayoutDirection.LTR) ||
					(p.getStyle('verticalAxisTitleAlignment') == 'flippedVertical' && p.layoutDirection == LayoutDirection.RTL))
				{
					_bitmap.rotation = 180; 
					_bitmap.y = _label.x + _bitmap.height;
					_bitmap.x = _label.y + _bitmap.width;
				}
			}			
		}
	}
}
