-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
35 lines (31 loc) · 1.12 KB
/
index.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
<!DOCTYPE html>
<html lang="en" ng-app='dataVis'>
<head>
<meta charset="UTF-8">
<title>City OS Hackathon demo</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<script src="https://rawgit.com/gdi2290/angular-websocket/v1.0.9/angular-websocket.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="javascripts/highcharts-ng.js"></script>
<script src="javascripts/main.js"></script>
</head>
<body>
<div id="container">
<div ng-controller='ChartController'>
<select id="chartType" ng-model="chartConfig.options.chart.type">
<option value="column">Column</option>
<option value="line">Line</option>
<option value="spline">Spline</option>
<option value="scatter">Scatter</option>
</select>
<highchart config="chartConfig"></highchart>
</div>
<ol id="listContainer" ng-controller='ListController'>
<li ng-repeat='value in data track by $index'>
{{ value }}
</li>
</ol>
</div>
</body>
</html>