-
Notifications
You must be signed in to change notification settings - Fork 2
/
testingtwo.html
41 lines (28 loc) · 1.33 KB
/
testingtwo.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
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="jquery.csv.min.js"> </script>
<script type="text/javascript" src="plotly-latest.min.js"> </script>
<script type="text/javascript" src="CombinedGraphs.js"> </script>
<script type="text/javascript">
$(document).ready(function(){
generateGraphFromCsv("/Graphs/data/Infometrics.csv", InfometricsGraph);
});
</script>
</head>
<body>
<div id="InfometricsGraph" class="clsB" style="width:1000px;height:500px;"></div>
<div class="clsB" style="display:none;">
Choose a data type:
<select class="InfometricsGraph_Datatype" id="InfometricsGraph_Datatype" onchange="generateGraphFromCsv('/Graphs/data/Infometrics.csv', InfometricsGraph)">
<option value="1" selected="selected">Housing Affordability Index</option>
<option value="2">House Price Growth</option>
<option value="3">Rental Affordability Index</option>
<option value="4">Growth of Average Rental Costs</option>
</select>
</div>
<div class="clsB" style="display:none;">
Datasource: <a href="http://ecoprofile.infometrics.co.nz/Wellington%20City/QuarterlyEconomicMonitor" target="_blank">Infometrics</a>
<a href="/Graphs/data/Infometrics.csv" target="_blank">(.csv)</a>
</div>
<div id="Extra references" class="clsB" style="display:none;"></div>
</body>