summaryrefslogtreecommitdiffstats
path: root/autobuild/index.html
blob: e60034e9d3b911c0cb4a0b4cbc10e2d993288c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html>
  <head>
    <script type='text/javascript' src='https://www.google.com/jsapi'></script>
    <script type='text/javascript' src='data.js'></script>
    <script type='text/javascript'>
      google.load('visualization', '1', {packages:['table', 'corechart']});
      google.setOnLoadCallback(drawTable);
      function drawTable() {
        var d = new google.visualization.DataTable(window.data);
        var table = new google.visualization.Table(document.getElementById('table_div'));
	table.draw(d, {showRowNumber: false, allowHtml: true, page: 'enable'});

	var successView = new google.visualization.DataView(d);
	successView.setColumns([0,10]);
	var sg = new google.visualization.AreaChart(document.getElementById('success_graph_div'));
	sg.draw(successView, {
            title : 'Success Rate',
            isStacked: true,
            width: 900,
            height: 200,
            legend: {position: 'none'},
            chartArea: {width: '87.5%'},
	    pointSize: 4,
	    tooltip: {isHtml: true},
	});

	var resultsView = new google.visualization.DataView(d);
	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',
            width: 900,
            height: 200,
            legend: {position: 'bottom'},
            chartArea: {width: '87.5%'},
	    pointSize: 4,
            isStacked: true,
	    tooltip: {isHtml: true},
	});

	var evolutionView = new google.visualization.DataView(d);
	evolutionView.setColumns([0,13,11]);
	var eg = new google.visualization.AreaChart(document.getElementById('evolution_graph_div'));
	eg.draw(evolutionView, {
            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"},
			    {v:new Date(2014,2-1,1), f:"MGA4 Final Release"},
			    ]},
	});
      }
    </script>
  </head>

  <body>
    <h1>Automatic rebuild of Cauldron on x86_64</h1>
    <div id='table_div'></div>
    <div id='success_graph_div'></div>
    <div id='results_graph_div'></div>
    <div id='evolution_graph_div'></div>
  </body>
</html>