This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (70 loc) · 2.86 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ChartMaker</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://cdn.sharme.eu/fontawesome/css/all.css">
<link rel="stylesheet" href="code/theme.css">
<script src="chartjs.min.js"></script>
<script src="code/rainbow-custom.js"></script>
<!-- <script src="code/languages/all.js"></script> -->
</head>
<body>
<div id="chartcontainer">
<canvas id="chart"></canvas>
</div>
<div id="jscode">
<pre><code class="language-json"></code></pre>
</div>
<div id="form">
<select-menu id="chart-type">
<div class="select-btn input">
<span class="placeholder">Chart type</span><i class="far fa-chevron-down"></i>
</div>
<ul class="options">
<li class="option" data-value="line" data-selected>
<i class="fas fa-chart-line"></i> Line chart
</li>
<li class="option" data-value="bar" data-disabled>
<i class="fas fa-chart-column"></i> Bar chart
</li>
<li class="option" data-value="pie" data-disabled>
<i class="fas fa-chart-pie"></i> Pie chart
</li>
</ul>
</select-menu>
<table id="data">
<thead>
<tr>
<th style="border: none;"></th>
<th style="border-bottom-width: 2px;">
<div style="display: flex;align-items: center;">
<span id="adddsname" role="textbox" contenteditable spellcheck="false" aria-placeholder="Dataset name" style="margin: 3px;margin-right: 0;"></span><button id="addds" class="input input-sm" style="margin: 3px;"><i class="fas fa-plus"></i></button>
</div>
</th>
</tr>
</thead>
<tbody>
<tr></tr>
</tbody>
<tfoot>
<tr>
<th>
<div style="display: flex;align-items: center;">
<span id="addlabelname" role="textbox" contenteditable spellcheck="false" aria-placeholder="Label name" style="margin: 3px;margin-right: 0;"></span><button id="addlabel" class="input input-sm" style="margin: 3px;"><i class="fas fa-plus"></i></button>
</div>
</th>
<th></th>
</tr>
</tfoot>
</table>
</div>
<script src="def.js"></script>
<script src="selectMenus.js"></script>
<script src="index.js"></script>
<script src="chart.js"></script>
</body>
</html>