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 [16/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/Pie/SWFs/DataGraphicsUtils.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsUtils.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsUtils.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/DataGraphicsUtils.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,412 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.*;	
+	import mx.controls.Label;
+
+
+	public class DataGraphicsUtils 
+	{ 	
+		public function DataGraphicsUtils()
+		{
+		}
+	
+		public static function DrawShapesWithTotalValSet(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:PolarDataCanvas = new PolarDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				//draw circle
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle(0,40,50);
+	       			myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line
+				myCanvas.clear();
+				myCanvas.moveTo(0, 10);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo(20, 80); 		
+				break;
+
+				case "rect":
+				//rect with a label(component)
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRect(20, 120,30,150);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, 30,50);
+				myCanvas.endFill();		
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect(20, 60,30,80,15);
+				myCanvas.endFill();    		
+				break;
+
+				case "ellipse":
+				//ellipse
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse(20, 60,30,80);
+				myCanvas.endFill();		
+				break;
+
+				case "curve":
+				//curve
+				myCanvas.clear();
+	       	 		myCanvas.beginFill(0xFFCC04, 1);
+	          		myCanvas.curveTo(20, 6,10,20);
+	           		myCanvas.endFill();			
+				break;
+			}
+			myCanvas.totalValue=1000;
+			switch(elementType)
+			{
+				
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);				
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}
+		
+		public static function DrawShapesWithTotalValNotSet(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:PolarDataCanvas = new PolarDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				//draw circle
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle(0,40,50);
+				myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line
+				myCanvas.clear();
+				myCanvas.moveTo(0, 10);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo(20, 80); 		
+				break;
+
+				case "rect":
+				//rect with a label(component)
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRect(20, 120,30,150);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, 30,50);
+				myCanvas.endFill();		
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect(20, 60,30,80,15);
+				myCanvas.endFill();    		
+				break;
+
+				case "ellipse":
+				//ellipse
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse(20, 60,30,80);
+				myCanvas.endFill();		
+				break;
+
+				case "curve":
+				//curve
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo(20, 6,10,20);
+				myCanvas.endFill();			
+				break;
+			}
+			myCanvas.includeInRanges = true;
+			switch(elementType)
+			{
+
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);				
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}
+	
+		public static function DrawShapesWithNegativeVal(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:PolarDataCanvas = new PolarDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				//draw circle
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle(0,40,-50);
+				myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line
+				myCanvas.clear();
+				myCanvas.moveTo(0, 10);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, -1.0);
+				myCanvas.lineTo(20, 80); 		
+				break;
+
+				case "rect":
+				//rect with a label(component)
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRect(20, 120,30,-150);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, 30,50);
+				myCanvas.endFill();		
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect(20, 60,30,80,-15);
+				myCanvas.endFill();    		
+				break;
+
+				case "ellipse":
+				//ellipse
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse(20, 60,-30,80);
+				myCanvas.endFill();		
+				break;
+
+				case "curve":
+				//curve
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo(20, 6,10,-20);
+				myCanvas.endFill();			
+				break;
+			}
+			myCanvas.totalValue=1000;
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}	
+
+		public static function DrawCanvasWithIncludeInRanges(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:PolarDataCanvas = new PolarDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				//draw circle
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle(0,40,50);
+				myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line
+				myCanvas.clear();
+				myCanvas.moveTo(0, 10);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo(20, 80); 		
+				break;
+
+				case "rect":
+				//rect with a label(component)
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRect(20, 120,30,150);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, 30,50);
+				myCanvas.endFill();		
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect(20, 60,30,80,15);
+				myCanvas.endFill();    		
+				break;
+
+				case "ellipse":
+				//ellipse
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse(20, 60,30,80);
+				myCanvas.endFill();		
+				break;
+
+				case "curve":
+				//curve
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo(20, 6,10,20);
+				myCanvas.endFill();			
+				break;
+			}
+			myCanvas.totalValue=1000;
+			myCanvas.includeInRanges = true;
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);				
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}
+
+		public static function AddCompWithUpdateDataChild(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:PolarDataCanvas = new PolarDataCanvas();
+			var myLabel:Label = new Label();
+			
+			switch(testCaseType)
+			{	
+				case "1":
+				myCanvas.clear();									
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel,  30,50, "4", 30, 3, 4);			
+				break;
+
+				case "2":
+				myCanvas.clear();							
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel,  30,50, "5", 20, 1, 2);
+				break;			
+
+				case "3":
+				myCanvas.clear();								
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, 30,50, "2", 30, 0, 0);
+				break;
+
+				case "4":
+				myCanvas.clear();								
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, 30,50);
+				break;
+
+			}
+			myCanvas.totalValue=1000;
+			myCanvas.includeInRanges=true;
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}		
+	
+		public static function CanvasWithRadialAndAngularAxisSet(chart:Object):void
+		{
+			var myCanvas:PolarDataCanvas = new PolarDataCanvas();
+			var arr:Array = new Array();
+			var myLabel:Label = new Label();
+			
+			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);		
+			
+			chart.series = arr;
+			
+			var myRadialAxis:LinearAxis = new LinearAxis();
+			var myAngularAxis:LinearAxis = new LinearAxis();
+			
+			myRadialAxis.maximum = 100;
+			myAngularAxis.maximum = 100;
+			
+			chart.radialAxis = myRadialAxis;
+			pie3.angularAxis = myAngularAxis;			
+			
+			myCanvas.clear();
+			myCanvas.beginFill(0xFFCC04, 1);
+			myCanvas.drawCircle(0,40,50);
+			myCanvas.endFill();	
+			chart.annotationElements = chart.annotationElements.concat(myCanvas);				
+		}
+
+	}
+}

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/FillsData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/FillsData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/FillsData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/FillsData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,140 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.core.mx_internal;
+	import mx.collections.ArrayCollection;
+	import mx.graphics.*;
+	import mx.charts.ChartItem;
+	public class FillsData
+	{ 
+
+		public function FillsData() 
+		{ 
+		}
+		
+		private static var ge1:GradientEntry = new GradientEntry(0xFFCC66,0,.5);
+		private static var ge2:GradientEntry = new GradientEntry(0x000000,.33,.5);
+		private static var ge3:GradientEntry = new GradientEntry(0x99FF33,.66,.5);
+		
+		private static var ge4:GradientEntry = new GradientEntry(0xCC3300,.33,.5);
+		private static var ge5:GradientEntry = new GradientEntry(0xFF33FF,.66,.5);
+
+		
+		private static var ge6:GradientEntry = new GradientEntry(0x9966CC,0,.5);
+		private static var ge7:GradientEntry = new GradientEntry(0x00FFFF,.33,.5);
+		private static var ge8:GradientEntry = new GradientEntry(0x003399,.5,.5);
+		private static var ge9:GradientEntry = new GradientEntry(0x663300,.66,.5);
+
+		
+		public static function getLGFills():Array
+		{
+		
+			var lg1:LinearGradient = new LinearGradient();
+
+			lg1.entries = [ge1,ge2,ge3];
+			lg1.rotation = 90;
+
+			var lg2:LinearGradient = new LinearGradient();
+
+			
+			lg2.entries = [ge4,ge5];
+			lg2.rotation = 180;
+
+			var lg3:LinearGradient = new LinearGradient();
+
+			
+			lg3.entries = [ge6,ge7,ge8,ge9];
+			lg3.rotation = 270;
+
+			lgfills = [lg1,lg2,lg3];
+
+			return lgfills;
+		}
+		
+		public static function getRGFills():Array
+		{
+				
+			var rg1:RadialGradient = new RadialGradient();
+
+			rg1.entries = [ge1,ge2,ge3];
+			rg1.rotation = -90;
+			rg1.focalPointRatio = -0.1;
+
+			var rg2:RadialGradient = new RadialGradient();
+
+
+			rg2.entries = [ge4,ge5];
+			rg2.rotation = -180;
+			rg2.focalPointRatio = -0.9;
+
+			var rg3:RadialGradient = new RadialGradient();
+
+
+			rg3.entries = [ge6,ge7,ge8,ge9];
+			rg3.rotation = -270;
+			rg3.focalPointRatio = 0.5;
+
+			rgfills = [rg1,rg2,rg3];
+
+			return rgfills;
+		}
+		
+		public static function myfillFunction1(element:ChartItem, index:Number):IFill
+		{
+			var fill:SolidColor;
+			if(element.item.close > 32 && element.item.close < 37)
+				fill = new SolidColor(0xffff00);
+			else if (element.item.close < 32)
+				fill = new SolidColor(0xff0000);
+			else if (element.item.close >=37)
+				fill = new SolidColor(0x00ff00);
+				
+			return fill;
+		}
+		
+		public static function myfillFunction2(element:ChartItem, index:Number):IFill
+		{
+			return(new SolidColor(0xff0000));
+		}
+		
+		
+		[Bindable]
+		public static var scfills:Array = [ new SolidColor (0x000000), new SolidColor (0xFF0000), new SolidColor (0x00FF00), 
+							new SolidColor (0x0000FF), new SolidColor (0xFF00FF), new SolidColor (0x00FFFF) ];
+		[Bindable]
+		public static var fills:Array = ['0x333333','0x003399','0xCC3300','0x663300','0xFF33FF','0xCC99FF',
+							'0x99FF00','0x003399','0x9966CC','0xFFFF00','0xCCCCCC'];
+							
+		[Bindable]
+		public static var hashfills:Array = ['#cc00ff','#ff0099','#990000','#6666cc','#cccccc','#66ff66','#996666'];
+		
+		[Bindable]
+		public static var stringfills:Array = ['blue','yellow','cyan','green','red','purple'];
+		
+		[Bindable]
+		public static var lgfills:Array;
+		
+		[Bindable]
+		public static var rgfills:Array;
+		
+		
+	}
+}
\ No newline at end of file

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/GenericPie.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/GenericPie.mxml?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/GenericPie.mxml (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/GenericPie.mxml Thu Dec  6 22:51:12 2012
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  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.
+
+-->
+<mx:Application initialize="comp = new UIComponent(); addChild(comp)" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" height="600" width="500" >
+    <mx:Style source="../../assets/chartFontStyles.css" />
+    
+	<mx:Script>
+	<![CDATA[
+		import mx.charts.*;
+
+		import mx.core.UIComponent;
+
+		public var comp:UIComponent;
+
+		private var testComponent:Array = [ AreaChart, LineChart, BarChart, ColumnChart, BubbleChart, CandlestickChart, PlotChart, PieChart] ;
+	]]>
+	</mx:Script>
+	
+</mx:Application>

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/MedalsData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/MedalsData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/MedalsData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Pie/SWFs/MedalsData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,50 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.collections.ArrayCollection;
+
+
+	public class MedalsData
+	{ 
+
+		public function MedalsData() 
+		{ 
+
+		}
+
+		private var medalsAC:Array = [
+            		{ Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
+            		{ Country: "China", Gold: 32, Silver:17, Bronze: 14 },
+            		{ Country: "Russia", Gold: 27, Silver:7, Bronze: 38 } ];
+
+		public function getDataAsArray():Array 
+		{ 
+			return medalsAC;
+		}
+
+		public function getDataAsCollection():ArrayCollection
+		{ 
+			return new ArrayCollection(medalsAC);
+		}
+	}
+
+}
\ No newline at end of file

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/Properties/PlotProperties.mxml Thu Dec  6 22:51:12 2012
@@ -0,0 +1,426 @@
+<UnitTester testDir="components/Charts/Plot/Properties/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="GenericPlot.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="PlotSeries_change_Dataprovider_SeriesAndAxis_Level" keywords="[PlotChart, change Dataprovider, Series level, Axis Level]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <RunCode code="AllSeriesData.setDefault('plot', 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/PlotSeries_change_Dataprovider_SeriesAndAxis_Level.png" timeout="5000"/>
+            </body> 
+        </TestCase> 
+
+
+      <TestCase  testID="PlotSeries_selectionMode_Single" keywords="[PlotChart, Selection mode, single]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+                <RunCode code="AllSeriesData.setDefault('plot', 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/PlotSeries_selectionMode_Single.png"  timeout="5000"/>
+            </body> 
+        </TestCase>
+
+        <TestCase  testID="PlotSeries_selectionMode_None" keywords="[PlotChart, Selection mode, none]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+                <RunCode code="AllSeriesData.setDefault('plot', 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/PlotSeries_selectionMode_None.png"  timeout="5000"/> 
+            </body> 
+        </TestCase> 
+
+        <TestCase  testID="PlotSeries_selectionMode_Multiple" keywords="[PlotChart, Selection mode, multiple]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <SetProperty target="comp" propertyName="dataProvider" valueExpression="value=new AdbeStockData().getDataAsArray()" waitEvent="updateComplete" />
+                <RunCode code="AllSeriesData.setDefault('plot', 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/PlotSeries_selectionMode_Multiple.png"  timeout="5000"/>
+            </body> 
+        </TestCase> 
+
+
+
+    <TestCase  testID="PlotSeries_ChangeMinAndMax_DateTimeAxis" keywords="[PlotChart, minimum, maximum, DateTimeAxis]">
+        <setup>
+            <ResetComponent target="comp" className="mx.charts::PlotChart" />
+            <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('plot', 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/PlotSeries_ChangeMinAndMax_DateTimeAxis.png" />
+        </body> 
+    </TestCase>  
+
+
+    <TestCase  testID="PlotSeries_ChangeMinAndMax_LinearAxis" keywords="[PlotChart, minimum, maximum, LinearAxis]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_ChangeMinAndMax_LinearAxis.png" timeout="5000" />
+            </body> 
+    </TestCase>  
+
+
+       <TestCase  testID="PlotSeries_filterData_filterDataValues" keywords="[PlotChart, minimum, maximum, LinearAxis, filterData, filterDataValues]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_filterData_filterDataValues.png" timeout="5000" />
+            </body> 
+    </TestCase> 
+
+        <TestCase  testID="PlotSeries_legend" keywords="[PlotChart, Legend, multiple series]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <RunCode code="AllSeriesData.setDefault('plot', 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/PlotSeries_legend.png" />
+            </body> 
+        </TestCase> 
+
+    
+    <TestCase  testID="PlotSeries_ChangeDataProvider_AtChartLevel" keywords="[PlotChart, Dataprovider, chartLevel]">
+        <setup>
+            <ResetComponent target="comp" className="mx.charts::PlotChart" />
+            <RunCode code="AllSeriesData.setDefault('plot', 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/PlotSeries_ChangeDataProvider_AtChartLevel.png"  />
+        </body>
+    </TestCase>  
+
+        
+        <!--default tests not setting fillfunction or fills array-->
+    
+        <TestCase  testID="PlotSeries_valid_horizontal_vertical_axis" keywords="[PlotChart,valid, horizontal and vertical Axis]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_valid_horizontal_vertical_axis.png" />
+            </body> 
+        </TestCase>
+        
+        <TestCase  testID="PlotSeries_Canvas_MultipleAxes_AxisSet_Background" keywords="[PlotChart,MultipleAxes, Canvas axis set]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_Canvas_MultipleAxes_AxisSet_Background.png"  />
+            </body>
+        </TestCase>
+        <TestCase  testID="PlotSeries_multipleAxes_disabledDays" keywords="[PlotChart,multipleAxes, disabled days]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_multipleAxes_disabledDays.png" />
+            </body> 
+        </TestCase>
+        <TestCase  testID="PlotSeries_axisRenderer_withPlacement" keywords="[PlotChart,axis Renderers, with Placement specified]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_axisRenderer_withPlacement.png" />
+            </body> 
+        </TestCase>
+        <TestCase  testID="PlotSeries_MultipleCanvas_MultipleAxes_Annotation" keywords="[PlotChart, MultipleAxes, Multiple canvas]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_MultipleCanvas_MultipleAxes_Annotation.png"  />
+            </body>
+        </TestCase>
+        <TestCase  testID="PlotSeries_sameAxis_diffRenderers" keywords="[PlotChart,same Axis, on different AxisRenderers]">
+            <setup>         
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_sameAxis_diffRenderers.png" />
+            </body> 
+        </TestCase>
+        <TestCase  testID="PlotSeries_sameRenderer_withDiffAxis" keywords="[PlotChart,same Renderer, different Axis]">
+            <setup>     
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_sameRenderer_withDiffAxis.png" />
+            </body> 
+        </TestCase>
+        <TestCase  testID="PlotSeries_valid_horizontal_vertical_axis" keywords="[PlotChart,valid, horizontal and vertical Axis]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_valid_horizontal_vertical_axis.png" />
+            </body> 
+        </TestCase>
+        <TestCase  testID="PlotSeries_axisAtSeriesLevel" keywords="[PlotChart,axis specified at Series level]">
+            <setup>
+                <ResetComponent target="comp" className="mx.charts::PlotChart" />
+                <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/PlotSeries_axisAtSeriesLevel.png" />
+            </body> 
+        </TestCase>
+    </testCases>
+</UnitTester>
+        

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AdbeStockData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AdbeStockData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AdbeStockData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/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/Plot/SWFs/AdbeStockData.as
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,138 @@
+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 "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/Plot/SWFs/AllSeriesData.as
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesDisabledDaysData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesDisabledDaysData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesDisabledDaysData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Plot/SWFs/AllSeriesDisabledDaysData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,79 @@
+
+
+package {
+
+	import mx.charts.*;
+	import mx.charts.series.*;
+
+
+	public class AllSeriesDisabledDaysData  { 
+
+
+		public static function setDefault (which:String, chart:Object):void {
+
+			var arr:Array = new Array();
+
+	
+			if (which == "area") { 
+				var a:AreaSeries = new AreaSeries();	
+				a.yField = "close";
+				a.xField = "date";
+				arr.push(a);
+			} else if (which == "bar") { 
+				var b:BarSeries = new BarSeries();	
+				b.xField = "close";
+				b.yField = "date";
+				arr.push(b);
+			} else if (which == "column") { 
+				var c:ColumnSeries = new ColumnSeries();	
+				c.yField = "close";
+				c.xField = "date";				
+				arr.push(c);
+			} else if (which == "candle") { 
+				var d:CandlestickSeries = new CandlestickSeries();	
+				d.closeField = "close";
+				d.openField = "open";
+				d.highField = "high";
+				d.lowField = "low";
+				d.xField = "date";
+				arr.push(d);
+			} else if (which == "hloc") { 
+				var e:HLOCSeries = new HLOCSeries();	
+				e.closeField = "close";
+				e.openField = "open";
+				e.highField = "high";
+				e.lowField = "low";
+				e.xField = "date";
+				arr.push(e);
+			} else if (which == "line") { 
+				var f:LineSeries = new LineSeries();	
+				f.yField = "close";
+				f.xField = "date";
+				arr.push(f);
+			} else if (which == "plot") { 
+				var g:PlotSeries = new PlotSeries();	
+				g.yField = "close";
+				g.xField = "date";
+				arr.push(g);
+			} else if (which == "bubble") { 
+				var g1:BubbleSeries = new BubbleSeries();	
+				g1.radiusField = "low";
+				g1.yField = "close";
+				g1.xField = "date";
+				arr.push(g1);
+			} else if (which == "pie") { 
+				var h:PieSeries = new PieSeries();	
+				h.field = "close";				
+				arr.push(h);
+			}
+
+			chart.series = arr;
+
+		}
+
+
+	}
+
+}
+
+

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

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



Mime
View raw message