-
Notifications
You must be signed in to change notification settings - Fork 1
/
pan.html
33 lines (29 loc) · 895 Bytes
/
pan.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>盘</title>
</head>
<body>
<div>
<label>
<input type="radio" name="yearGan" value=0 onchange="drawChart()" checked> 甲、己
</label>
<label>
<input type="radio" name="yearGan" value=1 onchange="drawChart()"> 乙、庚
</label>
<label>
<input type="radio" name="yearGan" value=2 onchange="drawChart()"> 丙、辛
</label>
<label>
<input type="radio" name="yearGan" value=3 onchange="drawChart()"> 丁、壬
</label>
<label>
<input type="radio" name="yearGan" value=4 onchange="drawChart()"> 戊、癸
</label>
</div>
<canvas id="PanCanvas" width="800" height="800" style="border:1px solid #000;"></canvas>
<script src="./javascript/pan.js"></script>
</body>
</html>