-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.html
35 lines (35 loc) · 858 Bytes
/
sample.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
<html>
<head>
<script src="ezbc.js" type="text/javascript"></script>
</head>
<body>
<div id='container' style="height: 100px;width: 100px; border: solid 1px;"></div>
</body>
<script type="text/javascript">
var data = [
{
value: 100,
color: 'blue',
label: 'what what',
border: true,
borderColor: 'black'
},
{
value: 250,
color: 'rgb(255, 153, 0)',
label: 'middle box',
border: true,
borderColor: 'black'
},
{
value: 70,
color: '#00FF00',
label: 'badgerbadgerbadger',
border: true,
borderColor: 'black'
}
];
var container = document.getElementById('container');
EZBC.draw(container, data);
</script>
</html>