forked from jettro/c3-angular-directive
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex4.html
23 lines (21 loc) · 777 Bytes
/
index4.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<!--
Doing C3js with a time based graphic, also check the new style of adding data points.
-->
<html ng-app="graphApp">
<head>
<meta charset="utf-8">
<link href="css/c3-0.2.4.css" rel="stylesheet" type="text/css">
</head>
<body ng-controller="GraphCtrl" ng-init="showGraph()">
<p>After pushing the button a few new data points will be loaded.</p>
<button ng-click="startLoading()">Start loading</button>
<button ng-click="stopLoading()">Stop loading</button>
<div id="chart"></div>
<!-- Load the javascript libraries -->
<script src="js/d3/d3-3.4.11.min.js" charset="utf-8"></script>
<script src="js/c3/c3-0.2.4.min.js"></script>
<script src="js/angular/angular-1.2.21.min.js"></script>
<script src="js/graph-app-4.js"></script>
</body>
</html>