-
Notifications
You must be signed in to change notification settings - Fork 0
/
chart.html
303 lines (276 loc) · 16.1 KB
/
chart.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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<title>Charts </title>
<link rel="shortcut icon" href="img/happy-icon.jpg">
<!-- global stylesheets -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/font-icon-style.css">
<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
<!-- Core stylesheets -->
<link rel="stylesheet" href="css/ui-elements/card.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!--====================================================
MAIN NAVBAR
======================================================-->
<header class="header">
<nav class="navbar navbar-expand-lg ">
<div class="search-box">
<button class="dismiss"><i class="icon-close"></i></button>
<form id="searchForm" action="#" role="search">
<input type="search" placeholder="Search Now" class="form-control">
</form>
</div>
<div class="container-fluid ">
<div class="navbar-holder d-flex align-items-center justify-content-between">
<div class="navbar-header">
<h2 href="index.html" style="float: left">
Happy Hive IPO Information Dashboard
</h2>
</div>
</div>
<ul class="nav-menu list-unstyled d-flex flex-md-row align-items-md-center">
<!-- Expand-->
<li class="nav-item d-flex align-items-center full_scr_exp"><a class="nav-link" href="#"><img src="img/expand.png" onclick="toggleFullScreen(document.body)" class="img-fluid" alt=""></a></li>
<!-- Search-->
<li class="nav-item d-flex align-items-center"><a id="search" class="nav-link" href="#"><i class="icon-search"></i></a></li>
</ul>
</div>
</nav>
</header>
<!--====================================================
PAGE CONTENT
======================================================-->
<div class="page-content d-flex align-items-stretch">
<!--***** SIDE NAVBAR *****-->
<nav class="side-navbar shrinked">
<!-- Sidebar Navidation Menus-->
<ul class="list-unstyled">
<li> <a href="index.html"><i class="icon-home"></i>Home</a></li>
</ul>
<span class="heading">Basic</span>
<ul class="list-unstyled">
<li class="active"> <a href="chart.html"> <i class="fa fa-bar-chart"></i>Charts </a></li>
<li> <a href="IPOQuery.html"> <i class="icon-search"></i>IPO Query </a></li>
</ul>
<span class="heading">Extra</span>
<ul class="list-unstyled">
<li><a href="S1FormHelper.html"><i class="fa fa-globe"></i>S-1/A Form Helper </a></li>
</ul>
</nav>
<div class="content-inner active">
<!--***** REPORT-1 *****-->
<div class="row" id="report1">
<!--Stock Historical performance-->
<div class="col-md-6">
<div class="card card-c1">
<div id="chart3_container" class="card-header card-chart" data-background-color="orange">
<!--
<canvas class="ct-chart" id="myChart3" height="250"></canvas>
-->
</div>
<div class="card-content">
<br>
<h3 class="title"><i class="icon-presentation"></i> Company Historical Performance</h3>
<br>
<form>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="companyNameChart3">Company Name</label>
<input type="companyNameChart3" class="form-control" id="companyNameChart3" placeholder="Enter company name">
</div>
<div class="form-group">
<label for="companySymbolChart3">Company Symbol</label>
<input type="companySymbolChart3" class="form-control" id="companySymbolChart3" placeholder="Enter company symbol">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="startMonthChart3">Start Month</label>
<input class="form-control" type="month" value="2018-01" id="startMonthChart3">
</div>
<div class="form-group">
<label for="endMonthChart3">End Month</label>
<input class="form-control" type="month" value="2018-03" id="endMonthChart3">
</div>
</div>
</div>
<button type="button" class="btn btn-general btn-blue mr-2" onclick="checkFormChart3()">Submit</button>
<button type="reset" class="btn btn-general btn-white">Cancel</button>
</form>
</div>
<div class="card-footer">
<div id="txtHint">
<small class="form-text text-muted">
Data from <a href="https://finance.yahoo.com/" target="_blank">Yahoo Finance</a>.
</small>
</div>
</div>
</div>
</div>
<!--index chart-->
<div class="col-md-6">
<div class="card card-c1">
<div id="chart1_container" class="card-header card-chart" data-background-color="orange">
<!--
<canvas class="ct-chart" id="myChart1" height="250"></canvas>
-->
</div>
<div class="card-content">
<br>
<h3 class="title"><i class="icon-presentation"></i> Index Fluctuation</h3>
<br>
<form>
<div class="row">
<div class="col-md-6">
<label for="chooseIndexChart1">Index</label>
<select class="form-control" id="chooseIndexChart1">
<option value="NDX">NDX</option>
<option value="GSPC">GSPC</option>
<option value="Both">Both</option>
</select>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="startMonthChart1">Start Month</label>
<input class="form-control" type="month" value="2018-01" id="startMonthChart1">
</div>
<div class="form-group">
<label for="endMonthChart1">End Month</label>
<input class="form-control" type="month" value="2018-03" id="endMonthChart1">
</div>
</div>
</div>
<button type="button" class="btn btn-general btn-blue mr-2" onclick="checkFormChart1()">Submit</button>
<button type="reset" class="btn btn-general btn-white">Cancel</button>
</form>
</div>
<div class="card-footer">
<div id="txtHint">
<small class="form-text text-muted">
Data from <a href="https://finance.yahoo.com/" target="_blank">Yahoo Finance</a>.
</small>
</div>
</div>
</div>
</div>
</div>
<!--***** REPORT-2 *****-->
<div class="row" id="report2">
<!--static charts-->
<div class="col-md-6">
<div class="card card-c1">
<div class="card-header card-chart" data-background-color="orange" id="staticChart_container">
<!--
<canvas class="ct-chart" id="staticChart" height="250"></canvas>
-->
</div>
<div class="card-content">
<br>
<h3 class="title"><i class="icon-page"></i> Statistical Analysis</h3>
<br>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<button type="button" class="btn btn-general btn-blue mr-2" id="HistogramChart" onclick="drawGroupedBarChart()">Histogram</button>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<button type="button" class="btn btn-general btn-blue mr-2" id="PieChart" onclick="drawPieChart()">Pie Chart</button>
</div>
</div>
</div>
</div>
<div class="card-footer">
<div id="txtHint">
<small class="form-text text-muted">
Data from <a href="https://finance.yahoo.com/" target="_blank">Yahoo Finance</a>. Analized by <a href="index.html" target="_blank">Happy Hive</a>.
</small>
</div>
</div>
</div>
</div>
<!--short term performance chart-->
<div class="col-md-6">
<div class="card card-c1">
<div class="card-header card-chart" id="chart2_container" data-background-color="orange">
<!--
<canvas class="ct-chart" id="myChart2" height="250"></canvas>
-->
</div>
<div class="card-content">
<br>
<h3 class="title"><i class="icon-page"></i> Short Term Performance</h3>
<br>
<form>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="companyNameChart2">Company Name</label>
<input type="companyNameChart2" class="form-control" id="companyNameChart2" placeholder="Enter company name">
</div>
<div class="form-group">
<label for="companySymbolChart2">Company Symbol</label>
<input type="companySymbolChart2" class="form-control" id="companySymbolChart2" placeholder="Enter company symbol">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="chooseIndexChart2">Compare Index</label>
<select class="form-control" id="chooseIndexChart2">
<option value="NDX">NDX</option>
<option value="GSPC">GSPC</option>
<option value="Both">Both</option>
</select>
</div>
</div>
</div>
<button type="button" class="btn btn-general btn-blue mr-2" onclick="checkFormChart2()">Submit</button>
<button type="reset" class="btn btn-general btn-white">Cancel</button>
</form>
<div class="row">
<div class="col-md-12" id="resultTable_container">
</div>
</div>
</div>
<div class="card-footer">
<div id="txtHint">
<small class="form-text text-muted">
Data from <a href="https://finance.yahoo.com/" target="_blank">Yahoo Finance</a> and <a href="https://www.nasdaq.com/" target="_blank">NASDAQ</a>. Analized by <a href="index.html" target="_blank">Happy Hive</a>.
</small>
</div>
</div>
</div>
</div>
</div>
<!--***** FOOTER *****-->
<div class="row">
<center style="width: 100%">Copyright © 2019. <a href="index.html">Happy Hive</a></center>
</div>
</div>
</div>
<!--Global Javascript -->
<script src="js/jquery.min.js"></script>
<script src="js/popper/popper.min.js"></script>
<script src="js/tether.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/chart.min.js"></script>
<script src="js/front.js"></script>
<!--Core Javascript -->
<script src="js/mychart.js"></script>
<script src="js/myStaticCharts.js"></script>
</body>
</html>