-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (59 loc) · 1.51 KB
/
index.html
File metadata and controls
61 lines (59 loc) · 1.51 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Circular Progress</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<style>
.dp-gauge {
height: 400px;
}
</style>
</head>
<body>
<div class='col-md-6'>
<div id='circularProgress'></div>
</div>
<div class="col-md-6">
<div id='circularProgress2'></div>
</div>
<div class="row">
<div class="col-md-12">
<canvas id="testsCanvas"></canvas>
</div>
</div>
<script src='circularProgress.js'></script>
<script>
var circularProgress = new CircularProgress('#circularProgress', {
chartArea: {
height: 300,
width: 400
},
gauge: {
line: {
size: 15
}
},
range: {
to: 62.5455
}
}).init();
var circularProgress2 = new CircularProgress('#circularProgress2', {
chartArea: {
height: 300,
width: 400
},
gauge: {
line: {
color: 'purple',
size: 15
}
},
range: {
to: -62.54
}
}).init();
</script>
</body>
</html>