-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcsv.html
More file actions
139 lines (135 loc) · 5.09 KB
/
csv.html
File metadata and controls
139 lines (135 loc) · 5.09 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE HTML>
<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-5QF2LGP');</script>
<!-- End Google Tag Manager -->
<html>
<head>
<title>Graph Interface</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Graph Interface" />
<meta name="keywords" content="Graph Interface" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="css/main-style.css" />
<script defer src="js/init.js"></script>
<link rel="stylesheet" href="css/dygraph.css" />
<script defer src="js/ext/dygraph.min.js"></script>
<script defer src="js/ext/papaparse.min.js"></script>
<script defer src="js/csv.js"></script>
<script defer src="js/ext/html2canvas.min.js"></script>
</head>
<body class="left-sidebar">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5QF2LGP" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- Header -->
<div id="header">
<div class="topnav" id="myTopnav"></div>
<!-- Logo -->
<div id="logo">
<h1><a href="#">CSV Plotter</a></h1><br>
</div>
</div>
<!-- Main -->
<div id="main" class="container">
<div class="row 50%">
<div>
<!-- Content -->
<div id="content">
<div class="row 50%">
<section class="box">
<form id="myForm">
<input type="file" accept=".csv" id="my_upload" name="my_upload" />
</form>
</section>
</div>
<div class="row 50%"><br>
<section class="box">
<form>
<input type="radio" name="ArrayOrCSV" id="PrUp" checked>
<label for="PrUp" style="display: inline-block;">Process Upload</label>
<input type="radio" name="ArrayOrCSV" id="CSVF">
<label for="CSVF" style="display: inline-block;">CSV Formatted</label>
</form>
</section>
</div>
<div class="row 50%">
<section class="box">
<form>
<label for="xaxis">x Axis Label</label>
<input type="text" id="xaxis" value="Date" />
</form>
</section>
<section class="box">
<form>
<label for="xaxis">y Axis Label</label>
<input type="text" id="yaxis" value="Voltage (V)" />
</form>
</section>
</div>
<div class="row 50%">
<article class="post" id="err">
<div id="graphdiv3"></div>
<br>
<p id="MyForm"><b>Show: </b>
<input type=checkbox id=69 checked>
<label for="69"> All</label>
</p>
<p id="ColorForm"><b style="width:93px;display:inline-block;">Colors: </b>
</p>
<p id="LineStyles"><b style="width:93px;display:inline-block;">Line Styles: </b>
</p>
Copy to Clipboard: <a href="javascript:clippy(700,400)">A4 Normal</a>
<a href="javascript:clippy(700,300)">A4 Narrow</a>
<a href="javascript:clippy(1000,500)">A3 Normal</a>
<a href="javascript:clippy(1000,400)">A3 Narrow</a>
</article>
</div>
<div class="row 50%" id="hide" style="display: none;">
<section class="post">
<form>
<input type="number" id="LabR" style="display:none" />
<label for="99" style="display: inline-block;">Start Date:</label>
<input type=checkbox id="99">
<input type="datetime-local" id="dat" />
<label for="datR">Rate in seconds:</label>
<input type="number" min="0" id="datR" placeholder="1" />
</form>
</section>
<section class="post">
<form id="equa">
<label for="eqcheck" style="display: inline-block;"><b>Enable Equations</b></label>
<input type=checkbox id='eqcheck'>
</form>
</section>
</div>
<div class="row 50%">
<section class="post">
<form id="options">
<b>Options</b>
</form>
</section>
<section id="ExtremesTable" class="box">
<form>
<b>Summary</b>
</form>
</section>
</div>
</div>
</div>
</div>
</div>
<div id="copyright">
<ul>
<li>© Hans Juneby</li>
</ul>
</div>
</body>
</html>