-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEventByMonth.html
More file actions
215 lines (199 loc) · 4.16 KB
/
EventByMonth.html
File metadata and controls
215 lines (199 loc) · 4.16 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ColumnChartID17d035223ac1</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css">
body {
color: #444444;
font-family: Arial,Helvetica,sans-serif;
font-size: 75%;
}
a {
color: #4D87C7;
text-decoration: none;
}
</style>
</head>
<body>
<!-- ColumnChart generated in R 3.2.3 by googleVis 0.5.10 package -->
<!-- Mon Apr 18 23:02:46 2016 -->
<!-- jsHeader -->
<script type="text/javascript">
// jsData
function gvisDataColumnChartID17d035223ac1 () {
var data = new google.visualization.DataTable();
var datajson =
[
[
"2010",
1094,
976,
1194,
1408,
1511,
911,
688,
965,
1249,
1798,
1278,
1051
],
[
"2011",
972,
920,
1052,
1069,
1219,
961,
664,
721,
1176,
1385,
1077,
1121
],
[
"2012",
1118,
1166,
932,
1368,
1321,
1021,
760,
827,
1470,
1236,
852,
1170
],
[
"2013",
1170,
1183,
1457,
1519,
1824,
1460,
846,
1212,
1603,
1809,
1579,
1362
],
[
"2014",
1354,
1176,
1645,
1608,
2251,
2048,
1328,
1602,
1517,
1756,
1486,
1467
],
[
"2015",
1283,
1125,
1354,
1580,
1908,
1498,
1152,
1208,
1509,
1964,
1652,
1503
]
];
data.addColumn('string','Year');
data.addColumn('number','Jan');
data.addColumn('number','Feb');
data.addColumn('number','Mar');
data.addColumn('number','Apr');
data.addColumn('number','May');
data.addColumn('number','Jun');
data.addColumn('number','Jul');
data.addColumn('number','Aug');
data.addColumn('number','Sep');
data.addColumn('number','Oct');
data.addColumn('number','Nov');
data.addColumn('number','Dec');
data.addRows(datajson);
return(data);
}
// jsDrawChart
function drawChartColumnChartID17d035223ac1() {
var data = gvisDataColumnChartID17d035223ac1();
var options = {};
options["allowHtml"] = true;
options["height"] = 500;
options["width"] = 950;
options["title"] = "Club/Bar/Restaurant Monthly Noise Complaints 2010-2015";
var chart = new google.visualization.ColumnChart(
document.getElementById('ColumnChartID17d035223ac1')
);
chart.draw(data,options);
}
// jsDisplayChart
(function() {
var pkgs = window.__gvisPackages = window.__gvisPackages || [];
var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || [];
var chartid = "corechart";
// Manually see if chartid is in pkgs (not all browsers support Array.indexOf)
var i, newPackage = true;
for (i = 0; newPackage && i < pkgs.length; i++) {
if (pkgs[i] === chartid)
newPackage = false;
}
if (newPackage)
pkgs.push(chartid);
// Add the drawChart function to the global list of callbacks
callbacks.push(drawChartColumnChartID17d035223ac1);
})();
function displayChartColumnChartID17d035223ac1() {
var pkgs = window.__gvisPackages = window.__gvisPackages || [];
var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || [];
window.clearTimeout(window.__gvisLoad);
// The timeout is set to 100 because otherwise the container div we are
// targeting might not be part of the document yet
window.__gvisLoad = setTimeout(function() {
var pkgCount = pkgs.length;
google.load("visualization", "1", { packages:pkgs, callback: function() {
if (pkgCount != pkgs.length) {
// Race condition where another setTimeout call snuck in after us; if
// that call added a package, we must not shift its callback
return;
}
while (callbacks.length > 0)
callbacks.shift()();
} });
}, 100);
}
// jsFooter
</script>
<!-- jsChart -->
<script type="text/javascript" src="https://www.google.com/jsapi?callback=displayChartColumnChartID17d035223ac1"></script>
<!-- divChart -->
<div id="ColumnChartID17d035223ac1"
style="width: 950; height: 500;">
</div>
<div><span>Data: data • Chart ID: <a href="Chart_ColumnChartID17d035223ac1.html">ColumnChartID17d035223ac1</a> • <a href="https://github.com/mages/googleVis">googleVis-0.5.10</a></span><br />
<!-- htmlFooter -->
<span>
R version 3.2.3 (2015-12-10)
• <a href="https://developers.google.com/terms/">Google Terms of Use</a> • <a href="https://google-developers.appspot.com/chart/interactive/docs/gallery/columnchart">Documentation and Data Policy</a>
</span></div>
</body>
</html>