-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (30 loc) · 922 Bytes
/
index.html
File metadata and controls
30 lines (30 loc) · 922 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Chart</title>
<link href="bower_components/c3/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="bower_components/d3/d3.min.js" charset="utf-8"></script>
<script src="bower_components/c3/c3.min.js" charset="utf-8"></script>
<script type="text/javascript">
var chart = c3.generate({
bindto: '#chart',
data: {
url: 'result/client_0.json',
mimeType: 'json',
type: 'spline'
}
});
chart.load({
url: 'result/client_1.json',
mimeType: 'json'
});
chart.load({
url: 'result/client_2.json',
mimeType: 'json'
});
</script>
</body>
</html>