1 |
<html> |
2 |
<head> |
3 |
<script type='text/javascript' src='https://www.google.com/jsapi'></script> |
4 |
<script type='text/javascript' src='data.js'></script> |
5 |
<script type='text/javascript'> |
6 |
google.load('visualization', '1', {packages:['table', 'corechart']}); |
7 |
google.setOnLoadCallback(drawTable); |
8 |
function drawTable() { |
9 |
var d = new google.visualization.DataTable(window.data); |
10 |
var table = new google.visualization.Table(document.getElementById('table_div')); |
11 |
table.draw(d, {showRowNumber: false, allowHtml: true}); |
12 |
|
13 |
var successView = new google.visualization.DataView(d); |
14 |
successView.setColumns([0,9]); |
15 |
var sg = new google.visualization.AreaChart(document.getElementById('success_graph_div')); |
16 |
sg.draw(successView, { |
17 |
title : 'Success Rate', |
18 |
isStacked: true, |
19 |
width: 900, |
20 |
height: 200, |
21 |
legend: {position: 'none'}, |
22 |
chartArea: {width: '87.5%'}, |
23 |
pointSize: 4, |
24 |
}); |
25 |
|
26 |
var resultsView = new google.visualization.DataView(d); |
27 |
resultsView.hideColumns([8,9]); |
28 |
var rg = new google.visualization.AreaChart(document.getElementById('results_graph_div')); |
29 |
rg.draw(resultsView, { |
30 |
title : 'Build results', |
31 |
width: 900, |
32 |
height: 200, |
33 |
legend: {position: 'bottom'}, |
34 |
chartArea: {width: '87.5%'}, |
35 |
pointSize: 4, |
36 |
}); |
37 |
} |
38 |
</script> |
39 |
</head> |
40 |
|
41 |
<body> |
42 |
<h1>Automatic rebuild of Cauldron on x86_64</h1> |
43 |
<div id='table_div'></div> |
44 |
<div id='success_graph_div'></div> |
45 |
<div id='results_graph_div'></div> |
46 |
</body> |
47 |
</html> |