-
Notifications
You must be signed in to change notification settings - Fork 48
/
index.html
36 lines (32 loc) · 1.01 KB
/
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
<!DOCTYPE html>
<html>
<head>
<link href="css/demo.css" rel="stylesheet" type="text/css">
<script src="vendor/Chart.js"></script>
<script src="src/legend.js"></script>
<script src="src/demo.js"></script>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Legend Demo</title>
</head>
<body>
<h1>Chart.js legend demo</h1>
<a href="https://github.com/bebraw/Chart.js.legend"><img id="fork" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<div>
<canvas id="lineChart" width="400" height="400"></canvas>
<div id="lineLegend"></div>
</div>
<div>
<canvas id="pieChart" width="400" height="400"></canvas>
<div id="pieLegend"></div>
</div>
<div>
<canvas id="doughnutChart" width="400" height="400"></canvas>
<div id="doughnutLegend"></div>
</div>
<div>
<canvas id="doughnutChartWithCustomLegend" width="400" height="400"></canvas>
<div id="doughnutChartCustomLegend"></div>
</div>
</body>
</html>