Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 2.58 kb
<html>
<head>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn("string", "Iteration");
data.addColumn("number", "Opened");
data.addColumn("number", "Closed");data.addRows(21);data.setValue(0, 0, 'Iteration 1');data.setValue(0, 1, 0);data.setValue(0, 2, 0);data.setValue(1, 0, 'Iteration 2');data.setValue(1, 1, 0);data.setValue(1, 2, 0);data.setValue(2, 0, 'Iteration 3');data.setValue(2, 1, 1);data.setValue(2, 2, 1);data.setValue(3, 0, 'Iteration 4');data.setValue(3, 1, 1);data.setValue(3, 2, 0);data.setValue(4, 0, 'Iteration 5');data.setValue(4, 1, 0);data.setValue(4, 2, 0);data.setValue(5, 0, 'Iteration 6');data.setValue(5, 1, 1);data.setValue(5, 2, 1);data.setValue(6, 0, 'Iteration 7');data.setValue(6, 1, 0);data.setValue(6, 2, 0);data.setValue(7, 0, 'Iteration 8');data.setValue(7, 1, 3);data.setValue(7, 2, 0);data.setValue(8, 0, 'Iteration 9');data.setValue(8, 1, 0);data.setValue(8, 2, 2);data.setValue(9, 0, 'Iteration 10');data.setValue(9, 1, 1);data.setValue(9, 2, 1);data.setValue(10, 0, 'Iteration 11');data.setValue(10, 1, 2);data.setValue(10, 2, 0);data.setValue(11, 0, 'Iteration 12');data.setValue(11, 1, 3);data.setValue(11, 2, 4);data.setValue(12, 0, 'Iteration 13');data.setValue(12, 1, 1);data.setValue(12, 2, 3);data.setValue(13, 0, 'Iteration 14');data.setValue(13, 1, 5);data.setValue(13, 2, 2);data.setValue(14, 0, 'Iteration 15');data.setValue(14, 1, 0);data.setValue(14, 2, 4);data.setValue(15, 0, 'Iteration 16');data.setValue(15, 1, 0);data.setValue(15, 2, 0);data.setValue(16, 0, 'Iteration 17');data.setValue(16, 1, 2);data.setValue(16, 2, 0);data.setValue(17, 0, 'Iteration 18');data.setValue(17, 1, 15);data.setValue(17, 2, 3);data.setValue(18, 0, 'Iteration 19');data.setValue(18, 1, 11);data.setValue(18, 2, 19);data.setValue(19, 0, 'Iteration 20');data.setValue(19, 1, 6);data.setValue(19, 2, 5);data.setValue(20, 0, 'Iteration 21');data.setValue(20, 1, 0);data.setValue(20, 2, 0);
var chart = new google.visualization.LineChart(document.getElementById('chart_div'));
chart.draw(data, {width: 640, height: 480, title: 'Overral opened x closed bugs'});
}
</script>
</head>
<body>
<div id='chart_div'></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.