forked from quattor/release-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
burndown.html
124 lines (121 loc) · 3.79 KB
/
burndown.html
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Quattor Backlog</title>
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.css">
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Lato:400);
body {
padding-bottom: 40px;
font-family: 'Lato', 'Helvetica', sans-serif;
background-color: #eef1f1;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: 'Lato', 'Helvetica', sans-serif;
}
blockquote {
font-size: small;
}
.navbar-inverse {
background-color: #004080;
}
.navbar-inverse .navbar-brand {
color: white;
}
.text-github-open {
color: #6cc644;
}
.text-github-closed {
color: #6E5494;
}
.thing-closed {
display: none;
}
</style>
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-static-top" role="navigation">
<div class="container">
<a class="navbar-brand"><img src="img/quattor_logo_navbar.png" width="94" height="23" alt="quattor logo"> — Releasing</a>
<ul class="nav navbar-nav">
<li><a href="/">Backlog</a></li>
<li class="active"><a href="/burndown.html">Burndown</a></li>
</ul>
</div>
</div>
<div class="container">
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<script src="/regression.js"></script>
<div id="container" style="min-width: 800px; height: 600px; margin: 0 auto"></div>
<script type="text/javascript">
$(function () {
$.getJSON('burndown-14.10.json', function(mydata) {
$.each(mydata.closed, function(i, v) {
v[0] = Date.parse(v[0]);
});
$('#container').highcharts({
title: {
text: 'Progress toward 14.10 release'
},
xAxis: {
type: 'datetime',
title: {
text: 'Date'
}
},
yAxis: {
title: {
text: 'Open Issues & Pull Requests'
},
min: 0
},
tooltip: {
pointFormat: '<b>{point.y:.0f}</b> open'
},
plotOptions: {
series: {
marker: {
enabled: false
}
},
},
series: [
{
name: 'Ideal',
data: [
[Date.parse('2014-09-01'), mydata.to_burn],
[Date.parse('2014-11-01'), 0]
],
color: '#73d216',
dashStyle: 'shortdash',
enableMouseTracking: false,
},
{
name: 'Trend',
type: 'line',
data: (function() {
return fitData(mydata.closed).data;
})(),
color: '#729fcf',
dashStyle: 'shortdot',
enableMouseTracking: false,
},
{
name: 'Actual',
data: mydata.closed,
step: 'left',
color: '#3465a4',
},
]
});
});
});
</script>
</div>
</body>
</html>