-
Notifications
You must be signed in to change notification settings - Fork 0
/
example2.html
33 lines (29 loc) · 1016 Bytes
/
example2.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>Colorful chart and scheme</title>
<script type="module" crossorigin src="./assets/example2.js"></script>
<link rel="modulepreload" crossorigin href="./assets/index.js">
<link rel="modulepreload" crossorigin href="./assets/index2.js">
<link rel="stylesheet" href="./assets/index.css">
</head>
<body>
<div class="content">
<a href="../..">Home</a>
|
<a href="https://github.com/uk-taniyama/chartjs-colorful/blob/main/example/src/example2.ts">Source</a>
<h1>Colorful chart and scheme</h1>
<div id="buttons">
<span>Scheme:</span><span id="schemeName">default</span>
<div id="schemes"></div>
<span>Chart</span>
<div id="types"></div>
</div>
<div id="canvas-holder" style="width:100%">
<canvas id="chart" style="max-height: 800px; min-height: 800px;"></canvas>
</div>
</div>
</body>
</html>