From fe88315c16cc1f37c7b2f4370cd615fa3e6457c6 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 26 Nov 2013 13:20:44 +0000 Subject: Small grpah improvements --- autobuild/index.html | 17 +++++++++++++---- 1 file 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"}, + ]}, }); } -- cgit v1.2.1