flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkess...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - Moved the initStyles from the moduleFactory setter to the class constructor. This resolved a bug with the styles only being attempted once.
Date Mon, 21 Dec 2015 02:36:54 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/develop dc86ad392 -> 7738c750e


Moved the initStyles from the moduleFactory setter to the class constructor. This resolved
a bug with the styles only being attempted once.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/7738c750
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/7738c750
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/7738c750

Branch: refs/heads/develop
Commit: 7738c750e36be693076c191fc61cc8fa5c7ab132
Parents: dc86ad3
Author: Mark Kessler <KesslerConsulting@gmail.com>
Authored: Sun Dec 20 21:35:34 2015 -0500
Committer: Mark Kessler <KesslerConsulting@gmail.com>
Committed: Sun Dec 20 21:35:34 2015 -0500

----------------------------------------------------------------------
 .../projects/charts/src/mx/charts/series/AreaSeries.as       | 6 +++---
 frameworks/projects/charts/src/mx/charts/series/BarSeries.as | 6 +++---
 .../projects/charts/src/mx/charts/series/BubbleSeries.as     | 6 +++---
 .../charts/src/mx/charts/series/CandlestickSeries.as         | 6 +++---
 .../projects/charts/src/mx/charts/series/ColumnSeries.as     | 6 +++---
 .../projects/charts/src/mx/charts/series/HLOCSeries.as       | 6 +++---
 .../projects/charts/src/mx/charts/series/LineSeries.as       | 6 +++---
 frameworks/projects/charts/src/mx/charts/series/PieSeries.as | 8 ++++----
 .../projects/charts/src/mx/charts/series/PlotSeries.as       | 6 +++---
 9 files changed, 28 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as b/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
index f36d4ed..5d89c71 100644
--- a/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
@@ -283,6 +283,9 @@ public class AreaSeries extends Series implements IStackable2
         _instanceCache.creationCallback = applyItemRendererProperties;
         
         dataTransform = new CartesianTransform();
+
+		// our style settings
+		initStyles();
     }
 
     //--------------------------------------------------------------------------
@@ -912,9 +915,6 @@ public class AreaSeries extends Series implements IStackable2
 			return;
 		
 		_moduleFactoryInitialized[factory] = true;
-		
-		// our style settings
-		initStyles();
 	}
 	
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/BarSeries.as b/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
index f717f51..9ca363a 100644
--- a/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
@@ -273,6 +273,9 @@ public class BarSeries extends Series implements IStackable2, IBar
         };
         
         dataTransform = new CartesianTransform();
+
+        // our style settings
+        initStyles();
     }
     
     private function getLabelClass():Class
@@ -1099,9 +1102,6 @@ public class BarSeries extends Series implements IStackable2, IBar
             return;
         
         _moduleFactoryInitialized[factory] = true;
-        
-        // our style settings
-        initStyles();
     }
     
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as b/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
index c061671..428e83a 100644
--- a/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
@@ -200,6 +200,9 @@ public class BubbleSeries extends Series
         _instanceCache.creationCallback = applyItemRendererProperties;
         
         dataTransform = new CartesianTransform();
+
+		// our style settings
+		initStyles();
     }
 
     //--------------------------------------------------------------------------
@@ -740,9 +743,6 @@ public class BubbleSeries extends Series
 			return;
 		
 		_moduleFactoryInitialized[factory] = true;
-		
-		// our style settings
-		initStyles();
 	}
 	
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as b/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
index 1b29f6b..9c0856e 100644
--- a/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
@@ -166,6 +166,9 @@ public class CandlestickSeries extends HLOCSeriesBase
     public function CandlestickSeries()
     {
         super();
+
+        // our style settings
+        initStyles();
     }
     //--------------------------------------------------------------------------
     //
@@ -329,9 +332,6 @@ public class CandlestickSeries extends HLOCSeriesBase
             return;
         
         _moduleFactoryInitialized[factory] = true;
-        
-        // our style settings
-        initStyles();
     }
     
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as b/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
index 8e3f462..08ac997 100644
--- a/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
@@ -272,6 +272,9 @@ public class ColumnSeries extends Series implements IColumn,IStackable2
         };
             
         dataTransform = new CartesianTransform();
+
+        // our style settings
+        initStyles();
     }
     
     private function getLabelClass():Class
@@ -1087,9 +1090,6 @@ public class ColumnSeries extends Series implements IColumn,IStackable2
             return;
         
         _moduleFactoryInitialized[factory] = true;
-        
-        // our style settings
-        initStyles();
     }
     
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as b/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
index cfd9eec..59af25f 100644
--- a/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
@@ -166,6 +166,9 @@ public class HLOCSeries extends HLOCSeriesBase
 	public function HLOCSeries()
 	{
 		super();
+
+		//Our style settings
+		initStyles();
 	}
 
 	//--------------------------------------------------------------------------
@@ -229,9 +232,6 @@ public class HLOCSeries extends HLOCSeriesBase
 			return;
 		
 		_moduleFactoryInitialized[factory] = true;
-		
-		// our style settings
-		initStyles();
 	}
 	
 	/**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/LineSeries.as b/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
index 6cc7462..4494fa6 100644
--- a/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
@@ -289,6 +289,9 @@ public class LineSeries extends Series
         _segmentInstanceCache.properties = { styleName: this };
         
         dataTransform = new CartesianTransform();
+
+        // our style settings
+        initStyles();
     }
 
     //--------------------------------------------------------------------------
@@ -924,9 +927,6 @@ public class LineSeries extends Series
             return;
         
         _moduleFactoryInitialized[factory] = true;
-        
-        // our style settings
-        initStyles();
     }
     
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/PieSeries.as b/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
index 02c87c0..4931674 100644
--- a/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
@@ -359,7 +359,10 @@ public class PieSeries extends Series
 		filters = [ new DropShadowFilter(DROP_SHADOW_SIZE, 45, 0, 60,
                                          DROP_SHADOW_SIZE, DROP_SHADOW_SIZE) ];
         
-        dataTransform = new PolarTransform();                                 
+        dataTransform = new PolarTransform();  
+
+		// our style settings
+		initStyles();
     }
 
     //--------------------------------------------------------------------------
@@ -1219,9 +1222,6 @@ public class PieSeries extends Series
 			return;
 		
 		_moduleFactoryInitialized[factory] = true;
-		
-		// our style settings
-		initStyles();
 	}
 	
     /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7738c750/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as b/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
index da73d3a..4bd74dd 100644
--- a/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
@@ -204,6 +204,9 @@ public class PlotSeries extends Series
         _instanceCache.creationCallback = applyItemRendererProperties;
         
         dataTransform = new CartesianTransform();
+
+        // our style settings
+        initStyles();
     }
     
 
@@ -671,9 +674,6 @@ public class PlotSeries extends Series
             return;
         
         _moduleFactoryInitialized[factory] = true;
-        
-        // our style settings
-        initStyles();
     }
     
     /**


Mime
View raw message