forked from igemuottawa/igem-wiki-2014
-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.html
104 lines (97 loc) · 3.78 KB
/
results.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>uOttawa iGEM</title>
<link rel="stylesheet" href="css/uo2014.css" />
<script src="./uo2014-jquery.js"></script>
<!-- amCharts javascript sources -->
<script type="text/javascript" src="http://cdn.amcharts.com/lib/3/amcharts.js"></script>
<script type="text/javascript" src="http://cdn.amcharts.com/lib/3/pie.js"></script>
<script type="text/javascript" src="http://cdn.amcharts.com/lib/3/themes/light.js"></script>
<script>
$(function() {
$(".hover").parents(".ig-tile").hover(function() {
$(this).find(".hover").slideDown(300);
}, function() {
$(this).find(".hover").slideUp(300);
});
});
</script>
<!-- amCharts javascript sources -->
<script type="text/javascript" src="http://cdn.amcharts.com/lib/3/amcharts.js"></script>
<script type="text/javascript" src="http://cdn.amcharts.com/lib/3/serial.js"></script>
<script type="text/javascript" src="http://cdn.amcharts.com/lib/3/themes/light.js"></script>
<!-- amCharts javascript code -->
<script type="text/javascript">
AmCharts.makeChart("chartdiv",
{
"type": "serial",
"pathToImages": "http://cdn.amcharts.com/lib/3/images/",
"categoryField": "category",
"plotAreaBorderColor": "#FFFFFF",
"startDuration": 1,
"borderColor": "#FFFFFF",
"theme": "light",
"categoryAxis": {
"gridPosition": "start",
"title": "Would you be interested in taking a synthetic biology course?",
"titleBold": false
},
"trendLines": [],
"graphs": [
{
"balloonText": "[[title]] of [[category]]:[[value]]",
"fillAlphas": 1,
"id": "AmGraph-1",
"title": "graph 1",
"type": "column",
"valueField": "column-1"
}
],
"guides": [],
"valueAxes": [
{
"id": "ValueAxis-3",
"title": "Percentage of student votes"
}
],
"allLabels": [],
"balloon": {
"borderAlpha": 0.44
},
"titles": [
{
"id": "Title-1",
"size": 15,
"text": ""
}
],
"dataProvider": [
{
"category": "Yes",
"column-1": "83.78"
},
{
"category": "No",
"column-1": "2.70"
},
{
"category": "Maybe",
"column-1": "13.51"
}
]
}
);
</script>
</head>
<body>
<header class="ig-main-header">
<div class="row">
<span class="title igem">iGEM</span><span class="title">uOttawa</span>
<img src="r/uo2014-igemlogo.png" alt="" class="igem-logo">
</div>
</header>
<div id="chartdiv" style="width: 100%; height: 400px; background-color: #FFFFFF;" ></div>
</body>
</html>