-
Notifications
You must be signed in to change notification settings - Fork 12
/
Chart.html
430 lines (388 loc) · 22.3 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
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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Nozha admin panel</title>
<meta name="description" content="nozha admin panel fully support rtl with complete dark mode css to use. ">
<meta name=”robots” content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link href="./css/fontawsome/all.min.css" rel="stylesheet">
<link rel="stylesheet"
href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css"
integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<link rel="stylesheet" href="css/main.css">
</head>
<body class="">
<div class="bmd-layout-container bmd-drawer-f-l avam-container animated bmd-drawer-in">
<header class="bmd-layout-header ">
<div class="navbar navbar-light bg-faded animate__animated animate__fadeInDown">
<button class="navbar-toggler animate__animated animate__wobble animate__delay-2s" type="button"
data-toggle="drawer" data-target="#dw-s1">
<span class="navbar-toggler-icon"></span>
</button>
<ul class="nav navbar-nav ">
<li class="nav-item">
<div class="dropdown">
<button class="btn dropdown-toggle m-0" type="button" id="dropdownMenu2"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="far fa-envelope fa-lg"></i><span
class="badge badge-pill badge-danger animate__animated animate__flash animate__repeat-3 animate__slower animate__delay-2s">5</span>
</button>
<div aria-labelledby="dropdownMenu2"
class="dropdown-menu dropdown-menu-right dropdown-menu dropdown-menu-right-lg">
<span class="dropdown-item dropdown-header">15 Notifications</span>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">
<i class="far fa-envelope c-main mr-2"></i> 4 new messages
<span class="float-right-rtl text-muted text-sm">3 mins</span>
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">
<i class="far fa-user c-main mr-2"></i> 8 friend requests
<span class="float-right-rtl text-muted text-sm">12 hours</span>
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">
<i class="far fa-file c-main mr-2"></i> 3 new reports
<span class="float-right-rtl text-muted text-sm">2 days</span>
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
</div>
</div>
</li>
<li class="nav-item">
<div class="dropdown">
<button class="btn dropdown-toggle m-0" type="button" id="dropdownMenu3"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="far fa-bell fa-lg "></i><span
class="badge badge-pill badge-warning animate__animated animate__flash animate__repeat-3 animate__slower animate__delay-2s">5</span>
</button>
<div aria-labelledby="dropdownMenu2"
class="dropdown-menu dropdown-menu-right dropdown-menu dropdown-menu-right-lg">
<span class="dropdown-item dropdown-header">15 Notifications</span>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">
<i class="far fa-envelope c-main mr-2"></i> 4 new messages
<span class="float-right-rtl text-muted text-sm">3 mins</span>
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">
<i class="far fa-user c-main mr-2"></i> 8 friend requests
<span class="float-right-rtl text-muted text-sm">12 hours</span>
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">
<i class="far fa-file c-main mr-2"></i> 3 new reports
<span class="float-right-rtl text-muted text-sm">2 days</span>
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
</div>
</div>
</li>
<li class="nav-item"> <img src="./img/user-profile.jpg" alt="..."
class="rounded-circle screen-user-profile"></li>
<li class="nav-item">
<div class="dropdown">
<button class="btn dropdown-toggle m-0" type="button" id="dropdownMenu4"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
majid
</button>
<div aria-labelledby="dropdownMenu4"
class="dropdown-menu dropdown-menu-right dropdown-menu dropdown-menu-right"
aria-labelledby="dropdownMenu2">
<button class="dropdown-item" type="button"><i
class="far fa-user fa-sm c-main mr-2"></i>Profile</button>
<button onclick="dark()" class="dropdown-item" type="button"><i
class="fas fa-moon fa-sm c-main mr-2"></i>Dark Mode</button>
<button class="dropdown-item" type="button"><i
class="fas fa-cog fa-sm c-main mr-2"></i>Setting</button>
<button class="dropdown-item" type="button"><i
class="fas fa-sign-out-alt c-main fa-sm mr-2"></i>Sign Out</button>
</div>
</div>
</li>
</ul>
</div>
</header>
<div id="dw-s1" class="bmd-layout-drawer bg-faded">
<div class="container-fluid side-bar-container">
<header class="pb-0">
<a class="navbar-brand">
<object class="side-logo" data="./svg/logo-8.svg" type="image/svg+xml">
</object>
</a>
</header>
<p class="side-comment">Tour</p>
<li class="side a-collapse short ">
<a href="./fa.html" class="side-item "><i class="fas fa-language mr-1"></i>Persian <span
class="badge badge-pill badge-success">new</span></a>
</li>
<ul class="side a-collapse short ">
<a class="ul-text"><i class="fas fa-tachometer-alt mr-1"></i> Pages
<i class="fas fa-chevron-down arrow"></i></a>
<div class="side-item-container hide animated">
<li class="side-item "><a href="./"><i class="fas fa-angle-right mr-2"></i>Dashboard</a>
</li>
<li class="side-item"><a href="./dark.html"><i class="fas fa-angle-right mr-2"></i>Dark
Dashboard</a></li>
<li class="side-item"><a href="./Login.html"><i class="fas fa-angle-right mr-2"></i>Login</a>
</li>
<li class="side-item"><a href="./glogin.html"><i class="fas fa-angle-right mr-2"></i>Login
Colored</a></li>
</div>
</ul>
<ul class="side a-collapse short">
<a class="ul-text"><i class="fas fa-cog mr-1"></i> Customize
<i class="fas fas fa-chevron-down arrow"></i></a>
<div class="side-item-container hide animated">
<li class="side-item"><a href="./color.html"><i class="fas fa-angle-right mr-2"></i>Color</a>
</li>
<li class="side-item"><a href="./typo.html"><i
class="fas fa-angle-right mr-2"></i>Typography</a></li>
<li class="side-item"><a href="./dark-mode.html"><i class="fas fa-angle-right mr-2"></i>Dark
Mode</a></li>
<li class="side-item"><a href="./rtl.html"><i class="fas fa-angle-right mr-2"></i>Rtl</a></li>
<li class="side-item"><a href="./sidebar.html"><i
class="fas fa-angle-right mr-2"></i>SideBar</a></li>
</div>
</ul>
<p class="side-comment">Element</p>
<li class="side a-collapse short ">
<a href="./animation.html" class="side-item "><i class="fas fa-fan fa-spin mr-1"></i>Animation</a>
</li>
<li class="side a-collapse short ">
<a href="./Icon.html" class="side-item "><i class="fas fa-icons mr-1"></i>Icon</a>
</li>
<ul class="side a-collapse short ">
<a class="ul-text"><i class="fas fa-cube mr-1"></i> Base Component <span
class="badge badge-danger">9</span><i class="fas fas fa-chevron-down arrow"></i></a>
<div class="side-item-container hide animated">
<li class="side-item"><a href="./alert.html"><i class="fas fa-angle-right mr-2"></i>alert</a>
</li>
<li class="side-item"><a href="./badge.html"><i class="fas fa-angle-right mr-2"></i>Badge</a>
</li>
<li class="side-item"><a href="./breadcrumb.html"><i
class="fas fa-angle-right mr-2"></i>Breadcrumb</a></li>
<li class="side-item"><a href="./button.html"><i class="fas fa-angle-right mr-2"></i>Button</a>
</li>
<li class="side-item"><a href="./card.html"><i class="fas fa-angle-right mr-2"></i>Card</a></li>
<li class="side-item"><a href="./collapse.html"><i
class="fas fa-angle-right mr-2"></i>Collapse</a></li>
<li class="side-item"><a href="./Input.html"><i class="fas fa-angle-right mr-2"></i>Input</a>
</li>
<li class="side-item"><a href="./jumborton.html"><i
class="fas fa-angle-right mr-2"></i>Jumborton</a></li>
<li class="side-item"><a href="./pagination.html"><i
class="fas fa-angle-right mr-2"></i>Pagination</a></li>
<li class="side-item"><a href="./progress.html"><i
class="fas fa-angle-right mr-2"></i>Progress</a></li>
</div>
</ul>
<ul class="side a-collapse ">
<a class="ul-text"><i class="fas fa-layer-group mr-1"></i>Extra Component
<i class="fas fas fa-chevron-down arrow"></i></a>
<div class="side-item-container">
<li class="side-item"><a href="./modal.html"><i class="fas fa-angle-right mr-2"></i>Modal</a>
</li>
<li class="side-item"><a href="./toast.html"><i class="fas fa-angle-right mr-2"></i>Toast</a>
</li>
<li class="side-item"><a href="./widget.html"><i class="fas fa-angle-right mr-2"></i>Widget</a>
</li>
<li class="side-item selected"><a href="./Chart.html"><i class="fas fa-angle-right mr-2"></i>Chart</a>
</li>
</div>
</ul>
<p class="side-comment">support</p>
<li class="side a-collapse short ">
<a href="https://github.com/MajidAlinejad/Nozha-rtl-Dashboard" class="side-item "><i
class=" fab fa-github mr-1"></i>GitHub</a>
</li>
<li class="side a-collapse short ">
<a href="https://github.com/MajidAlinejad/Nozha-rtl-Dashboard" class="side-item "><i
class=" far fa-question-circle mr-1"></i>Submit Issue</a>
</li>
<li class="side a-collapse short ">
<a href="https://github.com/MajidAlinejad/Nozha-rtl-Dashboard" class="side-item "><i
class=" far fa-life-ring mr-1"></i>Help</a>
</li>
<p class="side-comment">donate</p>
<li class="side a-collapse short pb-5">
<a href="https://donateon.ir/alinejad.mj" class="side-item "><i class=" fas fa-coffee mr-1"></i>Buy
me a coffee</a>
</li>
</div>
</div>
<main class="bmd-layout-content">
<div class="container-fluid ">
<!-- content -->
<div class="row">
<div class="page-header breadcrumb-header p-3 mr-2 ml-2 m-2">
<div class="row align-items-end ">
<div class="col-lg-8">
<div class="page-header-title text-left-rtl">
<div class="d-inline">
<h3 class="lite-text ">Chart</h3>
<span class="lite-text text-gray">Chart Options </span>
</div>
</div>
</div>
<div class="col-lg-4">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item "><a href="#"><i class="fas fa-home"></i></a></li>
<li class="breadcrumb-item "><a href="#">Extra</a></li>
<li class="breadcrumb-item active">Chart</li>
</ol>
</div>
</div>
</div>
</div>
<div class="jumbotron shade pt-4 pb-1">
<h1>Charts.Js</h1>
<p class="c-grey font-weight-light font-italic">Simple yet flexible JavaScript charting for
designers & developers. <br>
<h4 class="c-grey pt-2">Document:</h4>
<div>
<a href="https://www.chartjs.org/docs/latest/charts/doughnut.html">Chart.js</a><br>
</div>
</div>
<div class="row">
<div class="col-xs-1 col-sm-1 col-md-6 col-lg-6">
<div class="card shade ">
<div class="card-body">
<h5 class="card-title">Bar Chart</h5>
<hr>
<canvas id="myChart"></canvas>
<hr class="hr-dashed">
<p class="text-center c-danger">Example of bar chart</p>
</div>
</div>
</div>
<div class="col-xs-1 col-sm-1 col-md-6 col-lg-6">
<div class="card shade ">
<div class="card-body">
<h5 class="card-title">Polar Chart</h5>
<hr>
<canvas id="myChart2"></canvas>
<hr class="hr-dashed">
<p class="text-center c-danger">Example of polar chart</p>
</div>
</div>
</div>
</div>
<div class="row mt-4 mb-4">
<div class="col-xs-1 col-sm-1 col-md-6 col-lg-6">
<div class="card shade ">
<div class="card-body">
<h5 class="card-title">Pie Chart</h5>
<hr>
<canvas id="myChart3"></canvas>
<hr class="hr-dashed">
<p class="text-center c-danger">Example of Pie chart</p>
</div>
</div>
</div>
<div class="col-xs-1 col-sm-1 col-md-6 col-lg-6">
<div class="card shade ">
<div class="card-body">
<h5 class="card-title">Doughnut Chart</h5>
<hr>
<canvas id="myChart4"></canvas>
<hr class="hr-dashed">
<p class="text-center c-danger">Example of doughnut chart</p>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script src="js/vendor/modernizr.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery-3.2.1.min.js"><\/script>')
</script>
<script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js"
integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js"
integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<script>
$(document).ready(function () {
$('body').bootstrapMaterialDesign();
});
</script>
<script>
! function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = 'https://weatherwidget.io/js/widget.min.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'weatherwidget-io-js');
var myChart = document.getElementById('myChart');
var myChart = new Chart(myChart, {
type: 'bar',
data: {
labels: ['Red', 'Green', 'Yellow', 'Grey', 'Blue'],
datasets: [{
label: '# of Votes',
data: [6, 8, 5, 2, 3],
backgroundColor: [
'#ff6384',
'#4bc0c0',
'#ffcd56',
'#c9cbcf',
'#36a2eb',
]
}]
},
options: {
}
});
var myChart3 = document.getElementById('myChart3');
var myChart3 = new Chart(myChart3, {
type: 'pie',
data: {
labels: ['Red', 'Green', 'Yellow', 'Grey', 'Blue'],
datasets: [{
label: '# of Votes',
data: [6, 8, 5, 2, 3],
backgroundColor: [
'#ff6384',
'#4bc0c0',
'#ffcd56',
'#c9cbcf',
'#36a2eb',
]
}]
},
options: {
}
});
</script>
<script src="js/main.js"></script>
</body>
</html>