flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [2/3] git commit: [flex-asjs] [refs/heads/core_js_to_as] - Removed asjs source folder from Charts project; code is now in as source folder.
Date Tue, 10 Nov 2015 16:08:07 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/BarChartLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/BarChartLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/BarChartLayout.as
deleted file mode 100644
index 076fb0a..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/BarChartLayout.as
+++ /dev/null
@@ -1,149 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ICartesianChartLayout;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.charts.supportClasses.BarSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The BarChartLayout class calculates the size and position of all of the itemRenderers for
-	 *  all of the series in a BarChart. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class BarChartLayout extends ChartBaseLayout implements IBeadLayout, ICartesianChartLayout
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function BarChartLayout()
-		{
-			super();
-		}
-		
-		private var _gap:Number = 20;
-		
-		/**
-		 *  The amount of space to leave between series. If a chart has several series,
-		 *  the bars for an X value are side by side with a gap between the groups of
-		 *  bars.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get gap():Number
-		{
-			return _gap;
-		}
-		public function set gap(value:Number):void
-		{
-			_gap = value;
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{			
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-			var n:int = dp.length;
-			var useWidth:Number = UIBase(chartDataGroup).width;
-			var useHeight:Number = UIBase(chartDataGroup).height;
-			var itemHeight:Number =  (useHeight - gap*(dp.length-1))/dp.length;
-			var seriesHeight:Number = itemHeight/chart.series.length;
-			var ypos:Number = useHeight;
-			
-			var maxXValue:Number = 0;
-			var minXValue:Number = 0;
-			var scaleFactor:Number = 1.0;
-			var determineScale:Boolean = true;
-			
-			if (horizontalAxisBead != null && !isNaN(horizontalAxisBead.maximum)) {
-				maxXValue = horizontalAxisBead.maximum;
-				determineScale = false;
-			}
-			if (horizontalAxisBead != null && !isNaN(horizontalAxisBead.minimum)) {
-				minXValue = horizontalAxisBead.minimum;
-			}
-			
-			for (var s:int = 0; s < chart.series.length; s++)
-			{
-				var bcs:BarSeries = chart.series[s] as BarSeries;
-				
-				for (var i:int = 0; i < n; i++)
-				{
-					var data:Object = dp[i];
-					var field:String = bcs.xField;
-					
-					var xValue:Number = Number(data[field]);
-					if (determineScale) maxXValue = Math.max(xValue, maxXValue);
-				}				
-			}
-			
-			var range:Number = maxXValue - minXValue;
-			scaleFactor = useWidth/range;
-			
-			for (i = 0; i < n; i++)
-			{
-				data = dp[i];
-				
-				for (s=0; s < chart.series.length; s++)
-				{
-					bcs = chart.series[s] as BarSeries;
-					
-					var child:IChartItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(bcs,i);
-					xValue = Number(data[bcs.xField]) - minXValue;
-					if (xValue > maxXValue) xValue = maxXValue;
-					xValue = xValue * scaleFactor;
-					
-					child.x = 0;
-					child.y = ypos - seriesHeight;
-					child.width = xValue;
-					child.height = seriesHeight;
-					ypos -= seriesHeight;
-				}
-				
-				ypos -= gap;
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ChartBaseLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ChartBaseLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ChartBaseLayout.as
deleted file mode 100644
index 88dd0a4..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ChartBaseLayout.as
+++ /dev/null
@@ -1,147 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ChartBase;
-	import org.apache.flex.charts.core.IChartDataGroup;
-	import org.apache.flex.charts.core.IHorizontalAxisBead;
-	import org.apache.flex.charts.core.IVerticalAxisBead;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ILayoutHost;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	public class ChartBaseLayout implements IBeadLayout
-	{
-		public function ChartBaseLayout()
-		{
-		}
-		
-		private var _strand:IStrand;
-		
-		/**
-		 *  @copy org.apache.flex.core.IBead#strand
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function set strand(value:IStrand):void
-		{
-			_strand = value;
-		}
-		public function get strand():IStrand
-		{
-			return _strand;
-		}
-		
-		/**
-		 *  Returns the strand, cast as an instance of ChartBase.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get chart():ChartBase
-		{
-			return _strand as ChartBase;
-		}
-		
-		private var _xAxis:IHorizontalAxisBead = null;
-		
-		/**
-		 *  The horizontal axis bead or null if one is not present.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get horizontalAxisBead():IHorizontalAxisBead
-		{
-			if (_xAxis == null) {
-				if (chart.getBeadByType(IHorizontalAxisBead)) _xAxis = chart.getBeadByType(IHorizontalAxisBead) as IHorizontalAxisBead;
-			}
-			return _xAxis;
-		}
-		
-		private var _yAxis:IVerticalAxisBead = null;
-		
-		/**
-		 *  The vertical axis bead or null if one is not present.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get verticalAxisBead():IVerticalAxisBead
-		{
-			if (_yAxis == null) {
-				if (chart.getBeadByType(IVerticalAxisBead)) _yAxis = chart.getBeadByType(IVerticalAxisBead) as IVerticalAxisBead;
-			}
-			return _yAxis;
-		}
-		
-		private var _chartDataGroup:IChartDataGroup;
-		
-		/**
-		 *  Returns the object into which the chart elements are drawn or added. The ChartDataGroup implements
-		 *  IContentView.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get chartDataGroup():IChartDataGroup
-		{
-			if (_chartDataGroup == null) {
-				var layoutParent:ILayoutHost = chart.getBeadByType(ILayoutHost) as ILayoutHost;
-				_chartDataGroup = layoutParent.contentView as IChartDataGroup;
-			}
-			return _chartDataGroup;
-		}
-		
-        /**
-         * @copy org.apache.flex.core.IBeadLayout#layout
-         */
-		public function layout():Boolean
-		{
-			performLayout();
-            return true;
-		}
-		
-		/**
-		 *  Subclasses should implement this to draw the chart, adding elements to the chartDataGroup.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		protected function performLayout():void
-		{
-			// implement in subclass
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ColumnChartLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ColumnChartLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ColumnChartLayout.as
deleted file mode 100644
index 0d8c019..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/ColumnChartLayout.as
+++ /dev/null
@@ -1,140 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ICartesianChartLayout;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IVerticalAxisBead;
-	import org.apache.flex.charts.supportClasses.ColumnSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The ColumnChartLayout arranges the graphics in vertical columns (or whatever shape
-	 *  the renderer uses) using a category axis horizontally and a linear axis vertically. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class ColumnChartLayout extends ChartBaseLayout implements IBeadLayout, ICartesianChartLayout
-	{
-		public function ColumnChartLayout()
-		{
-		}
-		
-		private var _gap:Number = 20;
-		
-		/**
-		 *  The amount of space to leave between series. If a chart has several series,
-		 *  the bars for an X value are side by side with a gap between the groups of
-		 *  bars.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get gap():Number
-		{
-			return _gap;
-		}
-		public function set gap(value:Number):void
-		{
-			_gap = value;
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-			var n:int = dp.length;
-			var xpos:Number = 0;
-			var useWidth:Number = UIBase(chartDataGroup).width;
-			var useHeight:Number = UIBase(chartDataGroup).height;
-			var itemWidth:Number =  (useWidth - gap*(dp.length-1))/dp.length;
-			var seriesWidth:Number = itemWidth/chart.series.length;
-			
-			var maxYValue:Number = 0;
-			var minYValue:Number = 0;
-			var scaleFactor:Number = 1;
-			var determineScale:Boolean = true;
-			
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.maximum)) {
-				maxYValue = verticalAxisBead.maximum;
-				determineScale = false;
-			}
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.minimum)) {
-				minYValue = verticalAxisBead.minimum;
-			}
-			
-			for (var s:int = 0; s < chart.series.length; s++)
-			{
-				var bcs:ColumnSeries = chart.series[s] as ColumnSeries;				
-				
-				for (var i:int = 0; i < n; i++)
-				{
-					var data:Object = dp[i];
-					var field:String = bcs.yField;
-					
-					var yValue:Number = Number(data[field]);
-					if (determineScale) maxYValue = Math.max(yValue, maxYValue);
-				}
-			}
-			
-			var range:Number = maxYValue - minYValue;
-			scaleFactor = useHeight/range;
-			
-			for (i = 0; i < n; i++)
-			{
-				data = dp[i];
-				
-				for (s=0; s < chart.series.length; s++)
-				{
-					bcs = chart.series[s] as ColumnSeries;
-					
-					var child:IChartItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(bcs,i);
-					yValue = Number(data[bcs.yField]) - minYValue;
-					if (yValue > maxYValue) yValue = maxYValue;
-					yValue = yValue * scaleFactor;
-					
-					child.y = useHeight - yValue;
-					child.x = xpos;
-					child.width = seriesWidth;
-					child.height = yValue;
-					xpos += seriesWidth;
-				}
-				
-				xpos += gap;
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartCategoryVsLinearLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartCategoryVsLinearLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartCategoryVsLinearLayout.as
deleted file mode 100644
index b28ace9..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartCategoryVsLinearLayout.as
+++ /dev/null
@@ -1,152 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ICartesianChartLayout;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.charts.supportClasses.ILineSegmentItemRenderer;
-	import org.apache.flex.charts.supportClasses.LineSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-    import org.apache.flex.core.ILayoutHost;
-    import org.apache.flex.core.IParentIUIBase;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The LineChartCategoryVsLinearLayout displays a line graph of plot points
-	 *  where the horizontal axis is category value and the vertical axis is numeric. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class LineChartCategoryVsLinearLayout extends ChartBaseLayout implements IBeadLayout, ICartesianChartLayout
-	{
-		public function LineChartCategoryVsLinearLayout()
-		{
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{			
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-            var layoutParent:ILayoutHost = strand.getBeadByType(ILayoutHost) as ILayoutHost;
-            var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase;
-			
-			var n:int = dp.length;
-			var xAxisOffset:Number = 0;
-			var yAxisOffset:Number = 0;
-			
-			var xpos:Number = yAxisOffset;
-			var useWidth:Number = contentView.width - yAxisOffset;;
-			var useHeight:Number = contentView.height - xAxisOffset;
-			var itemWidth:Number =  useWidth / dp.length;
-			
-			var maxYValue:Number = 0;
-			var minYValue:Number = 0;
-			var scaleYFactor:Number = 1;
-			var determineYScale:Boolean = true;
-			var seriesPoints:Array = [];
-			
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.maximum)) {
-				maxYValue = verticalAxisBead.maximum;
-				determineYScale = false;
-			}
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.minimum)) {
-				minYValue = verticalAxisBead.minimum;
-			}
-			
-			for (var s:int = 0; s < chart.series.length; s++)
-			{
-				var aseries:IChartSeries = chart.series[s] as IChartSeries;
-				seriesPoints.push({points:[]});
-				
-				for (var i:int = 0; i < n; i++)
-				{
-					var data:Object = dp[i];
-					var field:String = aseries.yField;
-					
-					var yValue:Number = Number(data[field]);
-					if (determineYScale) maxYValue = Math.max(maxYValue,yValue);
-				}				
-			}
-			
-			scaleYFactor = useHeight/(maxYValue - minYValue);
-			
-			// draw the itemRenderers at each vertex and build the points array for the
-			// line segment.
-			
-			for (s=0; s < chart.series.length; s++)
-			{
-				aseries = chart.series[s] as IChartSeries;
-				
-				xpos = yAxisOffset + itemWidth/2;
-				
-				for (i=0; i < n; i++)
-				{
-					data = dp[i];
-					yValue = Number(data[aseries.yField]) - minYValue;
-					
-					var childX:Number = xpos;
-					var childY:Number = useHeight - yValue*scaleYFactor;
-					
-					seriesPoints[s].points.push( {x:childX, y:childY} );
-					
-					var child:IChartItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(aseries,i);
-					if (child) {
-						child.x = childX - 5;
-						child.y = childY - 5;
-						child.width = 10;
-						child.height = 10;
-					}
-					
-					xpos += itemWidth;
-				}
-			}
-			
-			// draw the line segment
-			
-			for (s=0; s < chart.series.length; s++)
-			{
-				var lcs:LineSeries = chart.series[s] as LineSeries;
-				
-				if (lcs.lineSegmentRenderer)
-				{
-					var renderer:ILineSegmentItemRenderer = lcs.lineSegmentRenderer.newInstance() as ILineSegmentItemRenderer;
-					chartDataGroup.addElement(renderer);
-					renderer.itemRendererParent = chartDataGroup;
-					renderer.data = lcs;
-					renderer.points = seriesPoints[s].points;
-				}
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartLinearVsLinearLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartLinearVsLinearLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartLinearVsLinearLayout.as
deleted file mode 100644
index a001bfa..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/LineChartLinearVsLinearLayout.as
+++ /dev/null
@@ -1,166 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ICartesianChartLayout;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.charts.supportClasses.ILineSegmentItemRenderer;
-	import org.apache.flex.charts.supportClasses.LineSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-    import org.apache.flex.core.ILayoutHost;
-    import org.apache.flex.core.IParentIUIBase;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The LineChartLinearVsLinearLayout displays a line graph of plot points
-	 *  where both axes are numeric values. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class LineChartLinearVsLinearLayout extends ChartBaseLayout implements IBeadLayout, ICartesianChartLayout
-	{
-		public function LineChartLinearVsLinearLayout()
-		{
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-            var layoutParent:ILayoutHost = strand.getBeadByType(ILayoutHost) as ILayoutHost;
-            var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase;
-			
-			var n:int = dp.length;
-			
-			var xpos:Number = 0;
-			var ypos:Number = 0;
-			var useWidth:Number = contentView.width;
-			var useHeight:Number = contentView.height;
-			var itemWidth:Number =  useWidth/dp.length;
-			
-			var maxXValue:Number = 0;
-			var minXValue:Number = 0;
-			var maxYValue:Number = 0;
-			var minYValue:Number = 0;
-			var scaleXFactor:Number = 1;
-			var scaleYFactor:Number = 1;
-			var determineYScale:Boolean = true;
-			var determineXScale:Boolean = true;
-			
-			if (horizontalAxisBead != null && !isNaN(horizontalAxisBead.maximum)) {
-				maxXValue = horizontalAxisBead.maximum;
-				determineXScale = false;
-			}
-			if (horizontalAxisBead != null && !isNaN(horizontalAxisBead.minimum)) {
-				minXValue = horizontalAxisBead.minimum;
-			}
-			
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.maximum)) {
-				maxYValue = verticalAxisBead.maximum;
-				determineYScale = false;
-			}
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.minimum)) {
-				minYValue = verticalAxisBead.minimum;
-			}
-			
-			var seriesPoints:Array = [];
-			
-			for (var s:int = 0; s < chart.series.length; s++)
-			{
-				var aseries:IChartSeries = chart.series[s] as IChartSeries;
-				seriesPoints.push({points:[]});
-				
-				for (var i:int = 0; i < n; i++)
-				{
-					var data:Object = dp[i];
-					var xfield:String = aseries.xField;
-					var yfield:String = aseries.yField;
-					
-					var xValue:Number = Number(data[xfield]);
-					if (determineXScale) maxXValue = Math.max(maxXValue, xValue);
-
-					var yValue:Number = Number(data[yfield]);
-					if (determineYScale) maxYValue = Math.max(maxYValue, yValue);
-				}
-			}
-			
-			scaleXFactor = useWidth / (maxXValue - minXValue);
-			scaleYFactor = useHeight / (maxYValue - minYValue);
-			
-			// draw the itemRenderers at each vertex and build the points array for the
-			// line segment.
-			
-			for (s=0; s < chart.series.length; s++)
-			{
-				aseries = chart.series[s] as IChartSeries;
-				
-				for (i=0; i < n; i++)
-				{
-					data = dp[i];
-					xValue = Number(data[aseries.xField]) - minXValue;
-					yValue = Number(data[aseries.yField]) - minYValue;
-					
-					var childX:Number = (xValue*scaleXFactor);
-					var childY:Number = useHeight - (yValue*scaleYFactor);
-					
-					seriesPoints[s].points.push( {x:childX, y:childY} );
-					
-					var child:IChartItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(aseries,i);
-					if (child) {
-						child.x = childX - 5;
-						child.y = childY - 5;
-						child.width = 10;
-						child.height = 10;
-					}
-				}
-			}
-			
-			// draw the line segment
-			
-			for (s=0; s < chart.series.length; s++)
-			{
-				var lcs:LineSeries = chart.series[s] as LineSeries;
-				
-				if (lcs.lineSegmentRenderer)
-				{
-					var renderer:ILineSegmentItemRenderer = lcs.lineSegmentRenderer.newInstance() as ILineSegmentItemRenderer;
-					chartDataGroup.addElement(renderer);
-					renderer.itemRendererParent = chartDataGroup;
-					renderer.data = lcs;
-					renderer.points = seriesPoints[s].points;
-				}
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/PieChartLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/PieChartLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/PieChartLayout.as
deleted file mode 100644
index 901da7f..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/PieChartLayout.as
+++ /dev/null
@@ -1,140 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{	
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.charts.supportClasses.IWedgeItemRenderer;
-	import org.apache.flex.charts.supportClasses.PieSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-	import org.apache.flex.core.ILayoutHost;
-	import org.apache.flex.core.IParentIUIBase;
-	import org.apache.flex.core.graphics.IFill;
-	import org.apache.flex.core.graphics.SolidColor;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The PieChartLayout class calculates the size and position of all of the itemRenderers for
-	 *  a PieChart. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class PieChartLayout extends ChartBaseLayout implements IBeadLayout
-	{
-		/**
-		 *  constructor.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function PieChartLayout()
-		{
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-            var layoutParent:ILayoutHost = strand.getBeadByType(ILayoutHost) as ILayoutHost;
-            var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase;
-			
-			var n:int = dp.length;
-			
-			var xpos:Number = 0;
-			var useWidth:Number = contentView.width;
-			var useHeight:Number = contentView.height;
-			
-			var maxYValue:Number = 0;
-			var seriesMaxes:Array = [];
-			var colors:Array = [0xFF964D, 0x964DFF, 0xF80012, 0x96FF4D, 0x4D96FF, 0x8A8A01, 0x23009C, 0x4A4A4A, 0x23579D];
-			
-			for (var s:int = 0; s < chart.series.length; s++)
-			{
-				var pcs:PieSeries = chart.series[s] as PieSeries;
-				
-				for (var i:int = 0; i < n; i++)
-				{
-					var data:Object = dp[i];
-					var field:String = pcs.dataField;
-					
-					var yValue:Number = Number(data[field]);
-					maxYValue += yValue;
-					
-					seriesMaxes.push( {yValue:yValue, percent:0, arc:0} );
-				}
-				
-				for (i=0; i < n; i++)
-				{
-					var obj:Object = seriesMaxes[i];
-					obj.percent = obj.yValue / maxYValue;
-					obj.arc = 360.0*obj.percent;					
-				}
-				
-				var start:Number = 0;
-				var end:Number = 0;
-				var radius:Number = Math.min(useWidth,useHeight)/2;
-				var centerX:Number = useWidth/2;
-				var centerY:Number = useHeight/2;
-								
-				for (i=0; i < n; i++)
-				{
-					obj = seriesMaxes[i];
-					data = dp[i];
-					
-					var fill:SolidColor = new SolidColor();
-					fill.color = colors[i%colors.length];
-					fill.alpha = 1.0;
-					
-					var child:IWedgeItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(chart.series[s],i) as IWedgeItemRenderer;
-					child.fill = fill;
-					
-					end = start + (360.0 * obj.percent);
-					var arc:Number = 360.0 * obj.percent;
-					
-					child.x = 0;
-					child.y = 0;
-					child.width = useWidth;
-					child.height = useHeight;
-					child.centerX = centerX;
-					child.centerY = centerY;
-					child.startAngle = start*Math.PI/180;
-					child.arc = arc*Math.PI/180;
-					child.radius = radius;
-					
-					start += arc;
-				}
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedBarChartLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedBarChartLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedBarChartLayout.as
deleted file mode 100644
index c75f7bc..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedBarChartLayout.as
+++ /dev/null
@@ -1,164 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ICartesianChartLayout;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.charts.supportClasses.BarSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-    import org.apache.flex.core.ILayoutHost;
-    import org.apache.flex.core.IParentIUIBase;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The StackedBarChartLayout class calculates the size and position of all of the itemRenderers for
-	 *  all of the series in a StackedBarChart. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class StackedBarChartLayout extends ChartBaseLayout implements IBeadLayout, ICartesianChartLayout
-	{
-		/**
-		 *  constructor
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function StackedBarChartLayout()
-		{
-		}
-		
-		private var _gap:Number = 20;
-		
-		/**
-		 *  The amount of space to leave between series. If a chart has several series,
-		 *  the bars for an X value are side by side with a gap between the groups of
-		 *  bars.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get gap():Number
-		{
-			return _gap;
-		}
-		public function set gap(value:Number):void
-		{
-			_gap = value;
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-            var layoutParent:ILayoutHost = strand.getBeadByType(ILayoutHost) as ILayoutHost;
-            var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase;
-			
-			var n:int = dp.length;			
-			var maxXValue:Number = 0;
-			var minXValue:Number = 0;
-			var determineScale:Boolean = true;
-			var seriesMaxes:Array = [];
-			
-            var useWidth:Number = contentView.width;
-            var useHeight:Number = contentView.height;
-			var itemHeight:Number = (useHeight - gap*(dp.length-1))/n;
-			var seriesHeight:Number = itemHeight;
-			var xpos:Number = 0;
-			var ypos:Number = useHeight;
-			
-			var barValues:Array = [];
-			var scaleFactor:Number = 1;
-			
-			if (horizontalAxisBead != null && !isNaN(horizontalAxisBead.maximum)) {
-				maxXValue = horizontalAxisBead.maximum;
-				determineScale = false;
-			}
-			if (horizontalAxisBead != null && !isNaN(horizontalAxisBead.minimum)) {
-				minXValue = horizontalAxisBead.minimum;
-			}
-			
-			for (var i:int=0; i < n; i++)
-			{
-				barValues.push({totalValue:0, scaleFactor:0});
-				
-				var data:Object = dp[i];
-				
-				for (var s:int = 0; s < chart.series.length; s++)
-				{
-					var bcs:BarSeries = chart.series[s] as BarSeries;
-					var field:String = bcs.xField;
-					
-					var xValue:Number = Number(data[field]);
-					barValues[i].totalValue += xValue;
-				}
-				
-				if (determineScale) {
-					maxXValue = Math.max(maxXValue, barValues[i].totalValue);
-				}
-			}
-			
-			scaleFactor = useWidth/(maxXValue - minXValue);
-			
-			for (i=0; i < n; i++)
-			{
-				data = dp[i];
-				
-				xpos = 0;
-				
-				for (s=0; s < chart.series.length; s++)
-				{
-					bcs = chart.series[s] as BarSeries;
-					
-					var child:IChartItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(bcs,i);
-					xValue = Number(data[bcs.xField]) - minXValue;
-					xValue = xValue * scaleFactor;
-					
-					child.x = xpos;
-					child.width = Math.floor(xValue);
-					child.y = Math.floor(ypos - seriesHeight);
-					child.height = seriesHeight;
-					
-					xpos += xValue;
-				}
-				
-				ypos -= (itemHeight + gap);
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedColumnChartLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedColumnChartLayout.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedColumnChartLayout.as
deleted file mode 100644
index 31c4a41..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/layouts/StackedColumnChartLayout.as
+++ /dev/null
@@ -1,161 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.beads.layouts
-{
-	import org.apache.flex.charts.core.ICartesianChartLayout;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.supportClasses.ColumnSeries;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.ISelectionModel;
-    import org.apache.flex.core.ILayoutHost;
-    import org.apache.flex.core.IParentIUIBase;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	
-	/**
-	 *  The StackedColumnChartLayout class calculates the size and position of all of the itemRenderers for
-	 *  all of the series in a StackedColumnChart. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class StackedColumnChartLayout extends ChartBaseLayout implements IBeadLayout, ICartesianChartLayout
-	{
-		/**
-		 *  constructor
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function StackedColumnChartLayout()
-		{
-		}
-		
-		private var _gap:Number = 20;
-		
-		/**
-		 *  The amount of space to leave between series. If a chart has several series,
-		 *  the bars for an X value are side by side with a gap between the groups of
-		 *  bars.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get gap():Number
-		{
-			return _gap;
-		}
-		public function set gap(value:Number):void
-		{
-			_gap = value;
-		}
-		
-		/**
-		 * @private
-		 */
-		override protected function performLayout():void
-		{
-			var selectionModel:ISelectionModel = chart.getBeadByType(ISelectionModel) as ISelectionModel;
-			var dp:Array = selectionModel.dataProvider as Array;
-			if (!dp)
-				return;
-			
-            var layoutParent:ILayoutHost = strand.getBeadByType(ILayoutHost) as ILayoutHost;
-            var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase;
-			
-			var n:int = dp.length;
-            var useWidth:Number = contentView.width;
-            var useHeight:Number = contentView.height;
-			var itemWidth:Number = (useWidth - gap*(dp.length-1))/dp.length;
-			var seriesWidth:Number = itemWidth;
-			var xpos:Number = 0;
-			var ypos:Number = 0;
-			
-			var maxYValue:Number = 0;
-			var minYValue:Number = 0;
-			var determineScale:Boolean = true;
-			
-			var barValues:Array = [];
-			var scaleFactor:Number = 1;
-			
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.maximum)) {
-				maxYValue = verticalAxisBead.maximum;
-				determineScale = false;
-			}
-			if (verticalAxisBead != null && !isNaN(verticalAxisBead.minimum)) {
-				minYValue = verticalAxisBead.minimum;
-			}
-			
-			for (var i:int=0; i < n; i++)
-			{
-				barValues.push({totalValue:0});
-				var data:Object = dp[i];
-				
-				for (var s:int = 0; s < chart.series.length; s++)
-				{
-					var bcs:ColumnSeries = chart.series[s] as ColumnSeries;
-					var field:String = bcs.yField;
-					
-					var yValue:Number = Number(data[field]);
-					barValues[i].totalValue += yValue;
-				}
-				
-				if (determineScale) {
-					maxYValue = Math.max(maxYValue, barValues[i].totalValue);
-				}
-			}
-			
-			scaleFactor = useHeight / (maxYValue - minYValue);
-			
-			for (i=0; i < n; i++)
-			{
-				data = dp[i];
-				ypos = useHeight;
-				
-				for (s=0; s < chart.series.length; s++)
-				{
-					bcs = chart.series[s] as ColumnSeries;
-
-					var child:IChartItemRenderer = chartDataGroup.getItemRendererForSeriesAtIndex(bcs,i);
-					
-					yValue = Number(data[field]) - minYValue;
-					yValue = yValue * scaleFactor;
-					
-					child.x = xpos;
-					child.width = itemWidth;
-					child.y = ypos - Math.ceil(yValue);
-					child.height = Math.floor(yValue);
-					
-					ypos = child.y;
-				}
-				
-				xpos += gap + itemWidth;
-			}
-			
-			IEventDispatcher(chart).dispatchEvent(new Event("layoutComplete"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGBoxItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGBoxItemRenderer.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGBoxItemRenderer.as
deleted file mode 100644
index 8b7055c..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGBoxItemRenderer.as
+++ /dev/null
@@ -1,166 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.optimized
-{
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.core.graphics.GraphicsContainer;
-	import org.apache.flex.core.graphics.IFill;
-	import org.apache.flex.core.graphics.IStroke;
-	import org.apache.flex.core.graphics.SolidColor;
-	import org.apache.flex.core.graphics.SolidColorStroke;
-	import org.apache.flex.html.supportClasses.DataItemRenderer;
-	import org.apache.flex.html.supportClasses.GraphicsItemRenderer;
-	
-	/**
-	 *  The SVGBoxItemRenderer draws its graphics directly into a SVGChartDataGroup
-	 *  (GraphicsContainer).
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class SVGBoxItemRenderer extends GraphicsItemRenderer implements IChartItemRenderer
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function SVGBoxItemRenderer()
-		{
-			super();
-		}
-		
-		private var _series:IChartSeries;
-		
-		/**
-		 *  The series to which this itemRenderer instance belongs. Or, the series
-		 *  being presented.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get series():IChartSeries
-		{
-			return _series;
-		}
-		public function set series(value:IChartSeries):void
-		{
-			_series = value;
-		}
-				
-		private var _yField:String = "y";
-		
-		/**
-		 *  The name of the field containing the value for the Y axis.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get yField():String
-		{
-			return _yField;
-		}
-		public function set yField(value:String):void
-		{
-			_yField = value;
-		}
-		
-		private var _xField:String = "x";
-		
-		/**
-		 *  The name of the field containing the value for the X axis.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get xField():String
-		{
-			return _xField;
-		}
-		public function set xField(value:String):void
-		{
-			_xField = value;
-		}
-		
-		/**
-		 *  @copy org.apache.flex.supportClasses.UIItemRendererBase#data
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set data(value:Object):void
-		{
-			super.data = value;	
-			drawBar();
-		}
-		
-		/**
-		 *  @copy org.apache.flex.core.UIBase#width
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set width(value:Number):void
-		{
-			super.width = value;
-			drawBar();
-		}
-		
-		/**
-		 *  @copy org.apache.flex.core.UIBase#height
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set height(value:Number):void
-		{
-			super.height = value;
-			drawBar();
-		}
-		
-		/**
-		 *  @private
-		 */
-		protected function drawBar():void
-		{
-			if ((this.width > 0) && (this.height > 0))
-			{		
-				this.drawRect(0, 0, this.width, this.height);
-			}
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartAxisGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartAxisGroup.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartAxisGroup.as
deleted file mode 100644
index 448a542..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartAxisGroup.as
+++ /dev/null
@@ -1,142 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.optimized
-{
-	import org.apache.flex.charts.core.IAxisGroup;
-	import org.apache.flex.core.graphics.GraphicsContainer;
-	import org.apache.flex.core.graphics.IFill;
-	import org.apache.flex.core.graphics.IStroke;
-	
-	/**
-	 * The SVGChartAxisGroup provides a GraphicsContainer whose drawing functions
-	 * can be used to display a chart's axis graphics without resorting to the
-	 * creation of extra objects.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class SVGChartAxisGroup extends GraphicsContainer implements IAxisGroup
-	{
-		/**
-		 * Constructor.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function SVGChartAxisGroup()
-		{
-			super();
-		}
-		
-		/**
-		 * @private
-		 */
-		override public function addedToParent():void
-		{
-			super.addedToParent();
-		}
-		
-		/**
-		 * Draws a horizontal tick label centered in the box at the given position.
-		 * 
-		 * @param text The label to display.
-		 * @param xpos The x position of the label's upper left corner.
-		 * @param ypos The y position of the label's upper left corner.
-		 * @param boxWith The size of the box into which the label should be drawn.
-		 * @param boxHeight The size of the box into which the label should be drawn.
-		 * @param tickFill A fill to use to display the label.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function drawHorizontalTickLabel( text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number, tickFill:IFill ):Object
-		{
-			fill = tickFill;
-			return drawText(text, xpos-boxWidth/2, ypos);
-		}
-		
-		/**
-		 * Draws a vertical tick label centered in the box at the given position.
-		 * 
-		 * @param text The label to display.
-		 * @param xpos The x position of the label's upper left corner.
-		 * @param ypos The y position of the label's upper left corner.
-		 * @param boxWith The size of the box into which the label should be drawn.
-		 * @param boxHeight The size of the box into which the label should be drawn.
-		 * @param tickFill A fill to use to display the label.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function drawVerticalTickLabel( text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number, tickFill:IFill ):Object
-		{
-			fill = tickFill;
-			return drawText(text, xpos, ypos-boxHeight/4);
-		}
-		
-		/**
-		 * Draws an set of tick marks are determined in the marks path.
-		 * 
-		 * @param originX The upper left corner of the space into which the tick marks are drawn.
-		 * @param originY The upper left corner of the space into which the tick marks are drawn.
-		 * @param width The size of the box into which the tick marks are drawn.
-		 * @param height The size of the box into which the tick marks are drawn.
-		 * @param tickStroke The stroke to use to display the tick marks.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function drawTickMarks( originX:Number, originY:Number, width:Number, height:Number, marks:String, tickStroke:IStroke ):void
-		{
-			stroke = tickStroke;
-			drawPath(marks);
-		}
-		
-		/**
-		 * Draws the axis line at the given position.
-		 * 
-		 * @param originX The upper left corner of the space into which the axis line is drawn.
-		 * @param originY The upper left corner of the space into which the axis line is drawn.
-		 * @param width The size of the box into which the line is drawn.
-		 * @param height The size of the box into which the line is drawn.
-		 * @param lineStroke The stroke to use to display the line.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function drawAxisLine( originX:Number, originY:Number, width:Number, height:Number, lineStroke:IStroke ):void
-		{
-			stroke = lineStroke;
-			var pathLine:String = "M " + String(originX) + " " + String(originY) + " l "+String(width)+" "+String(height);
-			drawPath(pathLine);
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartDataGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartDataGroup.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartDataGroup.as
deleted file mode 100644
index 3d5ec8c..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGChartDataGroup.as
+++ /dev/null
@@ -1,192 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.optimized
-{
-	import org.apache.flex.charts.core.IChartDataGroup;
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.core.IContentView;
-	import org.apache.flex.core.IItemRenderer;
-	import org.apache.flex.core.IItemRendererParent;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.core.graphics.GraphicsContainer;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.geom.Point;
-	
-	/**
-	 *  The SVGChartDataGroup serves as the drawing canvas for SVG itemRenderers. Rather than having
-	 *  individual itemRenderer objects in the display list, this class provides a canvas where the
-	 *  itemRenderers can draw directly using the flex.core.graphics package.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class SVGChartDataGroup extends GraphicsContainer implements IItemRendererParent, IContentView, IChartDataGroup
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function SVGChartDataGroup()
-		{
-			super();
-			
-			_children = new Array();
-						
-			addEventListener("widthChanged", resizeContainer);
-			addEventListener("heightChanged", resizeContainer);
-		}
-		
-		private var _children:Array;
-		private var _strand:IStrand;
-		
-		/**
-		 *  @copy org.apache.flex.core.IBead#strand
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function set strand(value:IStrand):void
-		{
-			_strand = value;
-		}
-		public function get strand():IStrand
-		{
-			return _strand;
-		}
-		
-		/**
-		 *  @copy org.apache.flex.core.IItemRendererParent#getItemRendererForIndex()
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function getItemRendererForIndex(index:int):IItemRenderer
-		{
-			if (index < 0 || index >= _children.length) return null;
-			return _children[index] as IItemRenderer;
-		}
-		
-		/**
-		 *  Returns the itemRenderer that matches both the series and child index. A null return is
-		 *  valid since some charts have optional itemRenderers for their series.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function getItemRendererForSeriesAtIndex(series:IChartSeries, index:int):IChartItemRenderer
-		{
-			var n:int = _children.length;
-			for(var i:int=0; i < n; i++)
-			{
-				var child:IChartItemRenderer = _children[i] as IChartItemRenderer;
-				if (child && child.series == series) {
-					if (index == 0) return child;
-					--index;
-				}
-			}
-			
-			return null;
-		}
-		
-		/**
-		 *  @copy org.apache.flex.core.IItemRendererParent#removeAllElements()
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function removeAllElements():void
-		{
-			super.removeAllElements();
-			_children = new Array();
-		}
-		
-		/**
-		 *  Overrides the addElement function to set the element into an internal
-		 *  list.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function addElement(value:Object, dispatchEvent:Boolean = true):void
-		{
-			_children.push(value);
-			
-			var base:UIBase = value as UIBase;
-			base.addedToParent();
-			
-			super.addElement(value, dispatchEvent);
-		}
-		
-		/**
-		 *  Overrides the addElementAt function to set the element into an internal
-		 *  list.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function addElementAt(value:Object, index:int, dispatchEvent:Boolean = true):void
-		{
-			if (index >= _children.length) _children.push(value);
-			else _children.splice(index, 0, value);
-			
-			var base:UIBase = value as UIBase;
-			base.addedToParent();
-			
-			super.addElementAt(value, index, dispatchEvent);
-		}
-		
-		/**
-		 *  @private
-		 */
-		private function resizeContainer(event:Event) : void
-		{
-			// might need to do something with this
-		}
-		
-		public function getItemRendererUnderPoint(point:Point):IChartItemRenderer
-		{
-			return null;
-		}
-		
-		public function updateAllItemRenderers():void
-		{
-			
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGLineSegmentItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGLineSegmentItemRenderer.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGLineSegmentItemRenderer.as
deleted file mode 100644
index e3bdd94..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGLineSegmentItemRenderer.as
+++ /dev/null
@@ -1,205 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.optimized
-{
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.core.graphics.GraphicsContainer;
-	import org.apache.flex.core.graphics.IStroke;
-	import org.apache.flex.core.graphics.Path;
-	import org.apache.flex.core.graphics.SolidColorStroke;
-	import org.apache.flex.html.supportClasses.DataItemRenderer;
-	import org.apache.flex.charts.supportClasses.ILineSegmentItemRenderer;
-	
-	/**
-	 *  The SVGLineSegmentItemRenderer draws its graphics directly into a SVGChartDataGroup (a
-	 *  GraphicsContainer).
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class SVGLineSegmentItemRenderer extends DataItemRenderer implements ILineSegmentItemRenderer
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function SVGLineSegmentItemRenderer()
-		{
-			super();
-		}
-		
-		private var _series:IChartSeries;
-		
-		/**
-		 *  The series to which this itemRenderer instance belongs. Or, the series
-		 *  being presented.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get series():IChartSeries
-		{
-			return _series;
-		}
-		public function set series(value:IChartSeries):void
-		{
-			_series = value;
-		}
-		
-		private var _points:Array;
-		
-		/**
-		 *  The points of the vertices. 
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get points():Array
-		{
-			return _points;
-		}
-		public function set points(value:Array):void
-		{
-			_points = value;
-			drawLine();
-		}
-		
-		private var _stroke:IStroke;
-		
-		public function get stroke():IStroke
-		{
-			return _stroke;
-		}
-		public function set stroke(value:IStroke):void
-		{
-			_stroke = value;
-			drawLine();
-		}
-		
-		/**
-		 *  @copy org.apache.flex.supportClasses.UIItemRendererBase#data
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set data(value:Object):void
-		{
-			super.data = value;	
-		}
-		override public function get data():Object
-		{
-			return super.data;
-		}
-		
-		/**
-		 *  The name of the field containing the value for the Y axis. This is not implemented by this class.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get yField():String
-		{
-			return null;
-		}
-		public function set yField(value:String):void
-		{
-		}
-		
-		/**
-		 *  The name of the field containing the value for the X axis. This is not implemented by this class.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get xField():String
-		{
-			return null;
-		}
-		public function set xField(value:String):void
-		{
-		}
-		
-		private var _fillColor:uint;
-		
-		/**
-		 *  The color used to fill the interior of the box.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get fillColor():uint
-		{
-			return _fillColor;
-		}
-		public function set fillColor(value:uint):void
-		{
-			_fillColor = value;
-		}
-		
-		/**
-		 *  @private
-		 */
-		protected function drawLine():void
-		{			
-			if (points != null)
-			{
-				var graphicsContainer:GraphicsContainer = this.itemRendererParent as GraphicsContainer;
-				
-				if (stroke == null) {
-					var solidColorStroke:SolidColorStroke = new SolidColorStroke();
-					solidColorStroke.color = 0x000088;
-					solidColorStroke.weight = 1;
-					solidColorStroke.alpha = 1;
-					_stroke = solidColorStroke;
-				}
-				
-				graphicsContainer.stroke = stroke;
-				graphicsContainer.fill = null;
-				
-				var pathString:String = "";
-				
-				for (var i:int=0; i < points.length; i++) {
-					var point:Object = points[i];
-					if (i == 0) pathString += "M "+point.x+" "+point.y+" ";
-					else pathString += "L "+point.x+" "+point.y+" ";
-				}
-				
-				graphicsContainer.drawPath(pathString);
-			}
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGWedgeItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGWedgeItemRenderer.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGWedgeItemRenderer.as
deleted file mode 100644
index 03e0195..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/optimized/SVGWedgeItemRenderer.as
+++ /dev/null
@@ -1,281 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.optimized
-{
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.core.graphics.GraphicsContainer;
-	import org.apache.flex.core.graphics.IFill;
-	import org.apache.flex.core.graphics.IStroke;
-	import org.apache.flex.core.graphics.Path;
-	import org.apache.flex.html.supportClasses.DataItemRenderer;
-	import org.apache.flex.charts.supportClasses.IWedgeItemRenderer;
-	
-	/**
-	 *  The SVGWedgeItemRenderer draws its graphics directly into a SVGChartDataGroup
-	 *  (a GraphicsContainer).
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class SVGWedgeItemRenderer extends DataItemRenderer implements IWedgeItemRenderer
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function SVGWedgeItemRenderer()
-		{
-			super();
-		}
-		
-		private var _series:IChartSeries;
-		
-		/**
-		 *  The series to which this itemRenderer instance belongs. Or, the series
-		 *  being presented.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get series():IChartSeries
-		{
-			return _series;
-		}
-		public function set series(value:IChartSeries):void
-		{
-			_series = value;
-		}
-		
-		private var _centerX:Number;
-		
-		/**
-		 *  The X coordinate of the center of the pie. 
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get centerX():Number
-		{
-			return _centerX;
-		}
-		public function set centerX(value:Number):void
-		{
-			_centerX = value;
-			drawWedgeInternal();
-		}
-		
-		private var _centerY:Number;
-		
-		/**
-		 *  The Y coordinate of the center of the pie. 
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get centerY():Number
-		{
-			return _centerY;
-		}
-		public function set centerY(value:Number):void
-		{
-			_centerY = value;
-			drawWedgeInternal();
-		}
-		
-		private var _startAngle:Number;
-		
-		/**
-		 *  The starting angle (radians) of the wedge. 
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get startAngle():Number
-		{
-			return _startAngle;
-		}
-		public function set startAngle(value:Number):void
-		{
-			_startAngle = value;
-			drawWedgeInternal();
-		}
-		
-		private var _arc:Number;
-		
-		/**
-		 *  The sweep (radians) of the wedge, relative to the startAngle. 
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get arc():Number
-		{
-			return _arc;
-		}
-		public function set arc(value:Number):void
-		{
-			_arc = value;
-			drawWedgeInternal();
-		}
-		
-		private var _radius:Number;
-		
-		/**
-		 *  The radius of the pie. 
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get radius():Number
-		{
-			return _radius;
-		}
-		public function set radius(value:Number):void
-		{
-			_radius = value;
-			drawWedgeInternal();
-		}
-		
-		private var _fill:IFill;
-		
-		/**
-		 *  The color used to fill the interior of the box.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get fill():IFill
-		{
-			return _fill;
-		}
-		public function set fill(value:IFill):void
-		{
-			_fill = value;
-		}
-		
-		private var _stroke:IStroke;
-		
-		/**
-		 *  The outline of the box.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get stroke():IStroke
-		{
-			return _stroke;
-		}
-		public function set stroke(value:IStroke):void
-		{
-			_stroke = value;
-		}
-		
-		/**
-		 * @private
-		 */
-		private function drawWedgeInternal():void
-		{
-			if ( !isNaN(centerX) && !isNaN(centerY) && !isNaN(startAngle) && !isNaN(arc) && !isNaN(radius) ) {
-				drawWedge(centerX, centerY, startAngle, arc, radius, radius, false);
-			}
-		}
-		
-		/**
-		 * @private
-		 * 
-		 * Draw a wedge of a circle
-		 * @param graphics      the graphics object to draw into
-		 * @param x             the x center of the circle
-		 * @param y             the y center of the circle
-		 * @param startAngle    start angle (radians)
-		 * @param arc           sweep angle (radians)
-		 * @param radius        radius of the circle
-		 * @param yRadius       vertical radius (or radius if none given)
-		 * @param continueFlag  if true, uses a moveTo call to start drawing at the start point of the circle; else continues drawing using only lineTo and curveTo
-		 * 
-		 */			
-		public function drawWedge(x:Number, y:Number,
-								  startAngle:Number, arc:Number,
-								  radius:Number, yRadius:Number = NaN,
-								  continueFlag:Boolean = false):void
-		{			
-			var graphicsContainer:GraphicsContainer = this.itemRendererParent as GraphicsContainer;
-			
-			var x1:Number = x + radius * Math.cos(startAngle);
-			var y1:Number = y + radius * Math.sin(startAngle);
-			var x2:Number = x + radius * Math.cos(startAngle + arc);
-			var y2:Number = y + radius * Math.sin(startAngle + arc);
-			
-			var pathString:String = 'M' + x + ' ' + y + ' L' + x1 + ' ' + y1 + ' A' + radius + ' ' + radius +
-				' 0 0 1 ' + x2 + ' ' + y2 + ' z';
-			
-			graphicsContainer.fill = fill;
-			graphicsContainer.stroke = stroke;
-			graphicsContainer.drawPath(pathString);
-		}
-		
-		/*
-		* Ignored by WedgeItemRenderer
-		*/
-		
-		/**
-		 * @private
-		 */
-		public function get xField():String
-		{
-			return null;
-		}
-		public function set xField(value:String):void
-		{
-		}
-		
-		/**
-		 * @private
-		 */
-		public function get yField():String
-		{
-			return null;
-		}
-		public function set yField(value:String):void
-		{
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
deleted file mode 100644
index 8001b20..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BarSeries.as
+++ /dev/null
@@ -1,103 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.supportClasses
-{
-    import org.apache.flex.core.IFactory;
-    
-	import org.apache.flex.charts.core.IChartSeries;
-	
-	/**
-	 *  The BarSeries defines what field is being plotted from
-	 *  the chart's dataProvider. For BarChartSeries, only the xField
-	 *  is used. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class BarSeries implements IChartSeries
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function BarSeries()
-		{
-		}
-		
-		private var _xField:String = "x";
-		
-		/**
-		 *  The name of the field corresponding to the X or horizontal value
-		 *  for an item in the chart. 
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get xField():String
-		{
-			return _xField;
-		}
-		public function set xField(value:String):void
-		{
-			_xField = value;
-		}
-		
-		private var _yField:String;
-		
-		/**
-		 *  @private
-		 */
-		public function get yField():String
-		{
-			return null;
-		}
-		public function set yField(value:String):void
-		{
-			// not used
-		}
-		
-		private var _itemRenderer:IFactory;
-		
-		/**
-		 *  The class or class factory to use as the itemRenderer for each X/Y pair. The
-		 *  itemRenderer class must implement the IChartItemRenderer interface.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get itemRenderer():IFactory
-		{
-			return _itemRenderer;
-		}
-		public function set itemRenderer(value:IFactory):void
-		{
-			_itemRenderer = value;
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/110c96fb/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
deleted file mode 100644
index 1bec3b1..0000000
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
+++ /dev/null
@@ -1,254 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.charts.supportClasses
-{
-	import org.apache.flex.charts.core.IChartItemRenderer;
-	import org.apache.flex.charts.core.IChartSeries;
-	import org.apache.flex.core.IBead;
-	import org.apache.flex.core.graphics.IFill;
-	import org.apache.flex.core.graphics.IStroke;
-	import org.apache.flex.core.graphics.Rect;
-	import org.apache.flex.core.graphics.SolidColor;
-	import org.apache.flex.html.supportClasses.DataItemRenderer;
-	
-	/**
-	 *  The BoxItemRenderer displays a colored rectangular area suitable for use as
-	 *  an itemRenderer for a BarChartSeries. This class implements the 
-	 *  org.apache.flex.charts.core.IChartItemRenderer
-	 *  interface. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class BoxItemRenderer extends DataItemRenderer implements IChartItemRenderer
-	{
-		/**
-		 *  constructor.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function BoxItemRenderer()
-		{
-			super();
-		}
-		
-		override public function addedToParent():void
-		{
-			super.addedToParent();
-		}
-		
-		override public function addBead(bead:IBead):void
-		{
-			super.addBead(bead);
-		}
-		
-		private var _series:IChartSeries;
-		
-		/**
-		 *  The series to which this itemRenderer instance belongs. Or, the series
-		 *  being presented.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get series():IChartSeries
-		{
-			return _series;
-		}
-		public function set series(value:IChartSeries):void
-		{
-			_series = value;
-		}
-		
-		private var filledRect:Rect;
-				
-		private var _yField:String = "y";
-		
-		/**
-		 *  The name of the field containing the value for the Y axis.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get yField():String
-		{
-			return _yField;
-		}
-		public function set yField(value:String):void
-		{
-			_yField = value;
-		}
-		
-		private var _xField:String = "x";
-		
-		/**
-		 *  The name of the field containing the value for the X axis.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get xField():String
-		{
-			return _xField;
-		}
-		public function set xField(value:String):void
-		{
-			_xField = value;
-		}
-		
-		private var _fill:IFill;
-		
-		/**
-		 *  The color used to fill the interior of the box.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get fill():IFill
-		{
-			return _fill;
-		}
-		public function set fill(value:IFill):void
-		{
-			_fill = value;
-		}
-		
-		private var _stroke:IStroke;
-		
-		/**
-		 *  The outline of the box.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get stroke():IStroke
-		{
-			return _stroke;
-		}
-		public function set stroke(value:IStroke):void
-		{
-			_stroke = value;
-		}
-		
-		/**
-		 *  @copy org.apache.flex.supportClasses.UIItemRendererBase#data
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set data(value:Object):void
-		{
-			super.data = value;	
-			drawBar();
-		}
-		
-		/**
-		 *  @copy org.apache.flex.core.UIBase#width
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set width(value:Number):void
-		{
-			super.width = value;
-			drawBar();
-		}
-		
-		/**
-		 *  @copy org.apache.flex.core.UIBase#height
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		override public function set height(value:Number):void
-		{
-			super.height = value;
-			drawBar();
-		}
-		
-		/**
-		 *  @private
-		 */
-		protected function drawBar():void
-		{
-			if ((this.width > 0) && (this.height > 0))
-			{
-				var needsAdd:Boolean = false;
-				
-				if (filledRect == null) {
-					filledRect = new Rect();
-					needsAdd = true;
-				}
-				
-				filledRect.fill = fill;
-				filledRect.stroke = stroke;
-				filledRect.x = 0;
-				filledRect.y = 0;
-				filledRect.width = this.width;
-				filledRect.height = this.height;
-				
-				if (needsAdd) {
-					addElement(filledRect);
-				}
-			}
-		}
-		
-		private var hoverFill:SolidColor;
-		
-		override public function updateRenderer():void
-		{
-			super.updateRenderer();
-			
-			if (down||selected||hovered) {
-				if (hoverFill == null) {
-					hoverFill = new SolidColor();
-					hoverFill.color = (fill as SolidColor).color;
-					hoverFill.alpha = 0.5;
-				}
-				filledRect.fill = hoverFill;
-			}
-			else {
-				filledRect.fill = fill;
-			}
-			
-			filledRect.drawRect(filledRect.x, filledRect.y, filledRect.width, filledRect.height);
-		}
-	}
-}


Mime
View raw message