forked from jettro/c3-angular-directive
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdirective1-1.html
27 lines (24 loc) · 894 Bytes
/
directive1-1.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
<!doctype html>
<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" >
<c3chart bindto-id="chart" chart-data="datapoints" chart-columns="datacolumns" chart-x="datax">
<chart-legend show-legend="true" legend-position="right"/>
<chart-colors color-pattern="#1f77b4,#ffbb78,#2ca02c,#ff7f0e"/>
<chart-axis>
<chart-axis-y axis-id="y"
axis-position="outer-right"
axis-label="Some random numbers"/>
</chart-axis>
</c3chart>
<!-- 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/c3js-directive.js"></script>
<script src="js/graph-app-directive-1.js"></script>
</body>
</html>