You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/12/06 23:51:38 UTC

svn commit: r1418122 [6/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/ ...

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

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

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,151 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+// ugly to keep this in the file
+package  { 
+
+
+	import mx.collections.ArrayCollection;
+
+
+	public class DataGraphicsData  { 
+
+		public function DataGraphicsData() { 
+
+		}
+
+	[Bindable] public var adbeX:XML = 
+<quotes>
+<quote>
+<date>Mon Jul 31 12:00:00 GMT-0800 2006</date>
+<open>27.53</open>
+<high>28.56</high>
+<low>27.23</low>
+<close>28.51</close>
+<volume>5824400</volume>
+</quote>
+<quote>
+<date>Tue Aug 01 12:00:00 GMT-0800 2006</date>
+<open>28.4</open>
+<high>28.97</high>
+<low>28</low>
+<close>28.34</close>
+<volume>6898600</volume>
+</quote>
+<quote>
+<date>Wed Aug 02 12:00:00 GMT-0800 2006</date>
+<open>30</open>
+<high>32.58</high>
+<low>29.99</low>
+<close>32.28</close>
+<volume>12151100</volume>
+</quote>
+<quote>
+<date>Thu Aug 03 12:00:00 GMT-0800 2006</date>
+<open>31.55</open>
+<high>32.65</high>
+<low>31.3</low>
+<close>32.53</close>
+<volume>6407800</volume>
+</quote>
+<quote>
+<date>Fri Aug 04 12:00:00 GMT-0800 2006</date>
+<open>32.6</open>
+<high>32.74</high>
+<low>31.5</low>
+<close>31.72</close>
+<volume>5481600</volume>
+</quote>
+<quote>
+<date>Mon Aug 07 12:00:00 GMT-0800 2006</date>
+<open>31.63</open>
+<high>32</high>
+<low>31.13</low>
+<close>31.79</close>
+<volume>3815900</volume>
+</quote>
+</quotes>;
+
+
+	[Bindable] public var adbeXNegativeData:XML = 
+<quotes>
+<quote>
+<date>Mon Jul 31 12:00:00 GMT-0800 2006</date>
+<open>27.53</open>
+<high>28.56</high>
+<low>27.23</low>
+<close>-28.51</close>
+<volume>5824400</volume>
+</quote>
+<quote>
+<date>Tue Aug 01 12:00:00 GMT-0800 2006</date>
+<open>28.4</open>
+<high>28.97</high>
+<low>28</low>
+<close>28.34</close>
+<volume>6898600</volume>
+</quote>
+<quote>
+<date>Wed Aug 02 12:00:00 GMT-0800 2006</date>
+<open>30</open>
+<high>32.58</high>
+<low>29.99</low>
+<close>32.28</close>
+<volume>12151100</volume>
+</quote>
+<quote>
+<date>Thu Aug 03 12:00:00 GMT-0800 2006</date>
+<open>31.55</open>
+<high>32.65</high>
+<low>31.3</low>
+<close>32.53</close>
+<volume>6407800</volume>
+</quote>
+<quote>
+<date>Fri Aug 04 12:00:00 GMT-0800 2006</date>
+<open>32.6</open>
+<high>32.74</high>
+<low>31.5</low>
+<close>-31.72</close>
+<volume>5481600</volume>
+</quote>
+<quote>
+<date>Mon Aug 07 12:00:00 GMT-0800 2006</date>
+<open>31.63</open>
+<high>32</high>
+<low>31.13</low>
+<close>31.79</close>
+<volume>3815900</volume>
+</quote>
+</quotes>;	
+		
+
+		public function getDataAsXMLList():XMLList { 
+			return adbeX.elements("quote");
+		}
+
+		public function getNegativeDataAsXMLList():XMLList { 
+			return adbeXNegativeData.elements("quote");
+		}
+
+		
+	}
+
+}

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsUtils.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsUtils.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsUtils.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DataGraphicsUtils.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,713 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.Alert;
+	import mx.controls.Label;
+
+
+	public class DataGraphicsUtils 
+	{ 
+	
+	
+		public function DataGraphicsUtils()
+		{
+		}
+
+		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;
+        	}
+	
+		public static function DrawShapes(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:CartesianDataCanvas = new CartesianDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				//draw circle
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle("1", 20,50);
+				myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line
+				myCanvas.clear();
+				myCanvas.moveTo("0", 200);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo("5", 30); 			
+				break;
+
+				case "rect":
+				//rect with a label(component)
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawRect("2", 20,"5",10);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40);
+				myCanvas.endFill();			
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect("4", 20,"5",10,15);
+				myCanvas.endFill();        		
+				break;
+
+				case "ellipse":
+				//ellipse
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse("1", 20,"4", 30);
+				myCanvas.endFill();			
+				break;
+
+				case "curve":
+				//curve
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo("2", 25, "5", 30);
+				myCanvas.endFill();			
+				break;
+			}
+
+			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:CartesianDataCanvas = new CartesianDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				// circle with negative value for radius
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle("2", 20,-50);
+				myCanvas.endFill();
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "line": 
+				// draw line with negative value in line style
+				myCanvas.clear();
+				myCanvas.moveTo("0", 20);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, -1.0);
+				myCanvas.lineTo("5", 30); 
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "rect":
+				//rect with a label(component) with data coordinates that are not present in the chart
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawRect("2", 200,"5",10);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40);
+				myCanvas.endFill();
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect("5", 20,"6",10,15);
+				myCanvas.endFill();
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "ellipse":
+				//ellipse with negative rounded radius value
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse("1", 20,"4", -30);
+				myCanvas.endFill();
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "curve":
+				//curve 
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo("0", 25, "5", 30);
+				myCanvas.endFill();
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+			}
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}
+
+		public static function DrawWithCartesianCanvasValue(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:CartesianDataCanvas = new CartesianDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				// circle with 0 offset in CartesianCanvasValue
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle(new CartesianCanvasValue("2"), 20,50);
+				myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line 30 offset in CartesianCanvasValue in line style
+				myCanvas.clear();
+				myCanvas.moveTo("0", 20);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo(new CartesianCanvasValue("5", 30), 30); 			
+				break;
+
+				case "rect":
+				//rect with a label(component) with data coordinates that are not present in the chart
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawRect(new CartesianCanvasValue("2",5), 20,new CartesianCanvasValue("5",5),10);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40);
+				myCanvas.endFill();			
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect(new CartesianCanvasValue("3"), 20,new CartesianCanvasValue("5"),10,15);
+				myCanvas.endFill();			
+				break;
+
+				case "ellipse":
+				//ellipse with negative rounded radius value
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse(new CartesianCanvasValue("1",10), new CartesianCanvasValue(20,-10), new CartesianCanvasValue("4",10), new CartesianCanvasValue(30, 10));
+				myCanvas.endFill();			
+				break;
+
+				case "curve":
+				//curve 
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo(new CartesianCanvasValue("0", 10), 25, new CartesianCanvasValue("5"), 30);
+				myCanvas.endFill();			
+				break;
+			}
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}
+
+		public static function DrawCanvasOnNegativeAxis(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:CartesianDataCanvas = new CartesianDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				// circle with 0 offset in CartesianCanvasValue
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle(new CartesianCanvasValue("2"), -20,50);
+				myCanvas.endFill();
+				break;
+
+				case "line": 
+				// draw line 30 offset in CartesianCanvasValue in line style
+				myCanvas.clear();
+				myCanvas.moveTo("0", -20);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo(new CartesianCanvasValue("5", 30), -30); 
+				break;
+
+				case "rect":
+				//rect with a label(component) with data coordinates that are not present in the chart
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawRect(new CartesianCanvasValue("2",5), -20,new CartesianCanvasValue("5",5),-10);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", -40);
+				myCanvas.endFill();
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect(new CartesianCanvasValue("3"), -20,new CartesianCanvasValue("5"),-10,15);
+				myCanvas.endFill();
+				break;
+
+				case "ellipse":
+				//ellipse with negative rounded radius value
+				myCanvas.clear();
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse(new CartesianCanvasValue("1",10), new CartesianCanvasValue(-20,-10), new CartesianCanvasValue("4",10), new CartesianCanvasValue(-30, 10));
+				myCanvas.endFill();
+				break;
+
+				case "curve":
+				//curve 
+				myCanvas.clear();
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo(new CartesianCanvasValue("0", 10), -25, new CartesianCanvasValue("5"), -30);
+				myCanvas.endFill();
+				break;
+			}
+			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:CartesianDataCanvas = new CartesianDataCanvas();
+			switch(testCaseType)
+			{	
+				case "circle":	
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle("1", 120,50);
+				myCanvas.endFill();			
+				break;
+
+				case "line": 
+				// draw line
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;
+				myCanvas.moveTo("0", 200);
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.lineStyle(1, 0x003399, 1.0);
+				myCanvas.lineTo("5", 30); 
+				break;
+
+				case "rect":
+				//rect with a label(component)
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawRect("2", 120,"5",100);
+				var myLabel:Label = new Label();
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40);
+				myCanvas.endFill();
+				break;
+
+				case "roundedRect":
+				//rounded rect
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0x003399, 1);
+				myCanvas.drawRoundedRect("4", 20,"5",10,15);
+				myCanvas.endFill();
+				break;
+
+				case "ellipse":
+				//ellipse
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFDCC34, 1);
+				myCanvas.drawEllipse("1", 20,"4", 30);
+				myCanvas.endFill();
+				break;
+
+				case "curve":
+				//curve
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.curveTo("2", 25, "5", 30);
+				myCanvas.endFill();
+				break;
+			}
+			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:CartesianDataCanvas = new CartesianDataCanvas();
+			var myLabel:Label = new Label();
+			
+			switch(testCaseType)
+			{	
+				case "1":
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;					
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "2", 20, "4", 30, 3, 4);			
+				break;
+
+				case "2":
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;					
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40, "5", 20, 1, 2);
+				break;			
+
+				case "3":
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;					
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40, "2", 30, 0, 0);
+				break;
+
+				case "4":
+				myCanvas.clear();
+				myCanvas.includeInRanges=true;					
+				myLabel.text = "Test";
+				myCanvas.addChild(myLabel);
+				myCanvas.updateDataChild(myLabel, "3", 40);
+				break;
+
+			}
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				break;			
+			}
+		}
+
+		public static function CanvasOnMultipleAxes(testCaseType:String, chart:Object, elementType:String):void
+		{
+			var myCanvas:CartesianDataCanvas = new CartesianDataCanvas();
+			var myCanvas1:CartesianDataCanvas = new CartesianDataCanvas();
+			var myCanvas2:CartesianDataCanvas = new CartesianDataCanvas();
+			
+			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 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 closeCol1:ColumnSeries = new ColumnSeries();			
+			var openLine:LineSeries = new LineSeries();	
+			var highLine:LineSeries = new LineSeries();
+			var lowPlot:PlotSeries = new PlotSeries();
+
+			switch(testCaseType)
+			{	
+				case "axisSet":
+				// axis set for canvas				
+				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); 
+				
+				myVerAxisRenderer.axis = myVerV1;
+				myVerAxisRenderer.placement = "left";
+				arrVerAxisRenderers.push(myVerAxisRenderer); 		
+				
+				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);	
+									
+				closeCol1.yField = "close";								
+				closeCol1.horizontalAxis = myHorH1;			
+				seriesArray.push(closeCol1);
+				
+				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;
+
+				myCanvas.clear();
+				myCanvas.horizontalAxis = myHorH1;
+				myCanvas.verticalAxis = myVerV4;
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle("Jul", 120,50);
+				myCanvas.endFill();	
+				
+				break;			
+
+				case "axisNotSet":
+				// canvas axis when not specified takes primary axes				
+				
+				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);  
+				
+				myVerAxisRenderer.axis = myVerV1;
+				myVerAxisRenderer.placement = "left";
+				arrVerAxisRenderers.push(myVerAxisRenderer); 		
+				
+				myVerAxisRenderer1.axis = myVerV2;
+				myVerAxisRenderer1.placement = "right";
+				arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+				chart.verticalAxis = myVerV1;
+
+				chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+				chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);
+				
+				closeCol1.yField = "close";								
+				closeCol1.horizontalAxis = myHorH1;			
+				seriesArray.push(closeCol1);
+				
+				openLine.yField = "open";
+				openLine.xField = "date"; 
+				openLine.horizontalAxis = myHorH2;
+				openLine.verticalAxis = myVerV2;
+				seriesArray.push(openLine);			
+
+				chart.series = seriesArray;
+
+				myCanvas.clear();
+				myCanvas.horizontalAxis = myHorH1;
+				myCanvas.verticalAxis = myVerV2;
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle("Jul", 120,50);
+				myCanvas.endFill();
+
+				myCanvas1.clear();
+				myCanvas1.includeInRanges=true;
+				myCanvas1.moveTo("Jul", 200);
+				myCanvas1.beginFill(0xFFCC04, 1);
+				myCanvas1.lineStyle(1, 0x003399, 1.0);
+				myCanvas1.lineTo("Jun", 30);
+				
+				break;
+
+				case "multipleCanvas":
+				//multiple canvas with multiple axes				
+				myHorH1.categoryField = "month";				
+				myHorH2.categoryField = "date";						
+				chart.horizontalAxis = myHorH1;
+
+				myVerV2.minimum = 20;
+				myVerV2.maximum = 170;
+
+				myVerV1.title = "close";
+				myVerV2.title = "open";	
+				
+				myHorAxisRenderer.axis = myHorH2;
+				myHorAxisRenderer.placement = "top";		 	
+				arrHorAxisRenderers.push(myHorAxisRenderer); 
+
+				myHorAxisRenderer1.axis = myHorH1;
+				myHorAxisRenderer1.placement = "bottom";		 	
+				arrHorAxisRenderers.push(myHorAxisRenderer1); 
+				
+				myVerAxisRenderer.axis = myVerV1;
+				myVerAxisRenderer.placement = "left";
+				arrVerAxisRenderers.push(myVerAxisRenderer); 	
+				
+				myVerAxisRenderer1.axis = myVerV2;
+				myVerAxisRenderer1.placement = "right";
+				arrVerAxisRenderers.push(myVerAxisRenderer1); 
+
+				chart.verticalAxis = myVerV1;
+
+				chart.horizontalAxisRenderers = chart.horizontalAxisRenderers.concat(arrHorAxisRenderers);		 	
+				chart.verticalAxisRenderers = chart.verticalAxisRenderers.concat(arrVerAxisRenderers);	
+								
+				closeCol1.yField = "close";								
+				closeCol1.horizontalAxis = myHorH1;			
+				seriesArray.push(closeCol1);
+				
+				openLine.yField = "open";
+				openLine.xField = "date"; 
+				openLine.horizontalAxis = myHorH2;
+				openLine.verticalAxis = myVerV2;
+				seriesArray.push(openLine);			
+
+				chart.series = seriesArray;
+
+				myCanvas.clear();
+				myCanvas.horizontalAxis = myHorH1;
+				myCanvas.verticalAxis = myVerV2;
+				myCanvas.includeInRanges=true;
+				myCanvas.beginFill(0xFFCC04, 1);
+				myCanvas.drawCircle("Nov", 100,50);
+				myCanvas.endFill();
+
+				myCanvas1.clear();
+				myCanvas1.includeInRanges=true;
+				myCanvas.horizontalAxis = myHorH2;
+				myCanvas.verticalAxis = myVerV1;
+				myCanvas1.moveTo("Jul", 200);
+				myCanvas1.beginFill(0xFFCC04, 1);
+				myCanvas1.lineStyle(1, 0x003399, 1.0);
+				myCanvas1.lineTo("Jun", 30); 
+				break;				
+
+			}
+			switch(elementType)
+			{
+				case "annotation":
+				chart.annotationElements = chart.annotationElements.concat(myCanvas);
+				chart.annotationElements = chart.annotationElements.concat(myCanvas1);
+				break;
+
+				case "background":
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas);
+				chart.backgroundElements = chart.backgroundElements.concat(myCanvas1);
+				break;			
+			}
+		}
+
+
+	}
+}

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DisabledDaysStockData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DisabledDaysStockData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DisabledDaysStockData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/DisabledDaysStockData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,550 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 DisabledDaysStockData  { 
+
+		public function DisabledDaysStockData() { 
+
+		}
+
+	[Bindable] public var adbeX:XML = 
+<quotes>
+<quote>
+<date>2006, 7, 27</date>
+<open>27.53</open>
+<high>28.56</high>
+<low>27.23</low>
+<close>28.51</close>
+<volume>5824400</volume>
+</quote>
+<quote>
+<date>2006, 7, 28</date>
+<open>28.4</open>
+<high>28.97</high>
+<low>28</low>
+<close>28.34</close>
+<volume>6898600</volume>
+</quote>
+<quote>
+<date>2006, 7, 29</date>
+<open>30</open>
+<high>32.58</high>
+<low>29.99</low>
+<close>32.28</close>
+<volume>12151100</volume>
+</quote>
+<quote>
+<date>2006, 7, 30</date>
+<open>31.55</open>
+<high>32.65</high>
+<low>31.3</low>
+<close>32.53</close>
+<volume>6407800</volume>
+</quote>
+<quote>
+<date>2006, 7, 31</date>
+<open>32.6</open>
+<high>32.74</high>
+<low>31.5</low>
+<close>31.72</close>
+<volume>5481600</volume>
+</quote>
+<quote>
+<date>2006, 8, 1</date>
+<open>31.63</open>
+<high>32</high>
+<low>31.13</low>
+<close>31.79</close>
+<volume>3815900</volume>
+</quote>
+<quote>
+<date>2006, 8, 2</date>
+<open>32.01</open>
+<high>32.7</high>
+<low>31.71</low>
+<close>31.95</close>
+<volume>4080200</volume>
+</quote>
+<quote>
+<date>2006, 8, 3</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/Bubble/SWFs/DisabledDaysStockData.as
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/FillsData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/FillsData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/FillsData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/FillsData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,144 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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));
+		}
+		public static function myNullfillFunction(element:ChartItem, index:Number):IFill
+		{
+			return null;
+		}
+		
+		
+		[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/Bubble/SWFs/FillsData.as
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

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

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

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

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesData.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesData.as?rev=1418122&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesData.as (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Charts/Bubble/SWFs/MultipleAxesData.as Thu Dec  6 22:51:12 2012
@@ -0,0 +1,113 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 MultipleAxesData  
+	{ 
+
+		public function MultipleAxesData() 
+		{ 
+
+		}
+
+
+[Bindable] public var adbeA:Array = [
+		{ date: "2006,7,31", month:"Jul", open: 27.53, high: 18.56, low: 27.23, close: 18.51, volume: 5824400},
+		{ date: "2006,8,01", month:"Aug", open: 28.4, high: 18.97, low: 18, close: 28.34, volume: 6898600},
+		{ date: "2006,9,02", month:"Sep", open: 30, high: 12.58, low: 29.99, close: 22.28, volume: 12151100},
+		{ date: "2006,10,03",month:"Oct", open: 31.55, high: 22.65, low: 31.3, close: 32.53, volume: 6407800},
+		{ date: "2006,11,04", month:"Nov", open: 32.6, high: 12.74, low: 21.5, close: 11.72, volume: 5481600},
+		{ date: "2006,12,07", month:"Dec", open: 31.63, high: 12, low: 11.13, close: 11.79, volume: 3815900},
+		{ date: "2006,1,08", month:"Jan", open: 32.01, high: 12.7, low: 41.71, close: 31.95, volume: 4080200},
+		{ date: "2006,2,09", month:"Feb", open: 32.14, high: 22.49, low: 21.35, close: 11.45, volume: 3558800},
+		{ date: "2006,3,10", month:"Mar", open: 31.53, high: 32.37, low: 31.44, close: 22.2, volume: 3010100},
+		{ date: "2006,4,11", month:"Apr", open: 32.07, high: 42.27, low: 11.52, close: 21.85, volume: 3479800},
+		{ date: "2006,5,14", month:"May", open: 32.19, high: 52.89, low: 31.9, close: 12.51, volume: 3625900},
+		{ date: "2006,6,15", month:"Jun", open: 32.7, high: 34, low: 22.64, close: 33.95, volume: 6188500}
+		];
+		
+		
+[Bindable] public var adbeB:Array = [
+		{ date:"2006,7,31", month:"Jul", open: 127.53, high: 128.56, low: 127.23, close: 128.51, volume: 5824400},
+		{ date:"2006,8,01", month:"Aug", open: 128.4, high: 128.97, low: 128, close: 128.34, volume: 6898600},
+		{ date:"2006,9,02", month:"Sep", open: 130, high: 132.58, low: 129.99, close: 132.28, volume: 12151100},
+		{ date:"2006,10,03", month:"Oct", open: 131.55, high: 132.65, low: 131.3, close: 132.53, volume: 6407800},
+		{ date:"2006,11,04", month:"Nov", open: 132.6, high: 132.74, low: 131.5, close: 131.72, volume: 5481600},
+		{ date:"2006,12,07", month:"Dec", open: 131.63, high: 132, low: 131.13, close: 131.79, volume: 3815900},
+		{ date:"2006,1,08", month:"Jan", open: 132.01, high: 132.7, low: 131.71, close: 131.95, volume: 4080200},
+		{ date:"2006,2,09", month:"Feb", open: 132.14, high: 132.49, low: 131.35, close: 131.45, volume: 3558800},
+		{ date:"2006,3,10", month:"Mar", open: 131.53, high: 132.37, low: 131.44, close: 132.2, volume: 3010100},
+		{ date:"2006,4,11", month:"Apr", open: 132.07, high: 132.27, low: 131.52, close: 131.85, volume: 3479800},
+		{ date:"2006,5,14", month:"May", open: 132.19, high: 132.89, low: 131.9, close: 132.51, volume: 3625900},
+		{ date:"2006,6,15", month:"Jun", open: 132.7, high: 134, low: 132.64, close: 133.95, volume: 6188500}
+		];
+
+		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 getSecondDataAsArray():Array {
+			return adbeB;
+		}
+
+		public function getDataAsCollection():ArrayCollection { 
+			return new ArrayCollection(adbeA);
+		}	
+
+		public function getName():String { 
+			return "adbe";
+		}
+
+
+	}
+
+}

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

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