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 [7/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/Bubble/SWFs/MultipleAxesUtils.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesUtils.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesUtils.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesUtils.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,1192 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 closeBubble:BubbleSeries = new BubbleSeries();
+			var openLine:LineSeries = new LineSeries();	
+			var highLine:LineSeries = new LineSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+			
+			
+			switch(testCaseType)
+			{	
+				case "noAxisSpecified":	
+				
+					myHorH1.categoryField = "month";			
+					chart.horizontalAxis = myHorH1;
+
+					closeBubble.radiusField = "low";
+					closeBubble.yField = "close";
+					closeBubble.xField = "month";						
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "month"; 			
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";
+					highLine.xField = "month";					
+					seriesArray.push(highLine);
+
+					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);	
+
+					closeBubble.radiusField = "low";
+					closeBubble.yField = "close";							
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					highLine.verticalAxis = myVerV2;
+					seriesArray.push(highLine);	
+
+					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;
+
+					closeBubble.yField = "close";
+					closeBubble.radiusField = "low";
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 						
+					seriesArray.push(openLine);
+
+					highLine.yField = "high";						
+					seriesArray.push(highLine);
+
+					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);	
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);	
+
+					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 closeBubble:BubbleSeries = new BubbleSeries();
+			var openLine:LineSeries = new LineSeries();
+			var highLine:LineSeries = new LineSeries();
+			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;
+
+					closeBubble.yField = "close";
+					closeBubble.radiusField = "low";
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";			 	
+					openLine.dataTransform.setAxis(CartesianTransform.VERTICAL_AXIS, myVerV2);
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					seriesArray.push(highLine);	
+
+					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);		 	
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);	
+
+					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);		 	
+
+					closeBubble.yField = "close";
+					closeBubble.xField = "date";
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH11;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date";
+					openLine.verticalAxis = myVerV21;
+					seriesArray.push(openLine);	
+
+					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);		 	
+
+					closeBubble.yField = "close";
+					closeBubble.xField = "date";
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH11;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date";
+					openLine.verticalAxis = myVerV21;				
+					seriesArray.push(openLine);	
+
+					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 closeBubble:BubbleSeries = new BubbleSeries();
+			var openLine:LineSeries = new LineSeries();
+			var highLine:LineSeries = new LineSeries();
+			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);	
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);
+
+					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);		 	
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);				
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);					
+
+					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);	
+
+					closeBubble.yField = "close";
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);		
+
+					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);		
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);	
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);	
+
+					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 closeBubble:BubbleSeries = new BubbleSeries();
+			var openLine:LineSeries = new LineSeries();
+			var highLine:LineSeries = new LineSeries();
+			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);		 	
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";						
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);				
+
+					highLine.yField = "high";				
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);					
+
+					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);		 	
+
+					closeBubble.yField = "close";		
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";						
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);				
+
+					highLine.yField = "high";				
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);					
+
+					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 closeBubble:BubbleSeries = new BubbleSeries();
+			var openLine:LineSeries = new LineSeries();
+			var highLine:LineSeries = new LineSeries();
+			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);		 	
+
+					closeBubble.yField = "close";		
+					closeBubble.radiusField = "low";
+					closeBubble.horizontalAxis = myHorH1;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";
+					openLine.xField = "date"; 
+					openLine.horizontalAxis = myHorH2;
+					openLine.verticalAxis = myVerV2;
+					seriesArray.push(openLine);				
+
+					highLine.yField = "high";						
+					highLine.horizontalAxis = myHorH1;
+					highLine.verticalAxis = myVerV3;
+					seriesArray.push(highLine);					
+
+					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);		 	
+
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					closeBubble.xField = "date";
+					closeBubble.horizontalAxis = myHorH11;			
+					seriesArray.push(closeBubble);
+
+					openLine.yField = "open";	
+					openLine.xField = "date";
+					openLine.verticalAxis = myVerV1;
+					seriesArray.push(openLine);
+
+					chart.series = seriesArray;						
+					break;
+
+				case "labelFnOnDeprecatedProperty":		
+				
+					chart.verticalAxisRenderer.labelFunction = myLabelFunction;
+					closeBubble.yField = "close";	
+					closeBubble.radiusField = "low";
+					seriesArray.push(closeBubble);
+					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 closeBubble:BubbleSeries = new BubbleSeries();
+			var openLine:LineSeries = new LineSeries();
+			var highLine:LineSeries = new LineSeries();
+			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);		 	
+
+			closeBubble.yField = "close";	
+			closeBubble.radiusField = "low";
+			closeBubble.horizontalAxis = myHorH1;			
+			seriesArray.push(closeBubble);
+
+			openLine.yField = "open";
+			openLine.xField = "date"; 
+			openLine.horizontalAxis = myHorH2;
+			openLine.verticalAxis = myVerV2;
+			seriesArray.push(openLine);				
+
+			highLine.yField = "high";						
+			highLine.horizontalAxis = myHorH1;
+			highLine.verticalAxis = myVerV3;
+			seriesArray.push(highLine);					
+
+			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/Bubble/SWFs/MultipleAxesUtils.as
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Candle/Properties/CandlestickProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Candle/Properties/CandlestickProperties.mxml?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Candle/Properties/CandlestickProperties.mxml (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Candle/Properties/CandlestickProperties.mxml Thu Dec  6 22:51:12 2012
@@ -0,0 +1,425 @@
+<UnitTester testDir="components/Charts/Candle/Properties/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="GenericCandle.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, low:18.2},
+            { Date: "26-Jul", open: 19.56,  high: 19.98,  close:11.69, low:13.79},                       
+            { Date: "27-Jul", open: 20.81,  high: 20.99,  close:20.12, low:19.87}, 
+            { Date: "28-Jul", open: 20.70,  high: 21.00,  close:23.84, low:19.87}, 
+            { Date: "29-Jul", open: 21.7,  high: 21.79, close:15.6, low:13.79}, 
+            { Date: "1-Aug", open: 22.45,  high: 22.65, close:21.95, low:20.87 },
+            { Date: "2-Aug", open: 22.56,  high: 22.6, close:12.98, low:13.79},
+            { Date: "3-Aug", open: 22.42,  high: 22.70, close:23.63, low:15.67},
+            { Date: "4-Aug", open: 21.67,  high: 22.82, close:26.34, low:20},
+            { Date: "5-Aug", open: 22.44,  high: 22.85, close:16.31, low:13.79} ]);
+
+				
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>	
+
+	<mx:Script>
+	<![CDATA[
+	import mx.charts.series.*;
+	import mx.charts.series.items.*;
+	import mx.charts.chartClasses.Series;
+	import mx.charts.renderers.*;
+	import mx.charts.*;
+	import mx.core.ClassFactory;
+	import mx.graphics.*;
+	import mx.controls.Alert;
+	import mx.controls.Button;
+	
+	
+	 public function myParseFunction(s:String):Date 
+	 { 
+		var a:Array = s.split(",");
+		var newDate:Date = new Date(a[0],a[1]-1,a[2]);
+		return newDate;
+	 }
+	        
+	 public function setDisabledDays(disabledDaysType:String): void
+	 {
+		var myDateTimeAxis:DateTimeAxis;
+		application.comp.showDataTips = true;		
+		myDateTimeAxis = application.comp.horizontalAxis as DateTimeAxis;
+		myDateTimeAxis.dataUnits="days";
+		myDateTimeAxis.labelUnits="days";
+		myDateTimeAxis.parseFunction=myParseFunction;
+		myDateTimeAxis.displayLocalTime=true;
+		
+		switch(disabledDaysType)
+		{
+			case "ALL_DAYS_DISABLED": 				
+				myDateTimeAxis.disabledDays = [0,1,2,3,4,5,6];				
+				break;
+			case "VALID_DISABLED_DAYS":
+				myDateTimeAxis.disabledDays = [4,0];
+				break;
+			case "NULL_DISABLED_DAYS":
+				myDateTimeAxis.disabledDays = [];
+				break;
+			case "REPEATED_DISABLED_DAYS":
+				myDateTimeAxis.disabledDays = [1,1,5,5];
+				break;
+			case "OUT_OF_BOUNDS_DISABLED_DAYS":
+				myDateTimeAxis.disabledDays = [-1, 9];         			
+				break;
+			case "INVALID_DISABLED_DAYS":
+				var disDaysobj:Object = {day:"3", day2:"4"};
+				myDateTimeAxis.disabledDays = ["a","disDaysobj"];
+				break;
+			case "DISABLED_DAYS_NOT_SET":
+				break;  
+		}        
+	 }
+
+	public function setDisabledRange(disabledRangesType:String): void
+	 {
+		var myDateTimeAxis:DateTimeAxis;
+		application.comp.showDataTips = true;		
+		myDateTimeAxis = application.comp.horizontalAxis as DateTimeAxis;
+		myDateTimeAxis.dataUnits="days";
+		myDateTimeAxis.labelUnits="days";
+		myDateTimeAxis.parseFunction=myParseFunction;
+		myDateTimeAxis.displayLocalTime=true;
+		
+		switch(disabledRangesType)
+         	{
+         		case "NULL_DISABLED_RANGE":
+         			myDateTimeAxis.disabledRanges = [];
+         			break;
+         		case "REPEATED_DISABLED_RANGE":
+         			myDateTimeAxis.disabledRanges = [new Date(2006, 6, 27),new Date(2006, 6, 27)];
+         			break;
+         		case "OUT_OF_BOUNDS_DISABLED_RANGES":
+         			myDateTimeAxis.disabledRanges = [new Date(2006, 7, 6)];
+         			break;
+         		case "INVALID_DISABLED_RANGES":
+         			var disDaysobj:Object = {day:"3", day2:"4"};
+         			myDateTimeAxis.disabledRanges = [new Date("a"),{rangeStart:new Date("disDaysobj")}];
+         			break;
+         		case "DISABLED_RANGE_NOT_SET":
+         			break;  
+			case "DISABLED_RANGE_ONLY_DATE_OBJECTS":
+				myDateTimeAxis.disabledRanges = [new Date(2006, 6, 30)];
+				break;
+			case "DISABLED_RANGE_ONLY_RANGE_START":
+				myDateTimeAxis.disabledRanges = [{rangeStart:new Date(2006, 6, 29)}];
+				break;
+			case "DISABLED_RANGE_ONLY_RANGE_END":
+				myDateTimeAxis.disabledRanges = [{rangeEnd:new Date(2006, 6, 29)}];
+				break;
+			case "DISABLED_RANGE_WITH_RANGE_START_AND_END":
+				myDateTimeAxis.disabledRanges = [{rangeStart: new Date(2006,6,29), rangeEnd: new Date(2006,6,31)}]; 
+				break;
+			case "DISABLED_RANGE_MULTIPLE_START_AND_END":
+				myDateTimeAxis.disabledRanges = [{rangeStart:new Date(2006, 6, 28), rangeEnd:new Date(2006, 6, 30)}, {rangeStart:new Date(2006, 7, 1)}]
+				break;
+			case "DISABLED_RANGE_AND_DAYS":
+				myDateTimeAxis.disabledDays = [0,6]
+				myDateTimeAxis.disabledRanges = [{rangeStart:new Date(2006, 6, 31)}]
+				break;	
+			case "DISABLED_RANGE_BEFORE_DATAPOINT":
+				myDateTimeAxis.disabledRanges = [new Date(2006, 6, 25)]
+				break;
+			case "DISABLED_RANGE_AFTER_START_DATE":
+				myDateTimeAxis.disabledRanges = [new Date(2006, 6, 28)]
+				break;
+			case "DISABLED_RANGE_BEFORE_END_DATE":
+				myDateTimeAxis.disabledRanges = [new Date(2006, 7, 4)]
+				break;
+			case "DISABLED_RANGE_BEFORE_END_DATE":
+				myDateTimeAxis.disabledRanges = [new Date(2006, 7, 2)]
+				break;
+         	}         
+	 }
+
+	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="CandlestickSeries_change_Dataprovider_SeriesAndAxis_Level" keywords="[CandlestickChart, change Dataprovider, Series level, Axis Level]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<RunCode code="AllSeriesData.setDefault('candlestick', application.comp)" />
+				<SetProperty target="comp" propertyName="horizontalAxis" valueExpression="value=new CategoryAxis()" waitEvent="updateComplete" />
+				<SetProperty target="comp.horizontalAxis" propertyName="categoryField" value="open" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+				<SetProperty target="comp.series.0" propertyName="dataProvider" value="{companyBAC}" waitTarget="comp"  waitEvent="updateComplete" /> 				
+				<SetProperty target="comp.horizontalAxis" propertyName="dataProvider" value="{companyBAC}" waitTarget="comp" waitEvent="updateComplete" />
+		
+			</setup>
+			<body>
+				<CompareBitmap target=""   url="../Properties/Baselines/CandlestickSeries_change_Dataprovider_SeriesAndAxis_Level.png" timeout="5000"/>
+			</body> 
+		</TestCase> 
+
+
+ 	   <TestCase  testID="CandlestickSeries_selectionMode_Single" keywords="[CandlestickChart, Selection mode, single]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="AllSeriesData.setDefault('candlestick', application.comp)" waitEvent="updateComplete" waitTarget="comp.series.0" />
+				<SetProperty target="comp.verticalAxis" propertyName="minimum" value="24"  waitTarget="comp.verticalAxis"  />
+				<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/CandlestickSeries_selectionMode_Single.png"  timeout="5000"/>
+			</body> 
+		</TestCase>
+
+		<TestCase  testID="CandlestickSeries_selectionMode_None" keywords="[CandlestickChart, Selection mode, none]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="AllSeriesData.setDefault('candlestick', application.comp)" waitEvent="updateComplete" waitTarget="comp.series.0" />
+				<SetProperty target="comp.verticalAxis" propertyName="minimum" value="24"  waitTarget="comp.verticalAxis"  />
+				<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/CandlestickSeries_selectionMode_None.png"  timeout="5000"/> 
+			</body> 
+		</TestCase> 
+
+		<TestCase  testID="CandlestickSeries_selectionMode_Multiple" keywords="[CandlestickChart, Selection mode, multiple]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="AllSeriesData.setDefault('candlestick', application.comp)" waitEvent="updateComplete" waitTarget="comp.series.0" />
+				<SetProperty target="comp.verticalAxis" propertyName="minimum" value="24"  waitTarget="comp.verticalAxis"  />
+				<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/CandlestickSeries_selectionMode_Multiple.png"  timeout="5000"/>
+			</body> 
+		</TestCase> 
+
+
+
+	<TestCase  testID="CandlestickSeries_ChangeMinAndMax_DateTimeAxis" keywords="[CandlestickChart, minimum, maximum, DateTimeAxis]">
+		<setup>
+			<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+			<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DisabledDaysStockData().getDataAsXMLList()" waitEvent="updateComplete" />
+			<SetProperty target="comp" propertyName="horizontalAxis" valueExpression="value=new DateTimeAxis()" waitEvent="updateComplete" />
+			<RunCode code="AllSeriesDisabledDaysData.setDefault('candle', application.comp)" waitTarget="comp.series.0" />
+			<RunCode code="setDisabledDays('NULL_DISABLED_DAYS')" waitEvent="updateComplete" waitTarget="comp" />			
+	
+     			<SetProperty target="comp.horizontalAxis" propertyName="minimum" valueExpression="value=new Date(2006, 6, 29)"  waitTarget="comp.horizontalAxis"  /> 
+		  	<Pause timeout="20" />
+                  <SetProperty target="comp.horizontalAxis" propertyName="maximum" valueExpression="value=new Date(2006, 7, 2)"  waitTarget="comp.horizontalAxis"  /> 
+                  <Pause timeout="20" />
+            </setup>
+		<body>
+			<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_ChangeMinAndMax_DateTimeAxis.png" />
+		</body> 
+	</TestCase>  
+
+
+	<TestCase  testID="CandlestickSeries_ChangeMinAndMax_LinearAxis" keywords="[CandlestickChart, minimum, maximum, LinearAxis]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisTest('diffAxisType', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+		   
+				<SetProperty target="comp.verticalAxis" propertyName="minimum" value="15"  waitTarget="comp.verticalAxis"  />
+				<Pause timeout="20" />
+                        <SetProperty target="comp.verticalAxis" propertyName="maximum" value="30"  waitTarget="comp.verticalAxis"  /> 
+				<Pause timeout="20" />
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_ChangeMinAndMax_LinearAxis.png" timeout="5000" />
+			</body> 
+	</TestCase>
+
+
+      <TestCase  testID="CandlestickSeries_filterData_filterDataValues" keywords="[CandlestickChart, minimum, maximum, LinearAxis, filterData, filterDataValues]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisTest('diffAxisType', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+			    <Pause timeout="20" />   
+				<SetProperty target="comp.verticalAxis" propertyName="minimum" value="15"  waitTarget="comp.verticalAxis"  />
+	                <Pause timeout="20" /> 
+                        <SetProperty target="comp.verticalAxis" propertyName="maximum" value="30"  waitTarget="comp.verticalAxis"  /> 
+			   <Pause timeout="20" />
+				<SetProperty target="comp.series.0" propertyName="filterData" value="false"  waitTarget="comp.verticalAxis"  /> 
+			   <Pause timeout="20" />
+				<SetProperty target="comp.series.0" propertyName="filterDataValues" value="outsideRange"  waitTarget="comp.verticalAxis"  /> 
+			   <Pause timeout="20" />
+				<SetProperty target="comp.series.0" propertyName="filterDataValues" value="nulls"  waitTarget="comp.verticalAxis"  /> 
+			   <Pause timeout="20" />	
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_filterData_filterDataValues.png" timeout="5000" />
+			</body> 
+	</TestCase> 
+
+		<TestCase  testID="CandlestickSeries_legend" keywords="[CandlestickChart, Legend, multiple series]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<RunCode code="AllSeriesData.setDefault('candlestick', application.comp)" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+
+				<SetProperty target="comp.series.0" propertyName="displayName" value="Open" waitTarget="comp.series.0" />
+
+			
+				<Pause timeout="200"/>
+				<RunCode code="createLegend()" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap target=""   url="../Properties/Baselines/CandlestickSeries_legend.png" />
+			</body> 
+		</TestCase> 
+
+	
+ 	<TestCase  testID="CandlestickSeries_ChangeDataProvider_AtChartLevel" keywords="[CandlestickChart, Dataprovider, chartLevel]">
+		<setup>
+			<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+			<RunCode code="AllSeriesData.setDefault('candlestick', application.comp)" />
+			<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new DataGraphicsData().getDataAsXMLList()" waitEvent="updateComplete" />
+		
+			<Pause timeout="20"/>
+			<SetProperty target="comp" propertyName="dataProvider" value="{companyBAC}" waitEvent="updateComplete" /> 
+			<Pause timeout="20"/>
+
+		</setup>
+		<body>
+			<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_ChangeDataProvider_AtChartLevel.png"  />
+		</body>
+	</TestCase>  
+
+
+	<TestCase  testID="CandlestickSeries_valid_horizontal_vertical_axis" keywords="[CandlestickChart,valid, horizontal and vertical Axis]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisTest('validHorVerAxis', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_valid_horizontal_vertical_axis.png" />
+			</body> 
+		</TestCase>
+		
+		<TestCase  testID="CandlestickSeries_Canvas_MultipleAxes_AxisSet_Background" keywords="[CandlestickChart,MultipleAxes, Canvas axis set]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.CanvasOnMultipleAxes('axisSet', application.comp, 'background')" waitEvent="updateComplete" waitTarget="comp"/> 
+
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_Canvas_MultipleAxes_AxisSet_Background.png"  />
+			</body>
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_multipleAxes_disabledDays" keywords="[CandlestickChart,multipleAxes, disabled days]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisTest('disabledDays', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_multipleAxes_disabledDays.png" />
+			</body> 
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_axisRenderer_withPlacement" keywords="[CandlestickChart,axis Renderers, with Placement specified]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.AxisRenderers('axisRendererWithPlacement', application.comp)" waitEvent="updateComplete" waitTarget="comp" />			
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_axisRenderer_withPlacement.png" />
+			</body> 
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_MultipleCanvas_MultipleAxes_Annotation" keywords="[CandlestickChart, MultipleAxes, Multiple canvas]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="DataGraphicsUtils.CanvasOnMultipleAxes('multipleCanvas', application.comp, 'annotation')" waitEvent="updateComplete" waitTarget="comp"/> 
+
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_MultipleCanvas_MultipleAxes_Annotation.png"  />
+			</body>
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_sameAxis_diffRenderers" keywords="[CandlestickChart,same Axis, on different AxisRenderers]">
+			<setup>			
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisAndRendererTests('sameAxisOnDiffRenderers', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_sameAxis_diffRenderers.png" />
+			</body> 
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_sameRenderer_withDiffAxis" keywords="[CandlestickChart,same Renderer, different Axis]">
+			<setup>		
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisAndRendererTests('sameRendererWithDiffAxis', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_sameRenderer_withDiffAxis.png" />
+			</body> 
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_valid_horizontal_vertical_axis" keywords="[CandlestickChart,valid, horizontal and vertical Axis]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.axisTest('validHorVerAxis', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_valid_horizontal_vertical_axis.png" />
+			</body> 
+		</TestCase>
+		<TestCase  testID="CandlestickSeries_axisAtSeriesLevel" keywords="[CandlestickChart,axis specified at Series level]">
+			<setup>
+				<ResetComponent target="comp" className="mx.charts::CandlestickChart" />
+				<SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new MultipleAxesData().getDataAsArray()" waitEvent="updateComplete" />
+				<RunCode code="MultipleAxesUtils.AxisRenderers('axisAtSeries', application.comp)" waitEvent="updateComplete" waitTarget="comp"/>			
+			</setup>
+			<body>
+				<CompareBitmap target="comp"   url="../Properties/Baselines/CandlestickSeries_axisAtSeriesLevel.png" />
+			</body> 
+		</TestCase>
+		
+	</testCases>
+</UnitTester>
+		

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

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



Mime
View raw message