-
Notifications
You must be signed in to change notification settings - Fork 3
/
chart_js.html
436 lines (394 loc) · 24.8 KB
/
chart_js.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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>Chart JS | qbytAdmin</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Google fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" rel="stylesheet">
<!-- Stylesheet -->
<link rel="stylesheet" href="fontawesome/css/all.min.css">
<link rel="stylesheet" href="css/vendor/bootstrap-4.3.1/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<meta name="theme-color" content="#fafafa">
</head>
<body class="position-relative">
<!--[if IE]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<div class="container-fluid px-0">
<!-- The side bar -->
<div class="side-bar side-bar-lg-active" data-theme="purple">
<!-- Brand details -->
<div class="side-menu-brand d-flex flex-column justify-content-center align-items-center clear mt-3">
<img src="img/QbyteIcon.png" alt="bran_name" class="brand-img">
<a href="#" class="brand-name mt-2 ml-2 font-weight-bold">QBAdminUI</a>
</div>
<!-- Side bar menu -->
<div class="the_menu mt-5">
<!-- Heading -->
<div class="side-menu-heading d-flex">
<h6 class=" font-weight-bold pb-2 mx-3"> Mr Admin </h6>
<a href="#" class="font-weight-bold ml-auto px-3">
<i class="fas fa-sign-out-alt"></i>
</a>
</div>
<!-- Menu item -->
<div id="accordion">
<ul class="side-menu p-0 m-0 mt-3">
<li class="side-menu-item px-3"><a href="index.html" class="w-100 py-3 pl-4">Dashboard</a></li>
<!-- Sub menu parent -->
<li class="side-menu-item px-3"><a href="#" class="w-100 py-3 pl-4 sub-menu-parent" data-toggle="collapse" data-target="#sub_menu_1" aria-expanded="false" aria-controls="sub_menu_1">Basic UI Elements</a></li>
<!-- Sub menu -->
<div id="sub_menu_1" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<ul class="side-sub-menu p-0">
<li class="side-sub-menu-item px-3"><a href="alert.html" class="w-100 pl-4 small">Alert</a></li>
<li class="side-sub-menu-item px-3"><a href="accordion.html" class="w-100 pl-4 small">Accordion</a></li>
<li class="side-sub-menu-item px-3"><a href="badge.html" class="w-100 pl-4 small">Badge</a></li>
<li class="side-sub-menu-item px-3"><a href="button.html" class="w-100 pl-4 small">Button</a></li>
<li class="side-sub-menu-item px-3"><a href="bootstrap_tab.html" class="w-100 pl-4 small">Bootstrap tab</a></li>
<li class="side-sub-menu-item px-3"><a href="cards.html" class="w-100 pl-4 small">Cards</a></li>
<li class="side-sub-menu-item px-3"><a href="carousels.html" class="w-100 pl-4 small">Carousels</a></li>
<li class="side-sub-menu-item px-3"><a href="dropdown.html" class="w-100 pl-4 small">Dropdown</a></li>
<li class="side-sub-menu-item px-3"><a href="list.html" class="w-100 pl-4 small">Llist</a></li>
<li class="side-sub-menu-item px-3"><a href="modal.html" class="w-100 pl-4 small">Modals</a></li>
<li class="side-sub-menu-item px-3"><a href="paginations.html" class="w-100 pl-4 small">Paginations</a></li>
<li class="side-sub-menu-item px-3"><a href="progressbar.html" class="w-100 pl-4 small">Progressbar</a></li>
<li class="side-sub-menu-item px-3"><a href="tooltip.html" class="w-100 pl-4 small">Tooltip</a></li>
<li class="side-sub-menu-item px-3"><a href="typography.html" class="w-100 pl-4 small">Typography</a></li>
</ul>
</div>
<!-- Sub menu parent -->
<li class="side-menu-item px-3"><a href="#" class="w-100 py-3 pl-4 sub-menu-parent" data-toggle="collapse" data-target="#form-sub-menu" aria-expanded="false" aria-controls="form-sub-menu">Form Elements</a></li>
<!-- Sub menu -->
<div id="form-sub-menu" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<ul class="side-sub-menu p-0">
<li class="side-sub-menu-item px-3"><a href="form_basic.html" class="w-100 pl-4 small">Basic Elements</a></li>
<li class="side-sub-menu-item px-3"><a href="form_basic_action.html" class="w-100 pl-4 small">Basic Action Bar</a></li>
<li class="side-sub-menu-item px-3"><a href="form_layout.html" class="w-100 pl-4 small">Form layouts</a></li>
<li class="side-sub-menu-item px-3"><a href="multi_column_forms.html" class="w-100 pl-4 small">Multi Column Forms</a></li>
<li class="side-sub-menu-item px-3"><a href="input_group.html" class="w-100 pl-4 small">Input Group</a></li>
<li class="side-sub-menu-item px-3"><a href="form_validation.html" class="w-100 pl-4 small">Form Validation</a></li>
</ul>
</div>
<!-- Sub menu parent -->
<li class="side-menu-item px-3"><a href="#" class="w-100 py-3 pl-4 sub-menu-parent" data-toggle="collapse" data-target="#chart-sub-menu" aria-expanded="true" aria-controls="chart-sub-menu">Charts</a></li>
<!-- Sub menu -->
<div id="chart-sub-menu" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
<ul class="side-sub-menu p-0">
<li class="side-sub-menu-item px-3"><a href="chart_js.html" class="w-100 pl-4 active">Chart Js</a></li>
</ul>
</div>
<!-- Sub menu parent -->
<li class="side-menu-item px-3"><a href="#" class="w-100 py-3 pl-4 sub-menu-parent" data-toggle="collapse" data-target="#table-sub-menu" aria-expanded="false" aria-controls="table-sub-menu">Tables</a></li>
<!-- Sub menu -->
<div id="table-sub-menu" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<ul class="side-sub-menu p-0">
<li class="side-sub-menu-item px-3"><a href="basic_table.html" class="w-100 pl-4 small">Basic Table</a></li>
<li class="side-sub-menu-item px-3"><a href="datatables.html" class="w-100 pl-4 small">DataTables</a></li>
</ul>
</div>
<li class="side-menu-item px-3"><a href="#" class="w-100 py-3 pl-4">Icons</a></li>
<!-- Sub menu parent -->
<li class="side-menu-item px-3"><a href="#" class="w-100 py-3 pl-4 sub-menu-parent" data-toggle="collapse" data-target="#sub_menu_2" aria-expanded="true" aria-controls="sub_menu_2">User Pages</a></li>
<!-- Sub menu -->
<div id="sub_menu_2" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<ul class="side-sub-menu p-0">
<li class="side-sub-menu-item px-3"><a href="blank.html" class="w-100 pl-4 small">Blank Page</a></li>
<li class="side-sub-menu-item px-3"><a href="login.html" class="w-100 pl-4 small">Login</a></li>
<li class="side-sub-menu-item px-3"><a href="signup.html" class="w-100 pl-4 small">Register</a></li>
<li class="side-sub-menu-item px-3"><a href="404.html" class="w-100 pl-4 small">404</a></li>
<li class="side-sub-menu-item px-3"><a href="500.html" class="w-100 pl-4 small">500</a></li>
</ul>
</div>
</ul>
</div>
</div>
</div>
<!-- Main section -->
<main class="bg-light main-full-body">
<!-- Theme changer -->
<div class="theme-option p-4">
<div class="theme-pck">
<i class="fas fa-cog fa-lg"></i>
</div>
<p>Navbar:</p>
<div class="side-nav-themes d-flex flex-row">
<p class="p-3 rounded side-nav-theme-primary side-nav-theme" theme-color="purple"></p>
<p class="p-3 rounded ml-2 side-nav-theme-light side-nav-theme" theme-color="light"></p>
</div>
</div>
<!-- The navbar -->
<nav class="navbar navbar-expand navbar-light bg-light py-3">
<p class="navbar-brand mb-0 pb-0">
<span></span>
<span></span>
<span></span>
</p>
<!-- Navbar search section -->
<div class="navb-search ml-5 d-none d-md-block">
<form action="#" method="POST">
<div class="input-group search-round">
<input type="text" class="form-control" placeholder="Search...">
<div class="input-group-append">
<button class="btn border" type="submit"><i class="fas fa-search"></i></button>
</div>
</div>
</form>
</div>
<!-- Navbar right menu section -->
<div class="navb-menu ml-auto d-flex flex-row">
<!-- Message dropdown -->
<div class="dropdown dropdown-arow-none d-contents text-center mx-2 pt-1">
<!-- Icon -->
<a href="#" class="w-100 dropdown-toggle text-muted position-relative" data-toggle="dropdown">
<!-- Message -->
<i class="far fa-envelope fa-2x"></i>
<span class="badge badge-danger position-absolute notification-badge">3</span>
</a>
<!-- Dropdown menu -->
<div class="dropdown-menu dropdown-menu-right dropdown-menu-max-height p-0">
<!-- Dropdown item -->
<a href="#" class="dropdown-item text-secondary-light p-0">
<div class="d-flex flex-row border-bottom">
<!-- Profile image -->
<div class="notification-icon bg-secondary-c pt-3"><img src="img/profile.jpg" alt="img" class="w-75 img-round"></div>
<!-- Message notification -->
<div class="flex-grow-1 px-3 py-3">
<p class="mb-0">James <span class="badge badge-pill badge-primary">1</span></p>
<small>James : Hey! Are you busy?</small>
</div>
</div>
</a>
<!-- Dropdown item -->
<a href="#" class="dropdown-item text-secondary-light p-0">
<div class="d-flex flex-row border-bottom">
<!-- Profile image -->
<div class="notification-icon bg-secondary-c pt-3"><img src="img/profile.jpg" alt="img" class="w-75 img-round"></div>
<!-- Message notification -->
<div class="flex-grow-1 px-3 py-3">
<p class="mb-0">Jhone <span class="badge badge-pill badge-primary">1</span></p>
<small>Jhone : Hey! I need help.</small>
</div>
</div>
</a>
<!-- Dropdown item -->
<a href="#" class="dropdown-item text-secondary-light p-0">
<div class="d-flex flex-row border-bottom">
<!-- Profile image -->
<div class="notification-icon bg-secondary-c pt-3"><img src="img/profile.jpg" alt="img" class="w-75 img-round"></div>
<!-- Message notification -->
<div class="flex-grow-1 px-3 py-3">
<p class="mb-0">Mariam <span class="badge badge-pill badge-primary">1</span></p>
<small>Mariam : information</small>
</div>
</div>
</a>
</div>
</div>
<!-- Notification dropdown -->
<div class="dropdown dropdown-arow-none d-contents text-center mx-2 pt-1">
<!-- icon -->
<a href="#" class="w-100 dropdown-toggle text-muted position-relative" data-toggle="dropdown">
<!-- Notification -->
<i class="far fa-bell fa-2x"></i>
<span class="badge badge-primary position-absolute notification-badge">3</span>
</a>
<!-- Dropdown menu -->
<div class="dropdown-menu dropdown-menu-right p-0 dropdown-menu-max-height">
<!-- Menu item -->
<a href="#" class="dropdown-item text-secondary-light p-0">
<div class="d-flex flex-row border-bottom">
<div class="notification-icon bg-secondary-c pt-3 px-3"><i class="far fa-envelope text-primary fa-lg"></i></div>
<div class="flex-grow-1 px-3 py-3">
<p class="mb-0">New message <span class="badge badge-pill badge-primary">New</span></p>
<small>James : Hey! Are you busy?</small>
</div>
</div>
</a>
<!-- Menu item -->
<a href="#" class="dropdown-item text-secondary-light p-0">
<div class="d-flex flex-row border-bottom">
<div class="notification-icon bg-secondary-c pt-3 px-3"><i class="fas fa-clipboard-list text-success fa-lg"></i></div>
<div class="flex-grow-1 px-3 py-3">
<p class="m-0">New order received <span class="badge badge-pill badge-success">New</span></p>
<small>3 iPhone x</small>
</div>
</div>
</a>
<!-- Menu item -->
<a href="#" class="dropdown-item text-secondary-light p-0 pr-2">
<div class="d-flex flex-row border-bottom">
<div class="notification-icon bg-secondary-c pt-3 px-3"><i class="fas fa-box-open text-warning fa-lg"></i></div>
<div class="flex-grow-1 px-3 py-3">
<p class="m-0">Product out of stock <span class="badge badge-pill badge-warning small">1</span></p>
<small>Headphone E63</small>
</div>
</div>
</a>
</div>
</div>
<!-- Profile action dropdown -->
<div class="dropdown dropdown-arow-none d-contents text-center mx-2">
<!-- Icon -->
<a href="#" class="w-100 dropdown-toggle text-muted" data-toggle="dropdown"><img src="img/profile.jpg" alt="profile" class="profile-avatar"></a>
<!-- Dropdown Menu -->
<div class="dropdown-menu dropdown-menu-right dropdown-menu-max-height">
<!-- Menu items -->
<a href="#" class="dropdown-item disabled small"><i class="far fa-user mr-1"></i> Md.Maruf Ahmed</a>
<a href="#" class="dropdown-item text-secondary-light">Account setting</a>
<a href="#" class="dropdown-item text-secondary-light">Billing history</a>
<a href="#" class="dropdown-item text-secondary-light">Sign out</a>
</div>
</div>
</div>
</nav>
<!--Page Body part -->
<div class="page-body p-4 text-dark">
<div class="page-heading border-bottom d-flex flex-row">
<h5 class="font-weight-normal">Chart JS</h5>
<small class="mt-2 ml-2">Chart Elements</small>
</div>
<!-- All chart js elements here -->
<div class="row mt-4">
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Six Month Sales Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Six Month Sales</div>
<!-- Chart -->
<canvas id="lineChart"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Six Month Sales VS Revenue Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Six Month Sales VS Revenue</div>
<!-- Chart -->
<canvas id="lineChart1"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Multiple Bar chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Multiple Bar chart</div>
<!-- Chart -->
<canvas id="barChart"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Single Bar chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Single Bar chart</div>
<!-- Chart -->
<canvas id="barChart1"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Horizontal Bar chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Horizontal Bar chart</div>
<!-- Chart -->
<canvas id="barChart2"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Mix chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Mix chart</div>
<!-- Chart -->
<canvas id="mixChart"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Radar chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Radar chart</div>
<!-- Chart -->
<canvas id="radarChart" height="200px"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Doughnut Chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Doughnut Chart</div>
<!-- Chart -->
<canvas id="rdoughnutChart" height="200px"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Pie Chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Pie Chart</div>
<!-- Chart -->
<canvas id="pieChart" height="200px"></canvas>
</div>
</div>
</div>
<!-- col md 6 -->
<div class="col-md-6 mt-4">
<!-- Polar Area Chart Card -->
<div class="card rounded-lg">
<!-- Card body -->
<div class="card-body">
<div class="card-title">Polar Area Chart</div>
<!-- Chart -->
<canvas id="pPieChart" height="200px"></canvas>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer section -->
<footer class="footer-full-body p-4 d-flex flex-row justify-content-between text-secondary">
<p>© Copyright. <a href="https://qbytesoft.com" target="_Blank">Qbytesoft</a></p>
<p>Version 1.0.0</p>
</footer>
</div>
<script src="js/vendor/bootstrap-4.3.1/modernizr-3.7.1.min.js"></script>
<script src="js/vendor/jquery-3.3.1/jquery-3.3.1.min.js"></script>
<!-- Bootstrap -->
<script src="js/vendor/popper-js/popper1.14.7.js"></script>
<script src="js/vendor/bootstrap-4.3.1/bootstrap.min.js"></script>
<!-- Chart js -->
<script src="./js/vendor/Chart.js-2.9.3/Chart.min.js"></script>
<script src="./js/plugins/chart_js_drw.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>