flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fix Chart classes to accommodate for recent drawing API changes
Date Thu, 16 Oct 2014 09:02:04 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop d36feac45 -> ee906882b


Fix Chart classes to accommodate for recent drawing API changes


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

Branch: refs/heads/develop
Commit: ee906882bae075b67faf9914b9e704a991016ae5
Parents: d36feac
Author: OmPrakash Muppirala <bigosmallm@gmail.com>
Authored: Thu Oct 16 02:00:44 2014 -0700
Committer: OmPrakash Muppirala <bigosmallm@gmail.com>
Committed: Thu Oct 16 02:00:44 2014 -0700

----------------------------------------------------------------------
 .../apache/flex/charts/supportClasses/LineSegmentItemRenderer.as | 4 +++-
 .../org/apache/flex/charts/supportClasses/WedgeItemRenderer.as   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ee906882/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/LineSegmentItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/LineSegmentItemRenderer.as
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/LineSegmentItemRenderer.as
index 9d40678..850dc42 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/LineSegmentItemRenderer.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/LineSegmentItemRenderer.as
@@ -181,7 +181,9 @@ package org.apache.flex.charts.supportClasses
 					else pathString += "L "+point.x+" "+point.y+" ";
 				}
 				
-				path.drawPath(0, 0, pathString);
+				path.x = 0;
+				path.y = 0;
+				path.data = pathString;
 				
 				if (needsAddElement) {
 					addElement(path);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ee906882/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/WedgeItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/WedgeItemRenderer.as
b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/WedgeItemRenderer.as
index d3f9f30..ca25fbd 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/WedgeItemRenderer.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/supportClasses/WedgeItemRenderer.as
@@ -237,7 +237,9 @@ package org.apache.flex.charts.supportClasses
 			var path:Path = new Path();
 			path.fill = fill;
 			path.stroke = stroke;
-			path.drawPath(0, 0, pathString);
+			path.x = 0;
+			path.y = 0;
+			path.data = pathString;
 			addElement(path);
 		}
 		


Mime
View raw message