incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1418122 [15/18] - in /incubator/flex/sdk/branches/develop/mustella/tests/components/Charts: ./ Area/ Area/Properties/ Area/Properties/Baselines/ Area/SWFs/ Bar/ Bar/Properties/ Bar/Properties/Baselines/ Bar/SWFs/ Bubble/ Bubble/Properties/...
Date Thu, 06 Dec 2012 22:51:38 GMT
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/SWFs/MultipleAxesUtils.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/SWFs/MultipleAxesUtils.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/SWFs/MultipleAxesUtils.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/SWFs/MultipleAxesUtils.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,1174 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+	import mx.charts.*;
+	import mx.charts.series.*;
+	import mx.charts.series.items.*;
+	import mx.charts.chartClasses.*;
+	import mx.charts.renderers.*;
+	import mx.charts.*;
+	import mx.core.ClassFactory;
+	import mx.graphics.*;		
+
+
+	public class MultipleAxesUtils 
+	{ 	
+		public function MultipleAxesUtils()
+		{
+		}
+
+		public static function myParseFunction(s:String):Date 
+		{ 
+		  var a:Array = s.split(",");
+		  var newDate:Date = new Date(a[0],a[1]-1,a[2]);
+		  return newDate;
+		}
+
+		private static function myLabelFunction(axis: IAxisRenderer, label: String):String
+		{
+			var num:Number;
+			num = int(label);     	
+			num = num*10;     	
+			return num.toString();
+		}
+
+		public static function AxisRenderers(testCaseType:String, chart:Object):void
+		{
+			var arrHorAxisRenderers:Array = new Array();
+			var arrVerAxisRenderers:Array = new Array();
+					
+			var seriesArray:Array = new Array();		
+			
+			var myHorH1:CategoryAxis = new CategoryAxis();
+			var myHorH2:DateTimeAxis = new DateTimeAxis();
+			
+			var myVerV1:LinearAxis = new LinearAxis();
+			var myVerV2:LinearAxis = new LinearAxis();
+			var myVerV3:LinearAxis = new LinearAxis();
+			var myVerV4:LinearAxis = new LinearAxis();
+			
+			var myHorAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myHorAxisRenderer1: AxisRenderer = new AxisRenderer();
+			
+			var myVerAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer1: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer2: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer3: AxisRenderer = new AxisRenderer();
+			
+			var closeLine:LineSeries = new LineSeries();
+			var openCol:ColumnSeries = new ColumnSeries();	
+			var highCol:ColumnSeries = new ColumnSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+			
+			
+			switch(testCaseType)
+			{	
+				case "noAxisSpecified":	
+				
+					myHorH1.categoryField = "month";			
+					chart.horizontalAxis = myHorH1;
+
+					closeLine.yField = "close";
+					closeLine.xField = "month";						
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "month"; 			
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";
+					highCol.xField = "month";					
+					seriesArray.push(highCol);
+
+					lowPlot.yField = "low";
+					lowPlot.xField = "month";			
+					seriesArray.push(lowPlot);	
+
+					chart.series = seriesArray;			
+					break;
+
+				case "axisAtSeries":
+				
+					myHorH1.categoryField = "month";				
+
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;
+
+					chart.horizontalAxis = myHorH1;								
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "top";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 		 
+
+					chart.verticalAxis = myVerV1;
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);	
+
+					closeLine.yField = "close";							
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					highCol.verticalAxis = myVerV2;
+					seriesArray.push(highCol);	
+
+					lowPlot.yField = "low";						
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;				
+					break;
+
+				case "noAxisRenderers":		
+				
+					myHorH1.categoryField = "month";								
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;						
+
+					chart.verticalAxis = myVerV1;
+
+					closeLine.yField = "close";						
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 						
+					seriesArray.push(openCol);
+
+					highCol.yField = "high";						
+					seriesArray.push(highCol);
+
+					lowPlot.yField = "low";			
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;	
+					break;
+				
+				
+				case "axisRendererWithPlacement":
+					
+					myHorH1.categoryField = "month";
+
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;
+
+					chart.horizontalAxis = myHorH1;					
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "top";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;
+					myVerAxisRenderer3.placement = "left";
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);	
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;			
+					break;
+			}
+		}
+
+		public static function axisTest(testCaseType:String, chart:Object):void
+		{
+			var arrHorAxisRenderers:Array = new Array();
+			var arrVerAxisRenderers:Array = new Array();
+			
+			var seriesArray:Array = new Array();			
+			var myHorH1:CategoryAxis = new CategoryAxis();
+			var myHorH2:CategoryAxis = new CategoryAxis();
+			var myHorH11:DateTimeAxis = new DateTimeAxis();
+			
+			var myVerV1:LinearAxis = new LinearAxis();						
+			var myVerV2:LinearAxis = new LinearAxis();
+			var myVerV3:LinearAxis = new LinearAxis();
+			var myVerV4:LinearAxis = new LinearAxis();
+			var myVerV21:LogAxis = new LogAxis();	
+			
+			var myHorAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myHorAxisRenderer1: AxisRenderer = new AxisRenderer();
+
+			var myVerAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer1: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer2: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer3: AxisRenderer = new AxisRenderer();
+			
+			var closeLine:LineSeries = new LineSeries();
+			var openCol:ColumnSeries = new ColumnSeries();
+			var highCol:ColumnSeries = new ColumnSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+			
+			
+			switch(testCaseType)
+			{	
+				case "setAxis":
+				
+					myHorH1.categoryField = "month";				
+					myHorH2.categoryField = "date";						
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.title = "Open";
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;						
+
+					chart.verticalAxis = myVerV1;
+
+					closeLine.yField = "close";						
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";			 	
+					openCol.dataTransform.setAxis(CartesianTransform.VERTICAL_AXIS, myVerV2);
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					seriesArray.push(highCol);	
+
+					lowPlot.yField = "low";			
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;	
+					break;
+
+				case "validHorVerAxis":
+							
+					myHorH1.categoryField = "month";		
+					myHorH2.categoryField = "date";						
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "top";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+					myHorAxisRenderer1.axis = myHorH1;
+					myHorAxisRenderer1.placement = "bottom";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer1); 				
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;
+					myVerAxisRenderer3.placement = "left";
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);	
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;			
+					break;
+
+
+				case "diffAxisType":
+					//test with all types of axis(log, dateTime)
+
+					myHorH11.dataUnits = "days";
+					myHorH11.labelUnits = "days";
+					myHorH11.parseFunction = myParseFunction;
+					myHorH11.displayLocalTime = true;
+
+					chart.horizontalAxis = myHorH11;								
+
+					myVerV21.minimum = 10;
+					myVerV21.maximum = 10000;
+					myVerV21.title = "log axis";
+					myVerV21.interval = 10;
+
+					myVerV1.title = "close";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myVerAxisRenderer1.axis = myVerV21;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";
+					closeLine.xField = "date";
+					closeLine.horizontalAxis = myHorH11;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date";
+					openCol.verticalAxis = myVerV21;
+					seriesArray.push(openCol);	
+
+					chart.series = seriesArray;			
+					break;
+
+				case "disabledDays":
+					//disabled days and ranges				
+					myHorH11.dataUnits = "days";
+					myHorH11.labelUnits = "days";
+					myHorH11.parseFunction = myParseFunction;
+					myHorH11.displayLocalTime = true;
+					myHorH11.disabledDays = [0];
+
+					chart.horizontalAxis = myHorH11;								
+
+					myVerV21.minimum = 10;
+					myVerV21.maximum = 10000;
+					myVerV21.title = "log axis";
+					myVerV21.interval = 10;
+
+					myVerV1.title = "close";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myVerAxisRenderer1.axis = myVerV21;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";
+					closeLine.xField = "date";
+					closeLine.horizontalAxis = myHorH11;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date";
+					openCol.verticalAxis = myVerV21;				
+					seriesArray.push(openCol);	
+
+					chart.series = seriesArray;		
+					break;
+				
+			}
+		}
+
+
+		public static function placementTest(testCaseType:String, chart:Object):void
+		{
+			var arrHorAxisRenderers:Array = new Array();
+			var arrVerAxisRenderers:Array = new Array();
+			var seriesArray:Array = new Array();
+			
+			var myHorH1:CategoryAxis = new CategoryAxis();
+			var myHorH2:DateTimeAxis = new DateTimeAxis();
+			
+			var myVerV1:LinearAxis = new LinearAxis();						
+			var myVerV2:LinearAxis = new LinearAxis();
+			var myVerV3:LinearAxis = new LinearAxis();
+			var myVerV4:LinearAxis = new LinearAxis();
+			
+			var myHorAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myHorAxisRenderer1: AxisRenderer = new AxisRenderer();
+
+			var myVerAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer1: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer2: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer3: AxisRenderer = new AxisRenderer();
+
+			var closeLine:LineSeries = new LineSeries();
+			var openCol:ColumnSeries = new ColumnSeries();
+			var highCol:ColumnSeries = new ColumnSeries();
+			var lowPlot:PlotSeries = new PlotSeries();			
+			
+			switch(testCaseType)
+			{	
+				case "multipleLeftAndTop":				
+					myHorH1.categoryField = "month";	
+
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;					
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "top";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "left";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "left";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;
+					myVerAxisRenderer3.placement = "left";
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;				
+					break;
+
+				case "multipleBottomAndRight":				
+				
+					myHorH1.categoryField = "month";
+
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;						
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "bottom";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;
+					myVerAxisRenderer3.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);				
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);					
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;				
+					break;
+
+				case "noVerPlacementSpecified":
+				
+					myHorH1.categoryField = "month";				
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;						
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "bottom";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+					myVerAxisRenderer1.axis = myVerV2;				
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;				
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;				
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);		
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;				
+					break;
+
+				case "noPlacementSpecified":				
+			
+					myHorH1.categoryField = "month";				
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;						
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;					 	
+					arrHorAxisRenderers.push(myHorAxisRenderer);					
+
+					myVerAxisRenderer1.axis = myVerV2;				
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;				
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;				
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);	
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);	
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;				
+					break;
+
+			}
+		}
+
+		public static function axisAndRendererTests(testCaseType:String, chart:Object):void
+		{		
+			var arrHorAxisRenderers:Array = new Array();
+			var arrVerAxisRenderers:Array = new Array();
+			var seriesArray:Array = new Array();
+
+			var myHorH1:CategoryAxis = new CategoryAxis();
+			var myHorH2:DateTimeAxis = new DateTimeAxis();
+
+			var myVerV1:LinearAxis = new LinearAxis();						
+			var myVerV2:LinearAxis = new LinearAxis();
+			var myVerV3:LinearAxis = new LinearAxis();
+			var myVerV4:LinearAxis = new LinearAxis();
+
+			var myHorAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myHorAxisRenderer1: AxisRenderer = new AxisRenderer();
+
+			var myVerAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer1: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer2: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer3: AxisRenderer = new AxisRenderer();
+
+			var closeLine:LineSeries = new LineSeries();
+			var openCol:ColumnSeries = new ColumnSeries();
+			var highCol:ColumnSeries = new ColumnSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+			
+			switch(testCaseType)
+			{	
+				case "sameAxisOnDiffRenderers":						
+					myHorH1.categoryField = "month";
+
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;
+
+					chart.horizontalAxis = myHorH1;				
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";			
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "top";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 				
+
+					myVerAxisRenderer.axis = myVerV2;
+					myVerAxisRenderer.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer);			
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV3;
+					myVerAxisRenderer3.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";						
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);				
+
+					highCol.yField = "high";				
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);					
+
+					lowPlot.yField = "low";						
+					seriesArray.push(lowPlot);	
+					chart.series = seriesArray;				
+					break;
+
+				case "sameRendererWithDiffAxis":
+				
+					myHorH1.categoryField = "month";
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+
+					myHorAxisRenderer1.axis = myHorH1;
+					myHorAxisRenderer1.placement = "top";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer1);
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "left";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV3;
+					myVerAxisRenderer3.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";						
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);				
+
+					highCol.yField = "high";				
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);					
+
+					lowPlot.yField = "low";						
+					seriesArray.push(lowPlot);	
+					chart.series = seriesArray;				
+					break;
+			}
+		}
+
+
+		public static function setChartPadding(testCaseType:String, chart:Object):void
+		{
+			switch(testCaseType)
+			{	
+				case "paddingTop1":
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingTop", 20);				
+					break;
+
+				case "paddingTop2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingTop", 50);				
+					break;
+
+				case "paddingBottom1":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingBottom", 10);				
+					break;
+
+				case "paddingBottom2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingBottom", 60);				
+					break;
+					
+				case "paddingRight1":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingRight", 10);				
+					break;
+
+				case "paddingRight2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingRight", 50);				
+					break;
+
+				case "paddingLeft1":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingLeft", 10);				
+					break;
+
+				case "paddingLeft2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("paddingLeft", 50);				
+					break;				
+			}
+		}
+
+		public static function setChartGutter(testCaseType:String, chart:Object):void
+		{
+			switch(testCaseType)
+			{	
+				case "gutterTop1":
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterTop", 20);				
+					break;
+
+				case "gutterTop2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterTop", 50);				
+					break;
+
+				case "gutterBottom1":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterBottom", 10);				
+					break;
+
+				case "gutterBottom2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterBottom", 60);				
+					break;
+					
+				case "gutterRight1":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterRight", 10);				
+					break;
+
+				case "gutterRight2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterRight", 70);				
+					break;
+
+				case "gutterLeft1":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterLeft", 10);				
+					break;
+
+				case "gutterLeft2":				
+					setMultipleAxis(chart);				
+					chart.setStyle("gutterLeft", 70);				
+					break;
+			}
+		}
+
+		public static function setLabelFunction(testCaseType:String, chart:Object):void
+		{
+			var arrHorAxisRenderers:Array = new Array();
+			var arrVerAxisRenderers:Array = new Array();
+			var seriesArray:Array = new Array();
+			
+			var myHorH1:CategoryAxis = new CategoryAxis();
+			var myHorH2:DateTimeAxis = new DateTimeAxis();
+			
+			var myVerV1:LinearAxis = new LinearAxis();						
+			var myVerV2:LinearAxis = new LinearAxis();
+			var myVerV3:LinearAxis = new LinearAxis();
+			var myVerV4:LinearAxis = new LinearAxis();
+
+			var myHorAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myHorAxisRenderer1: AxisRenderer = new AxisRenderer();
+
+			var myVerAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer1: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer2: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer3: AxisRenderer = new AxisRenderer();
+
+			var closeLine:LineSeries = new LineSeries();
+			var openCol:ColumnSeries = new ColumnSeries();
+			var highCol:ColumnSeries = new ColumnSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+			
+			switch(testCaseType)
+			{	
+				case "validLabelFunction":				
+					myHorH1.categoryField = "month";				
+					myHorH2.dataUnits = "days";
+					myHorH2.labelUnits = "days";
+					myHorH2.parseFunction = myParseFunction;
+					myHorH2.displayLocalTime = true;						
+					chart.horizontalAxis = myHorH1;
+
+					myVerV2.minimum = 20;
+					myVerV2.maximum = 170;
+
+					myVerV1.title = "close";
+					myVerV2.title = "open";
+					myVerV3.title = "high";
+					myVerV4.title = "low";
+
+					myHorAxisRenderer.axis = myHorH2;
+					myHorAxisRenderer.placement = "bottom";		 	
+					arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+					myVerAxisRenderer1.axis = myVerV2;
+					myVerAxisRenderer1.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					myVerAxisRenderer2.axis = myVerV3;
+					myVerAxisRenderer2.placement = "right";
+					arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+					myVerAxisRenderer3.axis = myVerV4;
+					myVerAxisRenderer3.placement = "left";
+					myVerAxisRenderer3.labelFunction = myLabelFunction;
+					arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";								
+					closeLine.horizontalAxis = myHorH1;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";
+					openCol.xField = "date"; 
+					openCol.horizontalAxis = myHorH2;
+					openCol.verticalAxis = myVerV2;
+					seriesArray.push(openCol);				
+
+					highCol.yField = "high";						
+					highCol.horizontalAxis = myHorH1;
+					highCol.verticalAxis = myVerV3;
+					seriesArray.push(highCol);					
+
+					lowPlot.yField = "low";		
+					lowPlot.verticalAxis = myVerV4;	
+					seriesArray.push(lowPlot);		
+
+					chart.series = seriesArray;				
+					break;
+
+				case "labelFnDiffAxisType":		
+
+					var myHorH11:DateTimeAxis = new DateTimeAxis();
+					myHorH11.dataUnits = "days";
+					myHorH11.labelUnits = "days";
+					myHorH11.parseFunction = myParseFunction;
+					myHorH11.displayLocalTime = true;
+
+					chart.horizontalAxis = myHorH11;	
+
+					var myVerV21:LogAxis = new LogAxis();				
+					myVerV21.minimum = 10;
+					myVerV21.maximum = 10000;
+					myVerV21.title = "log axis";
+					myVerV21.interval = 10;
+
+					myVerV1.title = "close";
+					myVerV3.title = "high";
+					myVerV4.title = "low";				
+
+					myVerAxisRenderer1.axis = myVerV21;
+					myVerAxisRenderer1.placement = "right";
+					myVerAxisRenderer1.labelFunction = myLabelFunction;
+					arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+					chart.verticalAxis = myVerV1;
+
+					chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+					chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+					closeLine.yField = "close";	
+					closeLine.xField = "date";
+					closeLine.horizontalAxis = myHorH11;			
+					seriesArray.push(closeLine);
+
+					openCol.yField = "open";	
+					openCol.xField = "date";
+					openCol.verticalAxis = myVerV1;
+					seriesArray.push(openCol);
+
+					chart.series = seriesArray;						
+					break;
+
+				case "labelFnOnDeprecatedProperty":		
+				
+					chart.verticalAxisRenderer.labelFunction = myLabelFunction;
+					closeLine.yField = "close";						
+					seriesArray.push(closeLine);
+					chart.series = seriesArray;	
+					break;
+			}	
+		}
+
+
+		private static function setMultipleAxis(chart:Object):void
+		{
+			var arrHorAxisRenderers:Array = new Array();
+			var arrVerAxisRenderers:Array = new Array();
+			var seriesArray:Array = new Array();
+
+			var myHorH1:CategoryAxis = new CategoryAxis();
+			var myHorH2:DateTimeAxis = new DateTimeAxis();			
+			
+			var myVerV1:LinearAxis = new LinearAxis();						
+			var myVerV2:LinearAxis = new LinearAxis();
+			var myVerV3:LinearAxis = new LinearAxis();
+			var myVerV4:LinearAxis = new LinearAxis();			
+			
+			var myHorAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myHorAxisRenderer1: AxisRenderer = new AxisRenderer();
+
+			var myVerAxisRenderer: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer1: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer2: AxisRenderer = new AxisRenderer();
+			var myVerAxisRenderer3: AxisRenderer = new AxisRenderer();
+
+			var closeLine:LineSeries = new LineSeries();
+			var openCol:ColumnSeries = new ColumnSeries();
+			var highCol:ColumnSeries = new ColumnSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+			
+			myHorH1.categoryField = "month";			
+			myHorH2.dataUnits = "days";
+			myHorH2.labelUnits = "days";
+			myHorH2.parseFunction = myParseFunction;
+			myHorH2.displayLocalTime = true;					
+			chart.horizontalAxis = myHorH1;
+
+			myVerV2.minimum = 20;
+			myVerV2.maximum = 170;
+
+			myVerV1.title = "close";
+			myVerV2.title = "open";
+			myVerV3.title = "high";
+			myVerV4.title = "low";
+
+			myHorAxisRenderer.axis = myHorH2;
+			myHorAxisRenderer.placement = "bottom";		 	
+			arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+			myVerAxisRenderer1.axis = myVerV2;
+			myVerAxisRenderer1.placement = "right";
+			arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+			myVerAxisRenderer2.axis = myVerV3;
+			myVerAxisRenderer2.placement = "right";
+			arrVerAxisRenderers.push(myVerAxisRenderer2);
+
+			myVerAxisRenderer3.axis = myVerV4;
+			myVerAxisRenderer3.placement = "right";
+			arrVerAxisRenderers.push(myVerAxisRenderer3);
+
+			chart.verticalAxis = myVerV1;
+
+			chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+			chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);		 	
+
+			closeLine.yField = "close";								
+			closeLine.horizontalAxis = myHorH1;			
+			seriesArray.push(closeLine);
+
+			openCol.yField = "open";
+			openCol.xField = "date"; 
+			openCol.horizontalAxis = myHorH2;
+			openCol.verticalAxis = myVerV2;
+			seriesArray.push(openCol);				
+
+			highCol.yField = "high";						
+			highCol.horizontalAxis = myHorH1;
+			highCol.verticalAxis = myVerV3;
+			seriesArray.push(highCol);					
+
+			lowPlot.yField = "low";		
+			lowPlot.verticalAxis = myVerV4;	
+			seriesArray.push(lowPlot);		
+
+			chart.series = seriesArray;
+		}
+	}
+}
\ No newline at end of file

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/SWFs/MultipleAxesUtils.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Line/SWFs/MultipleAxesUtils.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_ChangeDataProvider_AtChartLevel.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_ChangeDataProvider_AtChartLevel.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_ChangeDataProvider_AtChartLevel.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_legend.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_legend.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_legend.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_Multiple.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_Multiple.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_Multiple.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_None.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_None.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_None.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_Single.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_Single.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_selectionMode_Single.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_circle_annotation.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_circle_annotation.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_circle_annotation.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_curve_annotation.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_curve_annotation.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_curve_annotation.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_ellipse_annotation.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_ellipse_annotation.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_ellipse_annotation.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_line_annotation.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_line_annotation.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_line_annotation.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_rect_annotation.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_rect_annotation.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_rect_annotation.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_roundedRect_annotation.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_roundedRect_annotation.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/PieSeries_totalValueSet_roundedRect_annotation.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_change_Dataprovider_Series_Level.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_change_Dataprovider_Series_Level.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_change_Dataprovider_Series_Level.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_renderDirection_clockwise.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_renderDirection_clockwise.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_renderDirection_clockwise.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_renderDirection_counterClockwise.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_renderDirection_counterClockwise.png?rev=1418122&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/Baselines/Pie_Series_renderDirection_counterClockwise.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml Thu Dec  6 22:51:12 2012
@@ -0,0 +1,269 @@
+<UnitTester testDir="components/Charts/Pie/Properties/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="GenericPie.mxml">
+
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}	
+
+	import mx.collections.ArrayCollection;
+
+ 	  [Bindable]
+        private var companyBAC:ArrayCollection = new ArrayCollection( [
+            { Date: "25-Jul", open: 18.50,  high: 19, close:18.86},
+            { Date: "26-Jul", open: 19.56,  high: 19.98,  close:11.69},                       
+            { Date: "27-Jul", open: 20.81,  high: 20.99,  close:20.12}, 
+            { Date: "28-Jul", open: 20.70,  high: 21.00,  close:23.84}, 
+            { Date: "29-Jul", open: 21.7,  high: 21.79, close:15.6}, 
+            { Date: "1-Aug", open: 22.45,  high: 22.65, close:21.95},
+            { Date: "2-Aug", open: 22.56,  high: 22.6, close:12.98},
+            { Date: "3-Aug", open: 22.42,  high: 22.70, close:23.63},
+            { Date: "4-Aug", open: 21.67,  high: 22.82, close:26.34},
+            { Date: "5-Aug", open: 22.44,  high: 22.85, close:16.31} ]);
+
+				
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>	
+
+	<mx:Script>
+	<![CDATA[
+	import mx.charts.*;
+	import mx.charts.series.*;
+	import mx.charts.renderers.*;
+
+	import mx.graphics.*;
+
+
+	public function scriptFunction(a:String, b:int):String
+	{
+		return a + ":" + b.toString();
+	}
+
+	// public var styleDecl:Object;
+	// public var styleObj:Object;
+
+	public function createLegend():void
+	{
+		var legend1:Legend = new Legend();		
+            legend1.dataProvider = application.comp;		
+		application.addChildAt(legend1,0);
+	}
+
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+
+	  <TestCase  testID="Pie_Series_renderDirection_clockwise" keywords="[PieChart, renderDirection, clockwise]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<SetStyle target="comp.series.0" styleName="renderDirection" value="clockwise" waitEvent="updateComplete" waitTarget="comp.series.0"/>
+				
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/Pie_Series_renderDirection_clockwise.png" timeout="5000"/>
+			</body> 
+		</TestCase> 
+		
+ 		<TestCase  testID="Pie_Series_renderDirection_counterClockwise" keywords="[PieChart, renderDirection, counterClockwise]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+			
+				<SetStyle target="comp.series.0" styleName="renderDirection" value="counterClockwise" />
+				<Pause timeout="20"/>
+
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/Pie_Series_renderDirection_counterClockwise.png" timeout="5000"/>
+			</body> 
+		</TestCase>
+
+
+		<TestCase  testID="Pie_Series_change_Dataprovider_Series_Level" keywords="[PieChart, change Dataprovider, Series level]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				  <Pause timeout="2000"/>
+
+				<SetProperty target="comp.series.0" propertyName="dataProvider" value="{companyBAC}" waitTarget="comp"  waitEvent="updateComplete" /> 				
+						
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/Pie_Series_change_Dataprovider_Series_Level.png" timeout="5000"/>
+			</body> 
+		</TestCase>
+
+
+
+		<TestCase  testID="PieSeries_selectionMode_Single" keywords="[PieChart, Selection mode, single]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="AllSeriesData.setDefault('pie', application.comp)" waitEvent="updateComplete" waitTarget="comp.series.0" />
+				<SetProperty target="comp" waitEvent="updateComplete" waitTarget="comp" propertyName="selectionMode" value="single" />
+				<SetProperty target="comp.series.0" waitTarget="comp.series.0" propertyName="selectable" value="true" /> 
+				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndex" value="15"  />
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_Single.png"  timeout="5000"/>
+			</body> 
+		</TestCase>
+
+		<TestCase  testID="PieSeries_selectionMode_None" keywords="[PieChart, Selection mode, none]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="AllSeriesData.setDefault('pie', application.comp)" waitEvent="updateComplete" waitTarget="comp.series.0" />
+				<SetProperty target="comp" waitTarget="comp" propertyName="selectionMode" value="none" />				
+				<SetProperty target="comp.series.0" waitTarget="comp.series.0" propertyName="selectable" value="true" /> 
+				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndex" value="3" />
+
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_None.png"  timeout="5000"/> 
+			</body> 
+		</TestCase> 
+
+		<TestCase  testID="PieSeries_selectionMode_Multiple" keywords="[PieChart, Selection mode, multiple]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="AllSeriesData.setDefault('pie', application.comp)" waitEvent="updateComplete" waitTarget="comp.series.0" />
+				<SetProperty target="comp" waitEvent="updateComplete" waitTarget="comp" propertyName="selectionMode" value="multiple" />
+				<SetProperty target="comp.series.0" waitTarget="comp.series.0" propertyName="selectable" value="true" /> 
+				<SetProperty target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" propertyName="selectedIndices" value="[3,15,9,20]" />
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_selectionMode_Multiple.png"  timeout="5000"/>
+			</body> 
+		</TestCase>
+
+
+	   <TestCase  testID="PieSeries_legend" keywords="[PieChart, Legend, multiple series]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+
+
+				<SetProperty target="comp.series.0" propertyName="nameField" value="low" waitTarget="comp.series.0" />
+			
+		
+			
+				<Pause timeout="200"/>
+				<RunCode code="createLegend()" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap target=""   url="../Properties/Baselines/PieSeries_legend.png" />
+			</body> 
+		</TestCase>
+
+
+	  <TestCase  testID="PieSeries_ChangeDataProvider_AtChartLevel" keywords="[PieChart, Dataprovider, chartLevel]">
+		<setup>
+			<ResetComponent target="comp" className="mx.charts::PieChart" />
+			<RunCode code="AllSeriesData.setDefault('pie', application.comp)" />
+			<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+			<SetStyle target="comp.series.0" waitEvent="updateComplete" waitTarget="comp.series.0" styleName="labelPosition" value="inside" />
+			<Pause timeout="200"/>
+			<SetProperty target="comp" propertyName="dataProvider" value="{companyBAC}" waitEvent="updateComplete" waitTarget="comp"/> 
+			<Pause timeout="200"/>
+
+		</setup>
+		<body>
+			<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_ChangeDataProvider_AtChartLevel.png"  />
+		</body>
+	  </TestCase> 
+
+
+	<TestCase  testID="PieSeries_TotalValueSet_Circle_Annotation" keywords="[PieChart,TotalValueSet, Circle, Annotation]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.DrawShapesWithTotalValSet('circle', application.comp, 'annotation')" waitEvent="updateComplete" waitTarget="comp"/> 
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_totalValueSet_circle_annotation.png"  />
+			</body>
+		</TestCase>		
+
+		<TestCase  testID="PieSeries_TotalValueSet_Line_Annotation" keywords="[PieChart,TotalValueSet, Line, Annotation]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.DrawShapesWithTotalValSet('line', application.comp, 'annotation')"  waitEvent="updateComplete" waitTarget="comp"/> 
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_totalValueSet_line_annotation.png"  />
+			</body>
+		</TestCase>		
+
+
+		<TestCase  testID="PieSeries_TotalValueSet_Rect_Annotation" keywords="[PieChart,TotalValueSet, Rect, Annotation]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.DrawShapesWithTotalValSet('rect', application.comp, 'annotation')"  waitEvent="updateComplete" waitTarget="comp"/> 
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_totalValueSet_rect_annotation.png"  />
+			</body>
+		</TestCase>		
+
+
+		<TestCase  testID="PieSeries_TotalValueSet_RoundedRect_Annotation" keywords="[PieChart,TotalValueSet, RoundedRect, Annotation]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.DrawShapesWithTotalValSet('roundedRect', application.comp, 'annotation')"  waitEvent="updateComplete" waitTarget="comp"/> 
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_totalValueSet_roundedRect_annotation.png"  />
+			</body>
+		</TestCase>		
+			
+			
+		<TestCase  testID="PieSeries_TotalValueSet_Ellipse_Annotation" keywords="[PieChart,TotalValueSet, Ellipse, Annotation]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.DrawShapesWithTotalValSet('ellipse', application.comp, 'annotation')"  waitEvent="updateComplete" waitTarget="comp"/> 
+
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_totalValueSet_ellipse_annotation.png"  />
+			</body>
+		</TestCase>
+
+		<TestCase  testID="PieSeries_TotalValueSet_Curve_Annotation" keywords="[PieChart,TotalValueSet, Curve, Annotation]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::PieChart" />
+				<RunCode code="AllSeriesData.setDefault('pie_multiple_dataGraphics', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.DrawShapesWithTotalValSet('curve', application.comp, 'annotation')"  waitEvent="updateComplete" waitTarget="comp"/> 
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/PieSeries_totalValueSet_curve_annotation.png"  />
+			</body>
+		</TestCase> 
+		
+	</testCases>
+</UnitTester>
+		

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/Properties/PieProperties.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AdbeStockData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AdbeStockData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AdbeStockData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AdbeStockData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,549 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+// ugly to keep this in the file
+package  { 
+
+
+	import mx.collections.ArrayCollection;
+
+
+	public class AdbeStockData  { 
+
+		public function AdbeStockData() { 
+
+		}
+
+	[Bindable] public var adbeX:XML = 
+<quotes>
+	<quote>
+		<date>Mon Jul 31 12:00:00 GMT-0800 2006</date>
+		<open>27.53</open>
+		<high>28.56</high>
+		<low>27.23</low>
+		<close>28.51</close>
+		<volume>5824400</volume>
+	</quote>
+	<quote>
+		<date>Tue Aug 01 12:00:00 GMT-0800 2006</date>
+		<open>28.4</open>
+		<high>28.97</high>
+		<low>28</low>
+		<close>28.34</close>
+		<volume>6898600</volume>
+	</quote>
+	<quote>
+		<date>Wed Aug 02 12:00:00 GMT-0800 2006</date>
+		<open>30</open>
+		<high>32.58</high>
+		<low>29.99</low>
+		<close>32.28</close>
+		<volume>12151100</volume>
+	</quote>
+	<quote>
+		<date>Thu Aug 03 12:00:00 GMT-0800 2006</date>
+		<open>31.55</open>
+		<high>32.65</high>
+		<low>31.3</low>
+		<close>32.53</close>
+		<volume>6407800</volume>
+	</quote>
+	<quote>
+		<date>Fri Aug 04 12:00:00 GMT-0800 2006</date>
+		<open>32.6</open>
+		<high>32.74</high>
+		<low>31.5</low>
+		<close>31.72</close>
+		<volume>5481600</volume>
+	</quote>
+	<quote>
+		<date>Mon Aug 07 12:00:00 GMT-0800 2006</date>
+		<open>31.63</open>
+		<high>32</high>
+		<low>31.13</low>
+		<close>31.79</close>
+		<volume>3815900</volume>
+	</quote>
+	<quote>
+		<date>Tue Aug 08 12:00:00 GMT-0800 2006</date>
+		<open>32.01</open>
+		<high>32.7</high>
+		<low>31.71</low>
+		<close>31.95</close>
+		<volume>4080200</volume>
+	</quote>
+	<quote>
+		<date>Wed Aug 09 12:00:00 GMT-0800 2006</date>
+		<open>32.14</open>
+		<high>32.49</high>
+		<low>31.35</low>
+		<close>31.45</close>
+		<volume>3558800</volume>
+	</quote>
+	<quote>
+		<date>Thu Aug 10 12:00:00 GMT-0800 2006</date>
+		<open>31.53</open>
+		<high>32.37</high>
+		<low>31.44</low>
+		<close>32.2</close>
+		<volume>3010100</volume>
+	</quote>
+	<quote>
+		<date>Fri Aug 11 12:00:00 GMT-0800 2006</date>
+		<open>32.07</open>
+		<high>32.27</high>
+		<low>31.52</low>
+		<close>31.85</close>
+		<volume>3479800</volume>
+	</quote>
+	<quote>
+		<date>Mon Aug 14 12:00:00 GMT-0800 2006</date>
+		<open>32.19</open>
+		<high>32.89</high>
+		<low>31.9</low>
+		<close>32.51</close>
+		<volume>3625900</volume>
+	</quote>
+	<quote>
+		<date>Tue Aug 15 12:00:00 GMT-0800 2006</date>
+		<open>32.7</open>
+		<high>34</high>
+		<low>32.64</low>
+		<close>33.95</close>
+		<volume>6188500</volume>
+	</quote>
+	<quote>
+		<date>Wed Aug 16 12:00:00 GMT-0800 2006</date>
+		<open>34</open>
+		<high>34.12</high>
+		<low>33.28</low>
+		<close>33.99</close>
+		<volume>4771400</volume>
+	</quote>
+	<quote>
+		<date>Thu Aug 17 12:00:00 GMT-0800 2006</date>
+		<open>33.75</open>
+		<high>34.19</high>
+		<low>33.45</low>
+		<close>34.01</close>
+		<volume>5097100</volume>
+	</quote>
+	<quote>
+		<date>Fri Aug 18 12:00:00 GMT-0800 2006</date>
+		<open>34</open>
+		<high>34.55</high>
+		<low>33.76</low>
+		<close>34.07</close>
+		<volume>4059100</volume>
+	</quote>
+	<quote>
+		<date>Mon Aug 21 12:00:00 GMT-0800 2006</date>
+		<open>33.8</open>
+		<high>33.99</high>
+		<low>33.18</low>
+		<close>33.18</close>
+		<volume>3575500</volume>
+	</quote>
+	<quote>
+		<date>Tue Aug 22 12:00:00 GMT-0800 2006</date>
+		<open>33.17</open>
+		<high>33.47</high>
+		<low>32.31</low>
+		<close>32.78</close>
+		<volume>5448000</volume>
+	</quote>
+	<quote>
+		<date>Wed Aug 23 12:00:00 GMT-0800 2006</date>
+		<open>32.91</open>
+		<high>32.99</high>
+		<low>32.14</low>
+		<close>32.41</close>
+		<volume>2674100</volume>
+	</quote>
+	<quote>
+		<date>Thu Aug 24 12:00:00 GMT-0800 2006</date>
+		<open>32.73</open>
+		<high>32.77</high>
+		<low>32.27</low>
+		<close>32.63</close>
+		<volume>1807000</volume>
+	</quote>
+	<quote>
+		<date>Fri Aug 25 12:00:00 GMT-0800 2006</date>
+		<open>32.41</open>
+		<high>32.96</high>
+		<low>32.41</low>
+		<close>32.53</close>
+		<volume>2143800</volume>
+	</quote>
+	<quote>
+		<date>Mon Aug 28 12:00:00 GMT-0800 2006</date>
+		<open>32.43</open>
+		<high>33</high>
+		<low>32.26</low>
+		<close>32.86</close>
+		<volume>2565100</volume>
+	</quote>
+	<quote>
+		<date>Tue Aug 29 12:00:00 GMT-0800 2006</date>
+		<open>32.92</open>
+		<high>32.98</high>
+		<low>31.51</low>
+		<close>31.86</close>
+		<volume>6086100</volume>
+	</quote>
+	<quote>
+		<date>Wed Aug 30 12:00:00 GMT-0800 2006</date>
+		<open></open>
+		<high></high>
+		<low></low>
+		<close></close>
+		<volume></volume>
+	</quote>
+	<quote>
+		<date>Thu Aug 31 12:00:00 GMT-0800 2006</date>
+		<open>32.23</open>
+		<high>32.75</high>
+		<low>32.01</low>
+		<close>32.44</close>
+		<volume>4030100</volume>
+	</quote>
+	<quote>
+		<date>Fri Sep 01 12:00:00 GMT-0800 2006</date>
+		<open>32.44</open>
+		<high>33.04</high>
+		<low>32</low>
+		<close>32.33</close>
+		<volume>2375400</volume>
+	</quote>
+	<quote>
+		<date>Tue Sep 05 12:00:00 GMT-0800 2006</date>
+		<open>32.15</open>
+		<high>32.95</high>
+		<low>32</low>
+		<close>32.67</close>
+		<volume>2343500</volume>
+	</quote>
+	<quote>
+		<date>Wed Sep 06 12:00:00 GMT-0800 2006</date>
+		<open>32.4</open>
+		<high>32.87</high>
+		<low>32</low>
+		<close>32.72</close>
+		<volume>3869100</volume>
+	</quote>
+	<quote>
+		<date>Thu Sep 07 12:00:00 GMT-0800 2006</date>
+		<open>32.49</open>
+		<high>32.73</high>
+		<low>31.49</low>
+		<close>31.5</close>
+		<volume>4359500</volume>
+	</quote>
+	<quote>
+		<date>Fri Sep 08 12:00:00 GMT-0800 2006</date>
+		<open>31.6</open>
+		<high>32.14</high>
+		<low>31.01</low>
+		<close>31.81</close>
+		<volume>3510100</volume>
+	</quote>
+	<quote>
+		<date>Mon Sep 11 12:00:00 GMT-0800 2006</date>
+		<open>31.42</open>
+		<high>32.37</high>
+		<low>31</low>
+		<close>31.84</close>
+		<volume>3426500</volume>
+	</quote>
+	<quote>
+		<volume>3801100</volume>
+	</quote>
+	<quote>
+		<date>Wed Sep 13 12:00:00 GMT-0800 2006</date>
+		<open>32.67</open>
+		<high>33.6</high>
+		<low>31.94</low>
+		<close>33.53</close>
+		<volume>5773400</volume>
+	</quote>
+	<quote>
+		<date>Thu Sep 14 12:00:00 GMT-0800 2006</date>
+		<open>33.54</open>
+		<high>33.81</high>
+		<low>32.95</low>
+		<close>33.65</close>
+		<volume>8652700</volume>
+	</quote>
+	<quote>
+		<date>Fri Sep 15 12:00:00 GMT-0800 2006</date>
+		<open>36.62</open>
+		<high>38.19</high>
+		<low>36.5</low>
+		<close>37</close>
+		<volume>33444300</volume>
+	</quote>
+	<quote>
+		<date>Mon Sep 18 12:00:00 GMT-0800 2006</date>
+		<open>36.23</open>
+		<high>37.77</high>
+		<low>36.23</low>
+		<close>37.51</close>
+		<volume>9228200</volume>
+	</quote>
+	<quote>
+		<date>Tue Sep 19 12:00:00 GMT-0800 2006</date>
+		<open>37.33</open>
+		<high>37.75</high>
+		<low>36.9</low>
+		<close>37.34</close>
+		<volume>5716100</volume>
+	</quote>
+	<quote>
+		<date>Wed Sep 20 12:00:00 GMT-0800 2006</date>
+		<open>37.33</open>
+		<high>37.81</high>
+		<low>37.28</low>
+		<close>37.7</close>
+		<volume>7012000</volume>
+	</quote>
+	<quote>
+		<date>Thu Sep 21 12:00:00 GMT-0800 2006</date>
+		<open>37.83</open>
+		<high>38.12</high>
+		<low>37.06</low>
+		<close>37.4</close>
+		<volume>4671600</volume>
+	</quote>
+	<quote>
+		<date>Fri Sep 22 12:00:00 GMT-0800 2006</date>
+		<open>37.4</open>
+		<high>37.73</high>
+		<low>36.56</low>
+		<close>37.06</close>
+		<volume>5190800</volume>
+	</quote>
+	<quote>
+		<date>Mon Sep 25 12:00:00 GMT-0800 2006</date>
+		<open>null</open>
+		<high>null</high>
+		<low>null</low>
+		<close>null</close>
+		<volume>10304500</volume>
+	</quote>
+	<quote>
+		<date>Tue Sep 26 12:00:00 GMT-0800 2006</date>
+		<open>38.19</open>
+		<high>38.5</high>
+		<low>37.62</low>
+		<close>37.67</close>
+		<volume>5634200</volume>
+	</quote>
+	<quote>
+		<date>Wed Sep 27 12:00:00 GMT-0800 2006</date>
+		<open>37.7</open>
+		<high>38.61</high>
+		<low>37.6</low>
+		<close>38.06</close>
+		<volume>5003600</volume>
+	</quote>
+	<quote>
+		<date>Thu Sep 28 12:00:00 GMT-0800 2006</date>
+		<open>38.22</open>
+		<high>38.6</high>
+		<low>37.58</low>
+		<close>38.33</close>
+		<volume>3447900</volume>
+	</quote>
+	<quote>
+		<date>Fri Sep 29 12:00:00 GMT-0800 2006</date>
+		<open>38.15</open>
+		<high>38.38</high>
+		<low>37.43</low>
+		<close>37.46</close>
+		<volume>4248100</volume>
+	</quote>
+	<quote>
+		<date>Mon Oct 02 12:00:00 GMT-0800 2006</date>
+		<open>37.54</open>
+		<high>37.82</high>
+		<low>36.8</low>
+		<close>37</close>
+		<volume>3678100</volume>
+	</quote>
+	<quote>
+		<date>Tue Oct 03 12:00:00 GMT-0800 2006</date>
+		<open>36.88</open>
+		<high>37.64</high>
+		<low>36.72</low>
+		<close>36.75</close>
+		<volume>4116600</volume>
+	</quote>
+	<quote>
+		<date>Wed Oct 04 12:00:00 GMT-0800 2006</date>
+		<open>36.75</open>
+		<high>37.91</high>
+		<low>36.69</low>
+		<close>37.76</close>
+		<volume>6851500</volume>
+	</quote>
+	<quote>
+		<date>Thu Oct 05 12:00:00 GMT-0800 2006</date>
+		<open>37.56</open>
+		<high>38.41</high>
+		<low>37.54</low>
+		<close>38.18</close>
+		<volume>4271600</volume>
+	</quote>
+	<quote>
+		<date>Fri Oct 06 12:00:00 GMT-0800 2006</date>
+		<open>38.25</open>
+		<high>38.3</high>
+		<low>37.57</low>
+		<close>38.15</close>
+		<volume>3142200</volume>
+	</quote>
+	<quote>
+		<date>Mon Oct 09 12:00:00 GMT-0800 2006</date>
+		<open>38.08</open>
+		<high>38.22</high>
+		<low>37.27</low>
+		<close>37.39</close>
+		<volume>3835200</volume>
+	</quote>
+	<quote>
+		<date>Tue Oct 10 12:00:00 GMT-0800 2006</date>
+		<open>37.43</open>
+		<high>37.98</high>
+		<low>37.23</low>
+		<close>37.77</close>
+		<volume>3518600</volume>
+	</quote>
+</quotes>;
+
+/// { date: "Wed Aug 30 12:00:00 GMT-0800 2006", open: 31.81, high: 32.13, low: 31.75, close: 32.05, volume: 4485900},
+// { date: "Wed Aug 30 12:00:00 GMT-0800 2006", open: , high: , low: , close: , volume: },
+
+	[Bindable] public var adbeA:Array = [
+		{date: "Mon Jul 31 12:00:00 GMT-0800 2006", open: 27.53, high: 28.56, low: 27.23, close: 28.51, volume: 5824400},
+		{date: "Tue Aug 01 12:00:00 GMT-0800 2006", open: 28.4, high: 28.97, low: 28, close: 28.34, volume: 6898600},
+		{ date: "Wed Aug 02 12:00:00 GMT-0800 2006", open: 30, high: 32.58, low: 29.99, close: 32.28, volume: 12151100},
+		{date: "Thu Aug 03 12:00:00 GMT-0800 2006", open: 31.55, high: 32.65, low: 31.3, close: 32.53, volume: 6407800},
+		{ date: "Fri Aug 04 12:00:00 GMT-0800 2006", open: 32.6, high: 32.74, low: 31.5, close: 31.72, volume: 5481600},
+		{ date: "Mon Aug 07 12:00:00 GMT-0800 2006", open: 31.63, high: 32, low: 31.13, close: 31.79, volume: 3815900},
+		{ date: "Tue Aug 08 12:00:00 GMT-0800 2006", open: 32.01, high: 32.7, low: 31.71, close: 31.95, volume: 4080200},
+		{ date: "Wed Aug 09 12:00:00 GMT-0800 2006", open: 32.14, high: 32.49, low: 31.35, close: 31.45, volume: 3558800},
+		{ date: "Thu Aug 10 12:00:00 GMT-0800 2006", open: 31.53, high: 32.37, low: 31.44, close: 32.2, volume: 3010100},
+		{ date: "Fri Aug 11 12:00:00 GMT-0800 2006", open: 32.07, high: 32.27, low: 31.52, close: 31.85, volume: 3479800},
+		{ date: "Mon Aug 14 12:00:00 GMT-0800 2006", open: 32.19, high: 32.89, low: 31.9, close: 32.51, volume: 3625900},
+		{ date: "Tue Aug 15 12:00:00 GMT-0800 2006", open: 32.7, high: 34, low: 32.64, close: 33.95, volume: 6188500},
+		{ date: "Wed Aug 16 12:00:00 GMT-0800 2006", open: 34, high: 34.12, low: 33.28, close: 33.99, volume: 4771400},
+		{ date: "Thu Aug 17 12:00:00 GMT-0800 2006", open: 33.75, high: 34.19, low: 33.45, close: 34.01, volume: 5097100},
+		{ date: "Fri Aug 18 12:00:00 GMT-0800 2006", open: 34, high: 34.55, low: 33.76, close: 34.07, volume: 4059100},
+		{ date: "Mon Aug 21 12:00:00 GMT-0800 2006", open: 33.8, high: 33.99, low: 33.18, close: 33.18, volume: 3575500},
+		{ date: "Tue Aug 22 12:00:00 GMT-0800 2006", open: 33.17, high: 33.47, low: 32.31, close: 32.78, volume: 5448000},
+		{ date: "Wed Aug 23 12:00:00 GMT-0800 2006", open: 32.91, high: 32.99, low: 32.14, close: 32.41, volume: 2674100},
+		{ date: "Thu Aug 24 12:00:00 GMT-0800 2006", open: 32.73, high: 32.77, low: 32.27, close: 32.63, volume: 1807000},
+		{ date: "Fri Aug 25 12:00:00 GMT-0800 2006", open: 32.41, high: 32.96, low: 32.41, close: 32.53, volume: 2143800},
+		{ date: "Mon Aug 28 12:00:00 GMT-0800 2006", open: 32.43, high: 33, low: 32.26, close: 32.86, volume: 2565100},
+		{ date: "Tue Aug 29 12:00:00 GMT-0800 2006", open: 32.92, high: 32.98, low: 31.51, close: 31.86, volume: 6086100},
+		{ date: "Wed Aug 30 12:00:00 GMT-0800 2006", open: 31.81, high: 32.13, low: 31.75, close: 32.05, volume: 4485900},
+		{ date: "Thu Aug 31 12:00:00 GMT-0800 2006", open: 32.23, high: 32.75, low: 32.01, close: 32.44, volume: 4030100},
+		{ date: "Fri Sep 01 12:00:00 GMT-0800 2006", open: 32.44, high: 33.04, low: 32, close: 32.33, volume: 2375400},
+		{ date: "Tue Sep 05 12:00:00 GMT-0800 2006", open: 32.15, high: 32.95, low: 32, close: 32.67, volume: 2343500},
+		{ date: "Wed Sep 06 12:00:00 GMT-0800 2006", open: 32.4, high: 32.87, low: 32, close: 32.72, volume: 3869100},
+		{ date: "Thu Sep 07 12:00:00 GMT-0800 2006", open: 32.49, high: 32.73, low: 31.49, close: 31.5, volume: 4359500},
+		{ date: "Fri Sep 08 12:00:00 GMT-0800 2006", open: 31.6, high: 32.14, low: 31.01, close: 31.81, volume: 3510100},
+		{ date: "Mon Sep 11 12:00:00 GMT-0800 2006", open: 31.42, high: 32.37, low: 31, close: 31.84, volume: 3426500},
+		{ volume: 3801100},
+		{ date: "Wed Sep 13 12:00:00 GMT-0800 2006", open: 32.67, high: 33.6, low: 31.94, close: 33.53, volume: 5773400},
+		{ date: "Thu Sep 14 12:00:00 GMT-0800 2006", open: 33.54, high: 33.81, low: 32.95, close: 33.65, volume: 8652700},
+		{ date: "Fri Sep 15 12:00:00 GMT-0800 2006", open: 36.62, high: 38.19, low: 36.5, close: 37, volume: 33444300},
+		{ date: "Mon Sep 18 12:00:00 GMT-0800 2006", open: 36.23, high: 37.77, low: 36.23, close: 37.51, volume: 9228200},
+		{ date: "Tue Sep 19 12:00:00 GMT-0800 2006", open: 37.33, high: 37.75, low: 36.9, close: 37.34, volume: 5716100},
+		{ date: "Wed Sep 20 12:00:00 GMT-0800 2006", open: 37.33, high: 37.81, low: 37.28, close: 37.7, volume: 7012000},
+		{ date: "Thu Sep 21 12:00:00 GMT-0800 2006", open: 37.83, high: 38.12, low: 37.06, close: 37.4, volume: 4671600},
+		{ date: "Fri Sep 22 12:00:00 GMT-0800 2006", open: 37.4, high: 37.73, low: 36.56, close: 37.06, volume: 5190800},
+		{ date: null, open: null, high: null, low: null, close: null, volume: 10304500},
+		{ date: "Tue Sep 26 12:00:00 GMT-0800 2006", open: 38.19, high: 38.5, low: 37.62, close: 37.67, volume: 5634200},
+		{ date: "Wed Sep 27 12:00:00 GMT-0800 2006", open: 37.7, high: 38.61, low: 37.6, close: 38.06, volume: 5003600},
+		{ date: "Thu Sep 28 12:00:00 GMT-0800 2006", open: 38.22, high: 38.6, low: 37.58, close: 38.33, volume: 3447900},
+		{ date: "Fri Sep 29 12:00:00 GMT-0800 2006", open: 38.15, high: 38.38, low: 37.43, close: 37.46, volume: 4248100},
+		{ date: "Mon Oct 02 12:00:00 GMT-0800 2006", open: 37.54, high: 37.82, low: 36.8, close: 37, volume: 3678100},
+		{ date: "Tue Oct 03 12:00:00 GMT-0800 2006", open: 36.88, high: 37.64, low: 36.72, close: 36.75, volume: 4116600},
+		{ date: "Wed Oct 04 12:00:00 GMT-0800 2006", open: 36.75, high: 37.91, low: 36.69, close: 37.76, volume: 6851500},
+		{ date: "Thu Oct 05 12:00:00 GMT-0800 2006", open: 37.56, high: 38.41, low: 37.54, close: 38.18, volume: 4271600},
+		{ date: "Fri Oct 06 12:00:00 GMT-0800 2006", open: 38.25, high: 38.3, low: 37.57, close: 38.15, volume: 3142200},
+		{ date: "Mon Oct 09 12:00:00 GMT-0800 2006", open: 38.08, high: 38.22, low: 37.27, close: 37.39, volume: 3835200},
+		{ date: "Tue Oct 10 12:00:00 GMT-0800 2006", open: 37.43, high: 37.98, low: 37.23, close: 37.77, volume: 3518600}];
+
+
+
+		public function getHighFieldName():String { 
+			return "high";
+		}
+
+		public function getLowFieldName():String { 
+			return "low";
+		}
+
+		public function getCloseFieldName():String { 
+			return "close";
+		}
+
+		public function getOpenFieldName():String { 
+			return "open";
+		}
+
+		public function getDefaultYFieldName():String { 
+			return "close";
+		}
+
+		public function getDefaultXFieldName():String { 
+			return "date";
+		}
+
+		public function getData():Array { 
+			return [ adbeA ];
+		}
+
+		public function getDataAsArray():Array { 
+			return adbeA;
+		}
+
+		public function getDataAsCollection():ArrayCollection { 
+			return new ArrayCollection(adbeA);
+		}
+
+		public function getDataAsXMLList():XMLList { 
+			return adbeX.elements("quote");
+		}
+
+		public function getDataAsXML():XML { 
+			return adbeX;
+		}
+
+		public function getName():String { 
+			return "adbe";
+		}
+
+	}
+
+}

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AdbeStockData.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AdbeStockData.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AllSeriesData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AllSeriesData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AllSeriesData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AllSeriesData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,151 @@
+package {
+
+	import mx.charts.*;
+	import mx.charts.series.*;
+
+
+	public class AllSeriesData  { 
+
+
+		public static function setDefault (which:String, chart:Object):void 
+		{
+
+			var arr:Array = new Array();
+
+	
+			switch(which)
+			{
+			case "area": 
+				var a:AreaSeries = new AreaSeries();	
+				a.yField = "close";
+				arr.push(a);
+				break;
+			case "bar": 
+				var b:BarSeries = new BarSeries();	
+				b.xField = "close";
+				arr.push(b);
+				break;
+			case "column":
+				var c:ColumnSeries = new ColumnSeries();	
+				c.yField = "close";
+				arr.push(c);
+				break;
+			case "candlestick": 
+				var d:CandlestickSeries = new CandlestickSeries();	
+				d.closeField = "close";
+				d.openField = "open";
+				d.highField = "high";
+				d.lowField = "low";
+				arr.push(d);
+				break;
+			case "line":
+				var f:LineSeries = new LineSeries();	
+				f.yField = "close";
+				arr.push(f);
+				break;
+			case "plot": 
+				var g:PlotSeries = new PlotSeries();	
+				g.yField = "close";
+				arr.push(g);
+				break;
+			case "bubble":
+				var g1:BubbleSeries = new BubbleSeries();	
+				g1.radiusField = "low";
+				g1.yField = "close";
+				arr.push(g1);
+				break;
+			case "pie":
+				var h:PieSeries = new PieSeries();	
+				h.field = "close";
+				arr.push(h);									
+				break;			
+			case "pie_multiple_dataGraphics":
+				var pie1:PieSeries = new PieSeries();	
+				pie1.field = "close";
+				arr.push(pie1);
+
+				var pie2:PieSeries = new PieSeries();	
+				pie2.field = "open";
+				arr.push(pie2);
+
+				var pie3:PieSeries = new PieSeries();	
+				pie3.field = "high";
+				arr.push(pie3);						
+				break;
+			case "column_multiple": 
+				var goldcol:ColumnSeries = new ColumnSeries();	
+				goldcol.yField = "Gold";
+				arr.push(goldcol);
+
+				var silvercol:ColumnSeries = new ColumnSeries();	
+				silvercol.yField = "Silver";
+				arr.push(silvercol);
+
+				var bronzecol:ColumnSeries = new ColumnSeries();	
+				bronzecol.yField = "Bronze";
+				arr.push(bronzecol);
+				break;
+			case "bar_multiple": 
+				var goldbar:BarSeries = new BarSeries();	
+				goldbar.xField = "Gold";
+				arr.push(goldbar);
+
+				var silverbar:BarSeries = new BarSeries();	
+				silverbar.xField = "Silver";
+				arr.push(silverbar);
+
+				var bronzebar:BarSeries = new BarSeries();	
+				bronzebar.xField = "Bronze";
+				arr.push(bronzebar);
+				break;
+			case "pie_multiple": 
+				var goldpie:PieSeries = new PieSeries();	
+				goldpie.field = "Gold";
+				goldpie..setStyle("labelPosition","outside");
+				goldpie.nameField="Country";
+				arr.push(goldpie);
+
+				var silverpie:PieSeries = new PieSeries();	
+				silverpie.field = "Silver";
+				silverpie.setStyle("labelPosition","inside");
+				silverpie.nameField="Country";
+				arr.push(silverpie);
+
+				var bronzepie:PieSeries = new PieSeries();	
+				bronzepie.field = "Bronze";
+				bronzepie..setStyle("labelPosition","callout");
+				bronzepie.nameField="Country";
+				arr.push(bronzepie);
+				break;
+				
+			default:
+				break;
+			}
+		
+
+			chart.series = arr;
+
+		}
+		public static function setAxisFields (which:String,chart:Object):void 
+		{
+			var cataxis:CategoryAxis =  new CategoryAxis();
+			cataxis.categoryField = "Country";
+			switch(which)
+			{
+				case "column":
+					chart.horizontalAxis = cataxis;
+					break;
+				case "bar":
+					chart.verticalAxis = cataxis;
+					break;
+				default:
+					break;
+			}
+		}
+
+
+	}
+
+}
+
+

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AllSeriesData.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/AllSeriesData.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,151 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+// ugly to keep this in the file
+package  { 
+
+
+	import mx.collections.ArrayCollection;
+
+
+	public class DataGraphicsData  { 
+
+		public function DataGraphicsData() { 
+
+		}
+
+	[Bindable] public var adbeX:XML = 
+<quotes>
+<quote>
+<date>Mon Jul 31 12:00:00 GMT-0800 2006</date>
+<open>27.53</open>
+<high>28.56</high>
+<low>27.23</low>
+<close>28.51</close>
+<volume>5824400</volume>
+</quote>
+<quote>
+<date>Tue Aug 01 12:00:00 GMT-0800 2006</date>
+<open>28.4</open>
+<high>28.97</high>
+<low>28</low>
+<close>28.34</close>
+<volume>6898600</volume>
+</quote>
+<quote>
+<date>Wed Aug 02 12:00:00 GMT-0800 2006</date>
+<open>30</open>
+<high>32.58</high>
+<low>29.99</low>
+<close>32.28</close>
+<volume>12151100</volume>
+</quote>
+<!--<quote>
+<date>Thu Aug 03 12:00:00 GMT-0800 2006</date>
+<open>31.55</open>
+<high>32.65</high>
+<low>31.3</low>
+<close>32.53</close>
+<volume>6407800</volume>
+</quote>
+<quote>
+<date>Fri Aug 04 12:00:00 GMT-0800 2006</date>
+<open>32.6</open>
+<high>32.74</high>
+<low>31.5</low>
+<close>31.72</close>
+<volume>5481600</volume>
+</quote>
+<quote>
+<date>Mon Aug 07 12:00:00 GMT-0800 2006</date>
+<open>31.63</open>
+<high>32</high>
+<low>31.13</low>
+<close>31.79</close>
+<volume>3815900</volume>
+</quote> -->
+</quotes>;
+
+
+	[Bindable] public var adbeXNegativeData:XML = 
+<quotes>
+<quote>
+<date>Mon Jul 31 12:00:00 GMT-0800 2006</date>
+<open>27.53</open>
+<high>28.56</high>
+<low>27.23</low>
+<close>-28.51</close>
+<volume>5824400</volume>
+</quote>
+<quote>
+<date>Tue Aug 01 12:00:00 GMT-0800 2006</date>
+<open>28.4</open>
+<high>28.97</high>
+<low>28</low>
+<close>28.34</close>
+<volume>6898600</volume>
+</quote>
+<quote>
+<date>Wed Aug 02 12:00:00 GMT-0800 2006</date>
+<open>30</open>
+<high>32.58</high>
+<low>29.99</low>
+<close>32.28</close>
+<volume>12151100</volume>
+</quote>
+<quote>
+<date>Thu Aug 03 12:00:00 GMT-0800 2006</date>
+<open>31.55</open>
+<high>32.65</high>
+<low>31.3</low>
+<close>32.53</close>
+<volume>6407800</volume>
+</quote>
+<quote>
+<date>Fri Aug 04 12:00:00 GMT-0800 2006</date>
+<open>32.6</open>
+<high>32.74</high>
+<low>31.5</low>
+<close>-31.72</close>
+<volume>5481600</volume>
+</quote>
+<quote>
+<date>Mon Aug 07 12:00:00 GMT-0800 2006</date>
+<open>31.63</open>
+<high>32</high>
+<low>31.13</low>
+<close>31.79</close>
+<volume>3815900</volume>
+</quote>
+</quotes>;	
+		
+
+		public function getDataAsXMLList():XMLList { 
+			return adbeX.elements("quote");
+		}
+
+		public function getNegativeDataAsXMLList():XMLList { 
+			return adbeXNegativeData.elements("quote");
+		}
+
+		
+	}
+
+}

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsData.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsData.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message