community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1686702 - /comdev/projects.apache.org/site/js/projects.js
Date Sun, 21 Jun 2015 11:01:27 GMT
Author: hboutemy
Date: Sun Jun 21 11:01:27 2015
New Revision: 1686702

URL: http://svn.apache.org/r1686702
Log:
chart replaces loader

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1686702&r1=1686701&r2=1686702&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sun Jun 21 11:01:27 2015
@@ -1257,10 +1257,6 @@ function drawAccountCreation(json) {
     var i;
     var j;
     var narr = [];
-    var obj = document.createElement('div');
-    obj.style = "float: left; width: 1160px; height: 450px;";
-    obj.setAttribute("id", 'accountchart');
-    document.getElementById('contents').appendChild(obj);
     var cdata = new google.visualization.DataTable();
     cdata.addColumn('string', 'Date');
     cdata.addColumn('number', 'New committers');
@@ -1303,6 +1299,13 @@ function drawAccountCreation(json) {
       tooltip: {isHtml: true}
     };
 
+    var obj = document.createElement('div');
+    obj.style = "float: left; width: 1160px; height: 450px;";
+    obj.setAttribute("id", 'accountchart');
+    var contents = document.getElementById('contents');
+    contents.innerHTML = "<h1>Timelines</h1>";
+    contents.appendChild(obj);
+
     var chart = new google.visualization.ComboChart(obj);
     chart.draw(cdata, options);
 }



Mime
View raw message