-
Notifications
You must be signed in to change notification settings - Fork 35
/
index.html
44 lines (39 loc) · 1019 Bytes
/
index.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
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head lang="en">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<meta charset="UTF-8">
<title>Wechart Pie Chart</title>
<style>
canvas{
border: 1px solid #ccc;
margin-top: 120px;
margin-left: 0;
margin-right: 0;
padding: 0;
}
@media screen and (max-width: 500px) {
canvas {
width : 320px
}
}
html,body{
margin: 0;
padding: 0;
background:#444444;
text-align: center;
}
</style>
</head>
<body>
<div>
<div id="canvasCtn">
</div>
<div><button id="subScaleBtn">Scale--</button> <button id="addScaleBtn">Scale++</button></div>
</div>
<a href="https://github.com/dntzhang/wechart" target="_blank" style="position: fixed; right: 0; top: 0; z-index: 3;">
<img src="//alloyteam.github.io/github.png" alt="">
</a>
<script src="bundler.js"></script>
</body>
</html>