You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2014/09/12 21:37:31 UTC

git commit: [flex-asjs] [refs/heads/develop] - Removed the border and scrollbars from JS charts.

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 <pe...@apache.org>
Authored: Fri Sep 12 15:36:57 2014 -0400
Committer: Peter Ent <pe...@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';
+};
 
 
 /**