You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/04/26 10:04:49 UTC

[GitHub] alinakazi closed pull request #200: CartesianTransform.as Added

alinakazi closed pull request #200: CartesianTransform.as Added
URL: https://github.com/apache/royale-asjs/pull/200
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index 6006edb18..5e64b3afd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -105,6 +105,7 @@ internal class MXRoyaleClasses
 	import mx.logging.LogEventLevel; LogEventLevel;
 	import mx.logging.ILogger; ILogger;
 	import mx.core.FlexVersion; FlexVersion;
+	import mx.charts.chartClasses.CartesianTransform; CartesianTransform;
 
     COMPILE::SWF
     {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianTransform.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianTransform.as
new file mode 100644
index 000000000..561945bc1
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianTransform.as
@@ -0,0 +1,91 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.charts.chartClasses
+{
+
+/**
+ *  The CartesianTransform object represents a set of axes 
+ *  that maps data values to x/y Cartesian screen coordinates
+ *  and vice versa.
+ *
+ *  <p>When using charts in your applications, you
+ *  typically will not need to interact with the CartesianTransform object.
+ *  Transforms are created automatically by the built-in chart types
+ *  and used by the series contained within
+ *  so that they can transform data into rendering coordinates.</p> 
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Royale 0.9.3
+ */
+public class CartesianTransform extends DataTransform
+{
+  //  include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  A String representing the horizontal axis.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Royale 0.9.3
+     */
+    public static const HORIZONTAL_AXIS:String = "h";
+
+    /**
+     *  A String representing the vertical axis.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Royale 0.9.3
+     */
+    public static const VERTICAL_AXIS:String = "v";
+    
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor 
+    //
+    //--------------------------------------------------------------------------
+    
+    /**
+     *  Constructor.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Royale 0.9.3
+     */
+    public function CartesianTransform()
+    {
+        super();
+    }
+
+   
+}
+
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services