inline.html 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>AdminLTE 3 | Inline Charts</title>
  7. <!-- Tell the browser to be responsive to screen width -->
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <!-- Bootstrap 4 -->
  10. <!-- Font Awesome -->
  11. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
  12. <!-- Ionicons -->
  13. <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  14. <!-- Theme style -->
  15. <link rel="stylesheet" href="../../dist/css/adminlte.min.css">
  16. <!-- Google Font: Source Sans Pro -->
  17. <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
  18. </head>
  19. <body class="hold-transition sidebar-mini">
  20. <div class="wrapper">
  21. <!-- Navbar -->
  22. <nav class="main-header navbar navbar-expand navbar-white navbar-light border-bottom">
  23. <!-- Left navbar links -->
  24. <ul class="navbar-nav">
  25. <li class="nav-item">
  26. <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
  27. </li>
  28. <li class="nav-item d-none d-sm-inline-block">
  29. <a href="../../index3.html" class="nav-link">Home</a>
  30. </li>
  31. <li class="nav-item d-none d-sm-inline-block">
  32. <a href="#" class="nav-link">Contact</a>
  33. </li>
  34. </ul>
  35. <!-- SEARCH FORM -->
  36. <form class="form-inline ml-3">
  37. <div class="input-group input-group-sm">
  38. <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
  39. <div class="input-group-append">
  40. <button class="btn btn-navbar" type="submit">
  41. <i class="fas fa-search"></i>
  42. </button>
  43. </div>
  44. </div>
  45. </form>
  46. <!-- Right navbar links -->
  47. <ul class="navbar-nav ml-auto">
  48. <!-- Messages Dropdown Menu -->
  49. <li class="nav-item dropdown">
  50. <a class="nav-link" data-toggle="dropdown" href="#">
  51. <i class="far fa-comments"></i>
  52. <span class="badge badge-danger navbar-badge">3</span>
  53. </a>
  54. <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  55. <a href="#" class="dropdown-item">
  56. <!-- Message Start -->
  57. <div class="media">
  58. <img src="../../dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
  59. <div class="media-body">
  60. <h3 class="dropdown-item-title">
  61. Brad Diesel
  62. <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
  63. </h3>
  64. <p class="text-sm">Call me whenever you can...</p>
  65. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  66. </div>
  67. </div>
  68. <!-- Message End -->
  69. </a>
  70. <div class="dropdown-divider"></div>
  71. <a href="#" class="dropdown-item">
  72. <!-- Message Start -->
  73. <div class="media">
  74. <img src="../../dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
  75. <div class="media-body">
  76. <h3 class="dropdown-item-title">
  77. John Pierce
  78. <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
  79. </h3>
  80. <p class="text-sm">I got your message bro</p>
  81. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  82. </div>
  83. </div>
  84. <!-- Message End -->
  85. </a>
  86. <div class="dropdown-divider"></div>
  87. <a href="#" class="dropdown-item">
  88. <!-- Message Start -->
  89. <div class="media">
  90. <img src="../../dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
  91. <div class="media-body">
  92. <h3 class="dropdown-item-title">
  93. Nora Silvester
  94. <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
  95. </h3>
  96. <p class="text-sm">The subject goes here</p>
  97. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  98. </div>
  99. </div>
  100. <!-- Message End -->
  101. </a>
  102. <div class="dropdown-divider"></div>
  103. <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
  104. </div>
  105. </li>
  106. <!-- Notifications Dropdown Menu -->
  107. <li class="nav-item dropdown">
  108. <a class="nav-link" data-toggle="dropdown" href="#">
  109. <i class="far fa-bell"></i>
  110. <span class="badge badge-warning navbar-badge">15</span>
  111. </a>
  112. <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  113. <span class="dropdown-item dropdown-header">15 Notifications</span>
  114. <div class="dropdown-divider"></div>
  115. <a href="#" class="dropdown-item">
  116. <i class="fas fa-envelope mr-2"></i> 4 new messages
  117. <span class="float-right text-muted text-sm">3 mins</span>
  118. </a>
  119. <div class="dropdown-divider"></div>
  120. <a href="#" class="dropdown-item">
  121. <i class="fas fa-users mr-2"></i> 8 friend requests
  122. <span class="float-right text-muted text-sm">12 hours</span>
  123. </a>
  124. <div class="dropdown-divider"></div>
  125. <a href="#" class="dropdown-item">
  126. <i class="fas fa-file mr-2"></i> 3 new reports
  127. <span class="float-right text-muted text-sm">2 days</span>
  128. </a>
  129. <div class="dropdown-divider"></div>
  130. <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
  131. </div>
  132. </li>
  133. <li class="nav-item">
  134. <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#">
  135. <i class="fas fa-th-large"></i>
  136. </a>
  137. </li>
  138. </ul>
  139. </nav>
  140. <!-- /.navbar -->
  141. <!-- Main Sidebar Container -->
  142. <aside class="main-sidebar sidebar-dark-primary elevation-4">
  143. <!-- Brand Logo -->
  144. <a href="../../index3.html" class="brand-link">
  145. <img src="../../dist/img/AdminLTELogo.png"
  146. alt="AdminLTE Logo"
  147. class="brand-image img-circle elevation-3"
  148. style="opacity: .8">
  149. <span class="brand-text font-weight-light">AdminLTE 3</span>
  150. </a>
  151. <!-- Sidebar -->
  152. <div class="sidebar">
  153. <!-- Sidebar user panel (optional) -->
  154. <div class="user-panel mt-3 pb-3 mb-3 d-flex">
  155. <div class="image">
  156. <img src="../../dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
  157. </div>
  158. <div class="info">
  159. <a href="#" class="d-block">Alexander Pierce</a>
  160. </div>
  161. </div>
  162. <!-- Sidebar Menu -->
  163. <nav class="mt-2">
  164. <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
  165. <!-- Add icons to the links using the .nav-icon class
  166. with font-awesome or any other icon font library -->
  167. <li class="nav-item has-treeview">
  168. <a href="#" class="nav-link">
  169. <i class="nav-icon fas fa-tachometer-alt"></i>
  170. <p>
  171. Dashboard
  172. <i class="right fas fa-angle-left"></i>
  173. </p>
  174. </a>
  175. <ul class="nav nav-treeview">
  176. <li class="nav-item">
  177. <a href="../../index.html" class="nav-link">
  178. <i class="far fa-circle nav-icon"></i>
  179. <p>Dashboard v1</p>
  180. </a>
  181. </li>
  182. <li class="nav-item">
  183. <a href="../../index2.html" class="nav-link">
  184. <i class="far fa-circle nav-icon"></i>
  185. <p>Dashboard v2</p>
  186. </a>
  187. </li>
  188. <li class="nav-item">
  189. <a href="../../index3.html" class="nav-link">
  190. <i class="far fa-circle nav-icon"></i>
  191. <p>Dashboard v3</p>
  192. </a>
  193. </li>
  194. </ul>
  195. </li>
  196. <li class="nav-item">
  197. <a href="../widgets.html" class="nav-link">
  198. <i class="nav-icon fas fa-th"></i>
  199. <p>
  200. Widgets
  201. <span class="right badge badge-danger">New</span>
  202. </p>
  203. </a>
  204. </li>
  205. <li class="nav-item has-treeview">
  206. <a href="#" class="nav-link">
  207. <i class="nav-icon fas fa-copy"></i>
  208. <p>
  209. Layout Options
  210. <i class="fas fa-angle-left right"></i>
  211. <span class="badge badge-info right">6</span>
  212. </p>
  213. </a>
  214. <ul class="nav nav-treeview">
  215. <li class="nav-item">
  216. <a href="../layout/top-nav.html" class="nav-link">
  217. <i class="far fa-circle nav-icon"></i>
  218. <p>Top Navigation</p>
  219. </a>
  220. </li>
  221. <li class="nav-item">
  222. <a href="../layout/boxed.html" class="nav-link">
  223. <i class="far fa-circle nav-icon"></i>
  224. <p>Boxed</p>
  225. </a>
  226. </li>
  227. <li class="nav-item">
  228. <a href="../layout/fixed.html" class="nav-link">
  229. <i class="far fa-circle nav-icon"></i>
  230. <p>Fixed</p>
  231. </a>
  232. </li>
  233. <li class="nav-item">
  234. <a href="../layout/fixed-topnav.html" class="nav-link">
  235. <i class="far fa-circle nav-icon"></i>
  236. <p>Fixed Navbar</p>
  237. </a>
  238. </li>
  239. <li class="nav-item">
  240. <a href="../layout/fixed-footer.html" class="nav-link">
  241. <i class="far fa-circle nav-icon"></i>
  242. <p>Fixed Footer</p>
  243. </a>
  244. </li>
  245. <li class="nav-item">
  246. <a href="../layout/collapsed-sidebar.html" class="nav-link">
  247. <i class="far fa-circle nav-icon"></i>
  248. <p>Collapsed Sidebar</p>
  249. </a>
  250. </li>
  251. </ul>
  252. </li>
  253. <li class="nav-item has-treeview menu-open">
  254. <a href="#" class="nav-link active">
  255. <i class="nav-icon fas fa-chart-pie"></i>
  256. <p>
  257. Charts
  258. <i class="right fas fa-angle-left"></i>
  259. </p>
  260. </a>
  261. <ul class="nav nav-treeview">
  262. <li class="nav-item">
  263. <a href="chartjs.html" class="nav-link">
  264. <i class="far fa-circle nav-icon"></i>
  265. <p>ChartJS</p>
  266. </a>
  267. </li>
  268. <li class="nav-item">
  269. <a href="flot.html" class="nav-link">
  270. <i class="far fa-circle nav-icon"></i>
  271. <p>Flot</p>
  272. </a>
  273. </li>
  274. <li class="nav-item">
  275. <a href="inline.html" class="nav-link active">
  276. <i class="far fa-circle nav-icon"></i>
  277. <p>Inline</p>
  278. </a>
  279. </li>
  280. </ul>
  281. </li>
  282. <li class="nav-item has-treeview">
  283. <a href="#" class="nav-link">
  284. <i class="nav-icon fas fa-tree"></i>
  285. <p>
  286. UI Elements
  287. <i class="fas fa-angle-left right"></i>
  288. </p>
  289. </a>
  290. <ul class="nav nav-treeview">
  291. <li class="nav-item">
  292. <a href="../UI/general.html" class="nav-link">
  293. <i class="far fa-circle nav-icon"></i>
  294. <p>General</p>
  295. </a>
  296. </li>
  297. <li class="nav-item">
  298. <a href="../UI/icons.html" class="nav-link">
  299. <i class="far fa-circle nav-icon"></i>
  300. <p>Icons</p>
  301. </a>
  302. </li>
  303. <li class="nav-item">
  304. <a href="../UI/buttons.html" class="nav-link">
  305. <i class="far fa-circle nav-icon"></i>
  306. <p>Buttons</p>
  307. </a>
  308. </li>
  309. <li class="nav-item">
  310. <a href="../UI/sliders.html" class="nav-link">
  311. <i class="far fa-circle nav-icon"></i>
  312. <p>Sliders</p>
  313. </a>
  314. </li>
  315. <li class="nav-item">
  316. <a href="../UI/modals.html" class="nav-link">
  317. <i class="far fa-circle nav-icon"></i>
  318. <p>Modals</p>
  319. </a>
  320. </li>
  321. </ul>
  322. </li>
  323. <li class="nav-item has-treeview">
  324. <a href="#" class="nav-link">
  325. <i class="nav-icon fas fa-edit"></i>
  326. <p>
  327. Forms
  328. <i class="fas fa-angle-left right"></i>
  329. </p>
  330. </a>
  331. <ul class="nav nav-treeview">
  332. <li class="nav-item">
  333. <a href="../forms/general.html" class="nav-link">
  334. <i class="far fa-circle nav-icon"></i>
  335. <p>General Elements</p>
  336. </a>
  337. </li>
  338. <li class="nav-item">
  339. <a href="../forms/advanced.html" class="nav-link">
  340. <i class="far fa-circle nav-icon"></i>
  341. <p>Advanced Elements</p>
  342. </a>
  343. </li>
  344. <li class="nav-item">
  345. <a href="../forms/editors.html" class="nav-link">
  346. <i class="far fa-circle nav-icon"></i>
  347. <p>Editors</p>
  348. </a>
  349. </li>
  350. </ul>
  351. </li>
  352. <li class="nav-item has-treeview">
  353. <a href="#" class="nav-link">
  354. <i class="nav-icon fas fa-table"></i>
  355. <p>
  356. Tables
  357. <i class="fas fa-angle-left right"></i>
  358. </p>
  359. </a>
  360. <ul class="nav nav-treeview">
  361. <li class="nav-item">
  362. <a href="../tables/simple.html" class="nav-link">
  363. <i class="far fa-circle nav-icon"></i>
  364. <p>Simple Tables</p>
  365. </a>
  366. </li>
  367. <li class="nav-item">
  368. <a href="../tables/data.html" class="nav-link">
  369. <i class="far fa-circle nav-icon"></i>
  370. <p>Data Tables</p>
  371. </a>
  372. </li>
  373. </ul>
  374. </li>
  375. <li class="nav-header">EXAMPLES</li>
  376. <li class="nav-item">
  377. <a href="../calendar.html" class="nav-link">
  378. <i class="nav-icon far fa-calendar-alt"></i>
  379. <p>
  380. Calendar
  381. <span class="badge badge-info right">2</span>
  382. </p>
  383. </a>
  384. </li>
  385. <li class="nav-item has-treeview">
  386. <a href="#" class="nav-link">
  387. <i class="nav-icon far fa-envelope"></i>
  388. <p>
  389. Mailbox
  390. <i class="fas fa-angle-left right"></i>
  391. </p>
  392. </a>
  393. <ul class="nav nav-treeview">
  394. <li class="nav-item">
  395. <a href="../mailbox/mailbox.html" class="nav-link">
  396. <i class="far fa-circle nav-icon"></i>
  397. <p>Inbox</p>
  398. </a>
  399. </li>
  400. <li class="nav-item">
  401. <a href="../mailbox/compose.html" class="nav-link">
  402. <i class="far fa-circle nav-icon"></i>
  403. <p>Compose</p>
  404. </a>
  405. </li>
  406. <li class="nav-item">
  407. <a href="../mailbox/read-mail.html" class="nav-link">
  408. <i class="far fa-circle nav-icon"></i>
  409. <p>Read</p>
  410. </a>
  411. </li>
  412. </ul>
  413. </li>
  414. <li class="nav-item has-treeview">
  415. <a href="#" class="nav-link">
  416. <i class="nav-icon fas fa-book"></i>
  417. <p>
  418. Pages
  419. <i class="fas fa-angle-left right"></i>
  420. </p>
  421. </a>
  422. <ul class="nav nav-treeview">
  423. <li class="nav-item">
  424. <a href="../examples/invoice.html" class="nav-link">
  425. <i class="far fa-circle nav-icon"></i>
  426. <p>Invoice</p>
  427. </a>
  428. </li>
  429. <li class="nav-item">
  430. <a href="../examples/profile.html" class="nav-link">
  431. <i class="far fa-circle nav-icon"></i>
  432. <p>Profile</p>
  433. </a>
  434. </li>
  435. <li class="nav-item">
  436. <a href="../examples/login.html" class="nav-link">
  437. <i class="far fa-circle nav-icon"></i>
  438. <p>Login</p>
  439. </a>
  440. </li>
  441. <li class="nav-item">
  442. <a href="../examples/register.html" class="nav-link">
  443. <i class="far fa-circle nav-icon"></i>
  444. <p>Register</p>
  445. </a>
  446. </li>
  447. <li class="nav-item">
  448. <a href="../examples/lockscreen.html" class="nav-link">
  449. <i class="far fa-circle nav-icon"></i>
  450. <p>Lockscreen</p>
  451. </a>
  452. </li>
  453. </ul>
  454. </li>
  455. <li class="nav-item has-treeview">
  456. <a href="#" class="nav-link">
  457. <i class="nav-icon far fa-plus-square"></i>
  458. <p>
  459. Extras
  460. <i class="fas fa-angle-left right"></i>
  461. </p>
  462. </a>
  463. <ul class="nav nav-treeview">
  464. <li class="nav-item">
  465. <a href="../examples/404.html" class="nav-link">
  466. <i class="far fa-circle nav-icon"></i>
  467. <p>Error 404</p>
  468. </a>
  469. </li>
  470. <li class="nav-item">
  471. <a href="../examples/500.html" class="nav-link">
  472. <i class="far fa-circle nav-icon"></i>
  473. <p>Error 500</p>
  474. </a>
  475. </li>
  476. <li class="nav-item">
  477. <a href="../examples/blank.html" class="nav-link">
  478. <i class="far fa-circle nav-icon"></i>
  479. <p>Blank Page</p>
  480. </a>
  481. </li>
  482. <li class="nav-item">
  483. <a href="../../starter.html" class="nav-link">
  484. <i class="far fa-circle nav-icon"></i>
  485. <p>Starter Page</p>
  486. </a>
  487. </li>
  488. </ul>
  489. </li>
  490. <li class="nav-header">MISCELLANEOUS</li>
  491. <li class="nav-item">
  492. <a href="https://adminlte.io/docs" class="nav-link">
  493. <i class="nav-icon fas fa-file"></i>
  494. <p>Documentation</p>
  495. </a>
  496. </li>
  497. <li class="nav-header">LABELS</li>
  498. <li class="nav-item">
  499. <a href="#" class="nav-link">
  500. <i class="nav-icon far fa-circle text-danger"></i>
  501. <p class="text">Important</p>
  502. </a>
  503. </li>
  504. <li class="nav-item">
  505. <a href="#" class="nav-link">
  506. <i class="nav-icon far fa-circle text-warning"></i>
  507. <p>Warning</p>
  508. </a>
  509. </li>
  510. <li class="nav-item">
  511. <a href="#" class="nav-link">
  512. <i class="nav-icon far fa-circle text-info"></i>
  513. <p>Informational</p>
  514. </a>
  515. </li>
  516. </ul>
  517. </nav>
  518. <!-- /.sidebar-menu -->
  519. </div>
  520. <!-- /.sidebar -->
  521. </aside>
  522. <!-- Content Wrapper. Contains page content -->
  523. <div class="content-wrapper">
  524. <!-- Content Header (Page header) -->
  525. <section class="content-header">
  526. <div class="container-fluid">
  527. <div class="row mb-2">
  528. <div class="col-sm-6">
  529. <h1>Inline Charts</h1>
  530. </div>
  531. <div class="col-sm-6">
  532. <ol class="breadcrumb float-sm-right">
  533. <li class="breadcrumb-item"><a href="#">Home</a></li>
  534. <li class="breadcrumb-item active">Inline Charts</li>
  535. </ol>
  536. </div>
  537. </div>
  538. </div><!-- /.container-fluid -->
  539. </section>
  540. <!-- Main content -->
  541. <section class="content">
  542. <div class="container-fluid">
  543. <!-- row -->
  544. <div class="row">
  545. <div class="col-12">
  546. <!-- jQuery Knob -->
  547. <div class="card">
  548. <div class="card-header">
  549. <h3 class="card-title">
  550. <i class="far fa-chart-bar"></i>
  551. jQuery Knob
  552. </h3>
  553. <div class="card-tools">
  554. <button type="button" class="btn btn-tool" data-widget="collapse"><i
  555. class="fas fa-minus"></i>
  556. </button>
  557. <button type="button" class="btn btn-tool" data-widget="remove"><i class="fas fa-times"></i>
  558. </button>
  559. </div>
  560. </div>
  561. <!-- /.card-header -->
  562. <div class="card-body">
  563. <div class="row">
  564. <div class="col-6 col-md-3 text-center">
  565. <input type="text" class="knob" value="30" data-width="90" data-height="90" data-fgColor="#3c8dbc">
  566. <div class="knob-label">New Visitors</div>
  567. </div>
  568. <!-- ./col -->
  569. <div class="col-6 col-md-3 text-center">
  570. <input type="text" class="knob" value="70" data-width="90" data-height="90" data-fgColor="#f56954">
  571. <div class="knob-label">Bounce Rate</div>
  572. </div>
  573. <!-- ./col -->
  574. <div class="col-6 col-md-3 text-center">
  575. <input type="text" class="knob" value="-80" data-min="-150" data-max="150" data-width="90"
  576. data-height="90" data-fgColor="#00a65a">
  577. <div class="knob-label">Server Load</div>
  578. </div>
  579. <!-- ./col -->
  580. <div class="col-6 col-md-3 text-center">
  581. <input type="text" class="knob" value="40" data-width="90" data-height="90" data-fgColor="#00c0ef">
  582. <div class="knob-label">Disk Space</div>
  583. </div>
  584. <!-- ./col -->
  585. </div>
  586. <!-- /.row -->
  587. <div class="row">
  588. <div class="col-6 text-center">
  589. <input type="text" class="knob" value="90" data-width="90" data-height="90" data-fgColor="#932ab6">
  590. <div class="knob-label">Bandwidth</div>
  591. </div>
  592. <!-- ./col -->
  593. <div class="col-6 text-center">
  594. <input type="text" class="knob" value="50" data-width="90" data-height="90" data-fgColor="#39CCCC">
  595. <div class="knob-label">CPU</div>
  596. </div>
  597. <!-- ./col -->
  598. </div>
  599. <!-- /.row -->
  600. </div>
  601. <!-- /.card-body -->
  602. </div>
  603. <!-- /.card -->
  604. </div>
  605. <!-- /.col -->
  606. </div>
  607. <!-- /.row -->
  608. <div class="row">
  609. <div class="col-12">
  610. <div class="card">
  611. <div class="card-header">
  612. <h3 class="card-title">
  613. <i class="far fa-chart-bar"></i>
  614. jQuery Knob Different Sizes
  615. </h3>
  616. <div class="card-tools">
  617. <button type="button" class="btn btn-tool" data-widget="collapse"><i
  618. class="fas fa-minus"></i>
  619. </button>
  620. <button type="button" class="btn btn-tool" data-widget="remove"><i class="fas fa-times"></i>
  621. </button>
  622. </div>
  623. </div>
  624. <!-- /.card-header -->
  625. <div class="card-body">
  626. <div class="row">
  627. <div class="col-6 col-md-3 text-center">
  628. <input type="text" class="knob" value="30" data-width="90" data-height="90" data-fgColor="#3c8dbc"
  629. data-readonly="true">
  630. <div class="knob-label">data-width="90"</div>
  631. </div>
  632. <!-- ./col -->
  633. <div class="col-6 col-md-3 text-center">
  634. <input type="text" class="knob" value="30" data-width="120" data-height="120"
  635. data-fgColor="#f56954">
  636. <div class="knob-label">data-width="120"</div>
  637. </div>
  638. <!-- ./col -->
  639. <div class="col-6 col-md-3 text-center">
  640. <input type="text" class="knob" value="30" data-thickness="0.1" data-width="90" data-height="90"
  641. data-fgColor="#00a65a">
  642. <div class="knob-label">data-thickness="0.1"</div>
  643. </div>
  644. <!-- ./col -->
  645. <div class="col-6 col-md-3 text-center">
  646. <input type="text" class="knob" data-thickness="0.2" data-angleArc="250" data-angleOffset="-125"
  647. value="30" data-width="120" data-height="120" data-fgColor="#00c0ef">
  648. <div class="knob-label">data-angleArc="250"</div>
  649. </div>
  650. <!-- ./col -->
  651. </div>
  652. <!-- /.row -->
  653. </div>
  654. <!-- /.card-body -->
  655. </div>
  656. <!-- /.card -->
  657. </div>
  658. <!-- /.col -->
  659. </div>
  660. <!-- /.row -->
  661. <div class="row">
  662. <div class="col-12">
  663. <div class="card">
  664. <div class="card-header">
  665. <h3 class="card-title">
  666. <i class="far fa-chart-bar"></i>
  667. jQuery Knob Tron Style
  668. </h3>
  669. <div class="card-tools">
  670. <button type="button" class="btn btn-tool" data-widget="collapse"><i
  671. class="fas fa-minus"></i>
  672. </button>
  673. <button type="button" class="btn btn-tool" data-widget="remove"><i class="fas fa-times"></i>
  674. </button>
  675. </div>
  676. </div>
  677. <!-- /.card-header -->
  678. <div class="card-body">
  679. <div class="row">
  680. <div class="col-6 col-md-3 text-center">
  681. <input type="text" class="knob" value="80" data-skin="tron" data-thickness="0.2" data-width="90"
  682. data-height="90" data-fgColor="#3c8dbc" data-readonly="true">
  683. <div class="knob-label">data-width="90"</div>
  684. </div>
  685. <!-- ./col -->
  686. <div class="col-6 col-md-3 text-center">
  687. <input type="text" class="knob" value="60" data-skin="tron" data-thickness="0.2" data-width="120"
  688. data-height="120" data-fgColor="#f56954">
  689. <div class="knob-label">data-width="120"</div>
  690. </div>
  691. <!-- ./col -->
  692. <div class="col-6 col-md-3 text-center">
  693. <input type="text" class="knob" value="10" data-skin="tron" data-thickness="0.1" data-width="90"
  694. data-height="90" data-fgColor="#00a65a">
  695. <div class="knob-label">data-thickness="0.1"</div>
  696. </div>
  697. <!-- ./col -->
  698. <div class="col-6 col-md-3 text-center">
  699. <input type="text" class="knob" value="100" data-skin="tron" data-thickness="0.2"
  700. data-angleArc="250" data-angleOffset="-125" data-width="120" data-height="120"
  701. data-fgColor="#00c0ef">
  702. <div class="knob-label">data-angleArc="250"</div>
  703. </div>
  704. <!-- ./col -->
  705. </div>
  706. <!-- /.row -->
  707. </div>
  708. <!-- /.card-body -->
  709. </div>
  710. <!-- /.card -->
  711. </div>
  712. <!-- /.col -->
  713. </div>
  714. <!-- /.row -->
  715. <!-- callout -->
  716. <div class="callout callout-info">
  717. <h5>The following was created using data tags</h5>
  718. <p>The following three inline (sparkline) chart have been initialized to read and interpret data tags</p>
  719. </div>
  720. <!-- /.callout -->
  721. <div class="row">
  722. <div class="col-md-4">
  723. <div class="card">
  724. <div class="card-header">
  725. <h3 class="card-title text-danger">Sparkline Pie</h3>
  726. <div class="card-tools">
  727. <button type="button" class="btn btn-tool"><i class="fas fa-refresh"></i></button>
  728. </div>
  729. </div>
  730. <!-- /.card-header -->
  731. <div class="card-body text-center">
  732. <div class="sparkline" data-type="pie" data-offset="90" data-width="100px" data-height="100px">
  733. 6,4,8
  734. </div>
  735. </div>
  736. <!-- /.card-body -->
  737. </div>
  738. <!-- /.card -->
  739. </div>
  740. <!-- /.col -->
  741. <div class="col-md-4">
  742. <div class="card">
  743. <div class="card-header">
  744. <h3 class="card-title text-primary">Sparkline line</h3>
  745. <div class="card-tools">
  746. <button type="button" class="btn btn-tool"><i class="fas fa-refresh"></i></button>
  747. </div>
  748. </div>
  749. <!-- /.card-header -->
  750. <div class="card-body text-center">
  751. <div class="sparkline" data-type="line" data-spot-Radius="3" data-highlight-Spot-Color="#f39c12"
  752. data-highlight-Line-Color="#222" data-min-Spot-Color="#f56954" data-max-Spot-Color="#00a65a"
  753. data-spot-Color="#39CCCC" data-offset="90" data-width="100%" data-height="100px"
  754. data-line-Width="2" data-line-Color="#39CCCC" data-fill-Color="rgba(57, 204, 204, 0.08)">
  755. 6,4,7,8,4,3,2,2,5,6,7,4,1,5,7,9,9,8,7,6
  756. </div>
  757. </div>
  758. <!-- /.card-body -->
  759. </div>
  760. <!-- /.card -->
  761. </div>
  762. <!-- /.col -->
  763. <div class="col-md-4">
  764. <div class="card">
  765. <div class="card-header">
  766. <h3 class="card-title text-warning">Sparkline Bar</h3>
  767. <div class="card-tools">
  768. <button type="button" class="btn btn-tool"><i class="fas fa-refresh"></i></button>
  769. </div>
  770. </div>
  771. <!-- /.card-header -->
  772. <div class="card-body text-center">
  773. <div class="sparkline" data-type="bar" data-width="97%" data-height="100px" data-bar-Width="14"
  774. data-bar-Spacing="7" data-bar-Color="#f39c12">
  775. 6,4,8, 9, 10, 5, 13, 18, 21, 7, 9
  776. </div>
  777. </div>
  778. <!-- /.card-body -->
  779. </div>
  780. <!-- /.card -->
  781. </div>
  782. <!-- /.col -->
  783. </div>
  784. <!-- /.row -->
  785. <div class="row">
  786. <div class="col-12">
  787. <div class="card">
  788. <div class="card-header">
  789. <h3 class="card-title">Sparkline examples</h3>
  790. <div class="card-tools">
  791. <button type="button" class="btn btn-tool" data-widget="collapse"><i
  792. class="fas fa-minus"></i>
  793. </button>
  794. <button type="button" class="btn btn-tool" data-widget="remove"><i class="fas fa-times"></i>
  795. </button>
  796. </div>
  797. </div>
  798. <!-- /.card-header -->
  799. <div id="myBody" class="card-body">
  800. <div class="row">
  801. <div class="col-sm-6">
  802. <p>
  803. Mouse speed <span id="mousespeed">Loading..</span>
  804. </p>
  805. <p>
  806. Inline <span class="sparkline-1">10,8,9,3,5,8,5</span>
  807. line graphs
  808. <span class="sparkline-1">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
  809. </p>
  810. <p>
  811. Bar charts <span class="sparkbar">10,8,9,3,5,8,5</span>
  812. negative values: <span class="sparkbar">-3,1,2,0,3,-1</span>
  813. stacked: <span class="sparkbar">0:2,2:4,4:2,4:1</span>
  814. </p>
  815. <p>
  816. Composite inline
  817. <span id="compositeline">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
  818. </p>
  819. <p>
  820. Inline with normal range
  821. <span id="normalline">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
  822. </p>
  823. <p>
  824. Composite bar
  825. <span id="compositebar">4,6,7,7,4,3,2,1,4</span>
  826. </p>
  827. <p>
  828. Discrete
  829. <span class="discrete1">4,6,7,7,4,3,2,1,4,4,5,6,7,6,6,2,4,5</span><br>
  830. Discrete with threshold
  831. <span id="discrete2">4,6,7,7,4,3,2,1,4</span>
  832. </p>
  833. <p>
  834. Bullet charts<br>
  835. <span class="sparkbullet">10,12,12,9,7</span><br>
  836. <span class="sparkbullet">14,12,12,9,7</span><br>
  837. <span class="sparkbullet">10,12,14,9,7</span><br>
  838. </p>
  839. </div>
  840. <!-- /.col -->
  841. <div class="col-sm-6">
  842. <p>
  843. Customize size and colours
  844. <span id="linecustom">10,8,9,3,5,8,5,7</span>
  845. </p>
  846. <p>
  847. Tristate charts
  848. <span class="sparktristate">1,1,0,1,-1,-1,1,-1,0,0,1,1</span><br>
  849. (think games won, lost or drawn)
  850. </p>
  851. <p>
  852. Tristate chart using a colour map:
  853. <span class="sparktristatecols">1,2,0,2,-1,-2,1,-2,0,0,1,1</span>
  854. </p>
  855. <p>
  856. Box Plot: <span class="sparkboxplot">4,27,34,52,54,59,61,68,78,82,85,87,91,93,100</span><br>
  857. Pre-computed box plot <span class="sparkboxplotraw">Loading..</span>
  858. </p>
  859. <p>
  860. Pie charts
  861. <span class="sparkpie">1,1,2</span>
  862. <span class="sparkpie">1,5</span>
  863. <span class="sparkpie">20,50,80</span>
  864. </p>
  865. </div>
  866. <!-- /.col -->
  867. </div>
  868. <!-- /.row -->
  869. </div>
  870. <!-- /.card-body -->
  871. </div>
  872. <!-- /.card -->
  873. </div>
  874. <!-- /.col -->
  875. </div>
  876. <!-- /.row -->
  877. </div><!-- /.container-fluid -->
  878. </section>
  879. <!-- /.content -->
  880. </div>
  881. <!-- /.content-wrapper -->
  882. <footer class="main-footer">
  883. <div class="float-right d-none d-sm-block">
  884. <b>Version</b> 3.0.0-beta.1
  885. </div>
  886. <strong>Copyright &copy; 2014-2018 <a href="http://adminlte.io">AdminLTE.io</a>.</strong> All rights
  887. reserved.
  888. </footer>
  889. <!-- Control Sidebar -->
  890. <aside class="control-sidebar control-sidebar-dark">
  891. <!-- Control sidebar content goes here -->
  892. </aside>
  893. <!-- /.control-sidebar -->
  894. </div>
  895. <!-- ./wrapper -->
  896. <!-- jQuery -->
  897. <script src="../../plugins/jquery/jquery.min.js"></script>
  898. <!-- Bootstrap 4 -->
  899. <script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
  900. <!-- FastClick -->
  901. <script src="../../plugins/fastclick/fastclick.js"></script>
  902. <!-- AdminLTE App -->
  903. <script src="../../dist/js/adminlte.min.js"></script>
  904. <!-- AdminLTE for demo purposes -->
  905. <script src="../../dist/js/demo.js"></script>
  906. <!-- jQuery Knob -->
  907. <script src="../../plugins/knob/jquery.knob.js"></script>
  908. <!-- Sparkline -->
  909. <script src="../../plugins/sparkline/jquery.sparkline.min.js"></script>
  910. <!-- page script -->
  911. <script>
  912. $(function () {
  913. /* jQueryKnob */
  914. $('.knob').knob({
  915. /*change : function (value) {
  916. //console.log("change : " + value);
  917. },
  918. release : function (value) {
  919. console.log("release : " + value);
  920. },
  921. cancel : function () {
  922. console.log("cancel : " + this.value);
  923. },*/
  924. draw: function () {
  925. // "tron" case
  926. if (this.$.data('skin') == 'tron') {
  927. var a = this.angle(this.cv) // Angle
  928. ,
  929. sa = this.startAngle // Previous start angle
  930. ,
  931. sat = this.startAngle // Start angle
  932. ,
  933. ea // Previous end angle
  934. ,
  935. eat = sat + a // End angle
  936. ,
  937. r = true
  938. this.g.lineWidth = this.lineWidth
  939. this.o.cursor
  940. && (sat = eat - 0.3)
  941. && (eat = eat + 0.3)
  942. if (this.o.displayPrevious) {
  943. ea = this.startAngle + this.angle(this.value)
  944. this.o.cursor
  945. && (sa = ea - 0.3)
  946. && (ea = ea + 0.3)
  947. this.g.beginPath()
  948. this.g.strokeStyle = this.previousColor
  949. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sa, ea, false)
  950. this.g.stroke()
  951. }
  952. this.g.beginPath()
  953. this.g.strokeStyle = r ? this.o.fgColor : this.fgColor
  954. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sat, eat, false)
  955. this.g.stroke()
  956. this.g.lineWidth = 2
  957. this.g.beginPath()
  958. this.g.strokeStyle = this.o.fgColor
  959. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false)
  960. this.g.stroke()
  961. return false
  962. }
  963. }
  964. })
  965. /* END JQUERY KNOB */
  966. //INITIALIZE SPARKLINE CHARTS
  967. $('.sparkline').each(function () {
  968. var $this = $(this)
  969. $this.sparkline('html', $this.data())
  970. })
  971. /* SPARKLINE DOCUMENTATION EXAMPLES http://omnipotent.net/jquery.sparkline/#s-about */
  972. drawDocSparklines()
  973. drawMouseSpeedDemo()
  974. })
  975. function drawDocSparklines() {
  976. // Bar + line composite charts
  977. $('#compositebar').sparkline('html', {
  978. type : 'bar',
  979. barColor: '#aaf'
  980. })
  981. $('#compositebar').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
  982. {
  983. composite: true,
  984. fillColor: false,
  985. lineColor: 'red'
  986. })
  987. // Line charts taking their values from the tag
  988. $('.sparkline-1').sparkline()
  989. // Larger line charts for the docs
  990. $('.largeline').sparkline('html',
  991. {
  992. type : 'line',
  993. height: '2.5em',
  994. width : '4em'
  995. })
  996. // Customized line chart
  997. $('#linecustom').sparkline('html',
  998. {
  999. height : '1.5em',
  1000. width : '8em',
  1001. lineColor : '#f00',
  1002. fillColor : '#ffa',
  1003. minSpotColor: false,
  1004. maxSpotColor: false,
  1005. spotColor : '#77f',
  1006. spotRadius : 3
  1007. })
  1008. // Bar charts using inline values
  1009. $('.sparkbar').sparkline('html', { type: 'bar' })
  1010. $('.barformat').sparkline([1, 3, 5, 3, 8], {
  1011. type : 'bar',
  1012. tooltipFormat : '{{value:levels}} - {{value}}',
  1013. tooltipValueLookups: {
  1014. levels: $.range_map({
  1015. ':2' : 'Low',
  1016. '3:6': 'Medium',
  1017. '7:' : 'High'
  1018. })
  1019. }
  1020. })
  1021. // Tri-state charts using inline values
  1022. $('.sparktristate').sparkline('html', { type: 'tristate' })
  1023. $('.sparktristatecols').sparkline('html',
  1024. {
  1025. type : 'tristate',
  1026. colorMap: {
  1027. '-2': '#fa7',
  1028. '2' : '#44f'
  1029. }
  1030. })
  1031. // Composite line charts, the second using values supplied via javascript
  1032. $('#compositeline').sparkline('html', {
  1033. fillColor : false,
  1034. changeRangeMin: 0,
  1035. chartRangeMax : 10
  1036. })
  1037. $('#compositeline').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
  1038. {
  1039. composite : true,
  1040. fillColor : false,
  1041. lineColor : 'red',
  1042. changeRangeMin: 0,
  1043. chartRangeMax : 10
  1044. })
  1045. // Line charts with normal range marker
  1046. $('#normalline').sparkline('html',
  1047. {
  1048. fillColor : false,
  1049. normalRangeMin: -1,
  1050. normalRangeMax: 8
  1051. })
  1052. $('#normalExample').sparkline('html',
  1053. {
  1054. fillColor : false,
  1055. normalRangeMin : 80,
  1056. normalRangeMax : 95,
  1057. normalRangeColor: '#4f4'
  1058. })
  1059. // Discrete charts
  1060. $('.discrete1').sparkline('html',
  1061. {
  1062. type : 'discrete',
  1063. lineColor: 'blue',
  1064. xwidth : 18
  1065. })
  1066. $('#discrete2').sparkline('html',
  1067. {
  1068. type : 'discrete',
  1069. lineColor : 'blue',
  1070. thresholdColor: 'red',
  1071. thresholdValue: 4
  1072. })
  1073. // Bullet charts
  1074. $('.sparkbullet').sparkline('html', { type: 'bullet' })
  1075. // Pie charts
  1076. $('.sparkpie').sparkline('html', {
  1077. type : 'pie',
  1078. height: '1.0em'
  1079. })
  1080. // Box plots
  1081. $('.sparkboxplot').sparkline('html', { type: 'box' })
  1082. $('.sparkboxplotraw').sparkline([1, 3, 5, 8, 10, 15, 18],
  1083. {
  1084. type : 'box',
  1085. raw : true,
  1086. showOutliers: true,
  1087. target : 6
  1088. })
  1089. // Box plot with specific field order
  1090. $('.boxfieldorder').sparkline('html', {
  1091. type : 'box',
  1092. tooltipFormatFieldlist : ['med', 'lq', 'uq'],
  1093. tooltipFormatFieldlistKey: 'field'
  1094. })
  1095. // click event demo sparkline
  1096. $('.clickdemo').sparkline()
  1097. $('.clickdemo').bind('sparklineClick', function (ev) {
  1098. var sparkline = ev.sparklines[0],
  1099. region = sparkline.getCurrentRegionFields()
  1100. value = region.y
  1101. alert('Clicked on x=' + region.x + ' y=' + region.y)
  1102. })
  1103. // mouseover event demo sparkline
  1104. $('.mouseoverdemo').sparkline()
  1105. $('.mouseoverdemo').bind('sparklineRegionChange', function (ev) {
  1106. var sparkline = ev.sparklines[0],
  1107. region = sparkline.getCurrentRegionFields()
  1108. value = region.y
  1109. $('.mouseoverregion').text('x=' + region.x + ' y=' + region.y)
  1110. }).bind('mouseleave', function () {
  1111. $('.mouseoverregion').text('')
  1112. })
  1113. }
  1114. /**
  1115. ** Draw the little mouse speed animated graph
  1116. ** This just attaches a handler to the mousemove event to see
  1117. ** (roughly) how far the mouse has moved
  1118. ** and then updates the display a couple of times a second via
  1119. ** setTimeout()
  1120. **/
  1121. function drawMouseSpeedDemo() {
  1122. var mrefreshinterval = 500 // update display every 500ms
  1123. var lastmousex = -1
  1124. var lastmousey = -1
  1125. var lastmousetime
  1126. var mousetravel = 0
  1127. var mpoints = []
  1128. var mpoints_max = 30
  1129. $('html').mousemove(function (e) {
  1130. var mousex = e.pageX
  1131. var mousey = e.pageY
  1132. if (lastmousex > -1) {
  1133. mousetravel += Math.max(Math.abs(mousex - lastmousex), Math.abs(mousey - lastmousey))
  1134. }
  1135. lastmousex = mousex
  1136. lastmousey = mousey
  1137. })
  1138. var mdraw = function () {
  1139. var md = new Date()
  1140. var timenow = md.getTime()
  1141. if (lastmousetime && lastmousetime != timenow) {
  1142. var pps = Math.round(mousetravel / (timenow - lastmousetime) * 1000)
  1143. mpoints.push(pps)
  1144. if (mpoints.length > mpoints_max) {
  1145. mpoints.splice(0, 1)
  1146. }
  1147. mousetravel = 0
  1148. $('#mousespeed').sparkline(mpoints, {
  1149. width : mpoints.length * 2,
  1150. tooltipSuffix: ' pixels per second'
  1151. })
  1152. }
  1153. lastmousetime = timenow
  1154. setTimeout(mdraw, mrefreshinterval)
  1155. }
  1156. // We could use setInterval instead, but I prefer to do it this way
  1157. setTimeout(mdraw, mrefreshinterval);
  1158. }
  1159. </script>
  1160. </body>
  1161. </html>