diff options
author | Pascal Terjan <pterjan@gmail.com> | 2013-11-26 13:20:44 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2013-11-26 13:20:44 +0000 |
commit | fe88315c16cc1f37c7b2f4370cd615fa3e6457c6 (patch) | |
tree | d3a59c366664b95729b9e84678ec22acfcaf2c3a | |
parent | f275f4c95be08733a44c1b1786df734d7f64706a (diff) | |
download | pkgsubmit-fe88315c16cc1f37c7b2f4370cd615fa3e6457c6.tar pkgsubmit-fe88315c16cc1f37c7b2f4370cd615fa3e6457c6.tar.gz pkgsubmit-fe88315c16cc1f37c7b2f4370cd615fa3e6457c6.tar.bz2 pkgsubmit-fe88315c16cc1f37c7b2f4370cd615fa3e6457c6.tar.xz pkgsubmit-fe88315c16cc1f37c7b2f4370cd615fa3e6457c6.zip |
Small grpah improvements
-rw-r--r-- | autobuild/index.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/autobuild/index.html b/autobuild/index.html index 6c75c7b..912028c 100644 --- a/autobuild/index.html +++ b/autobuild/index.html @@ -21,10 +21,11 @@ legend: {position: 'none'}, chartArea: {width: '87.5%'}, pointSize: 4, + tooltip: {isHtml: true}, }); - + var resultsView = new google.visualization.DataView(d); - resultsView.setColumns([0,1,2,3,4,5,6,7]); + resultsView.setColumns([0,2,1,3,4,5,6,7]); var rg = new google.visualization.AreaChart(document.getElementById('results_graph_div')); rg.draw(resultsView, { title : 'Build results', @@ -33,18 +34,26 @@ legend: {position: 'bottom'}, chartArea: {width: '87.5%'}, pointSize: 4, + tooltip: {isHtml: true}, }); var evolutionView = new google.visualization.DataView(d); - evolutionView.setColumns([0,10,11,12]); + evolutionView.setColumns([0,12,10]); var eg = new google.visualization.AreaChart(document.getElementById('evolution_graph_div')); eg.draw(evolutionView, { - title : 'Evolution', + title : 'Failure count', width: 900, height: 200, legend: {position: 'bottom'}, chartArea: {width: '87.5%'}, pointSize: 4, + isStacked:true, + tooltip: {isHtml: true}, + hAxis: {ticks: [{v:new Date(2013,1-1,9), f:"MGA3 Version Freeze"}, +// {v:new Date(2013,4-1,7), f:"MGA3 Release Freeze"}, + {v:new Date(2013,5-1,19), f:"MGA3 Final Release"}, + {v:new Date(2013,10-1,15), f:"MGA4 Version Freeze"}, + ]}, }); } </script> |