flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Removed the border and scrollbars from JS charts.
Date Fri, 12 Sep 2014 19:37:31 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 9b81121c7 -> 6f9a89eae


Removed the border and scrollbars from JS charts.


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

Branch: refs/heads/develop
Commit: 6f9a89eae639ec1510e3e9e145b2e1bc014b7331
Parents: 9b81121
Author: Peter Ent <pent@apache.org>
Authored: Fri Sep 12 15:36:57 2014 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Fri Sep 12 15:36:57 2014 -0400

----------------------------------------------------------------------
 .../FlexJS/src/org/apache/flex/charts/core/ChartBase.js   | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f9a89ea/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
index b3ef481..504f349 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
@@ -49,6 +49,16 @@ goog.inherits(
 org.apache.flex.charts.core.ChartBase.prototype.FLEXJS_CLASS_INFO = {
     names: [{ name: 'ChartBase', qName: 'org.apache.flex.charts.core.ChartBase'}]
   };
+  
+
+/**
+ * @override
+ */
+org.apache.flex.charts.core.ChartBase.prototype.createElement = function() {
+    org.apache.flex.charts.core.ChartBase.base(this, 'createElement');
+    this.element.style.border = 'none';
+    this.element.style.overflow = 'visible';
+};
 
 
 /**


Mime
View raw message