uplot.html 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>AdminLTE 3 | uPlot</title>
  7. <!-- Google Font: Source Sans Pro -->
  8. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  9. <!-- Font Awesome -->
  10. <link rel="stylesheet" href="../../plugins/fontawesome-free/css/all.min.css">
  11. <!-- uPlot -->
  12. <link rel="stylesheet" href="../../plugins/uplot/uPlot.min.css">
  13. <!-- Theme style -->
  14. <link rel="stylesheet" href="../../dist/css/adminlte.min.css">
  15. </head>
  16. <body class="hold-transition sidebar-mini">
  17. <div class="wrapper">
  18. <!-- Navbar -->
  19. <nav class="main-header navbar navbar-expand navbar-white navbar-light">
  20. <!-- Left navbar links -->
  21. <ul class="navbar-nav">
  22. <li class="nav-item">
  23. <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
  24. </li>
  25. <li class="nav-item d-none d-sm-inline-block">
  26. <a href="../../index3.html" class="nav-link">Home</a>
  27. </li>
  28. <li class="nav-item d-none d-sm-inline-block">
  29. <a href="#" class="nav-link">Contact</a>
  30. </li>
  31. </ul>
  32. <!-- Right navbar links -->
  33. <ul class="navbar-nav ml-auto">
  34. <!-- Navbar Search -->
  35. <li class="nav-item">
  36. <a class="nav-link" data-widget="navbar-search" href="#" role="button">
  37. <i class="fas fa-search"></i>
  38. </a>
  39. <div class="navbar-search-block">
  40. <form class="form-inline">
  41. <div class="input-group input-group-sm">
  42. <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
  43. <div class="input-group-append">
  44. <button class="btn btn-navbar" type="submit">
  45. <i class="fas fa-search"></i>
  46. </button>
  47. <button class="btn btn-navbar" type="button" data-widget="navbar-search">
  48. <i class="fas fa-times"></i>
  49. </button>
  50. </div>
  51. </div>
  52. </form>
  53. </div>
  54. </li>
  55. <!-- Messages Dropdown Menu -->
  56. <li class="nav-item dropdown">
  57. <a class="nav-link" data-toggle="dropdown" href="#">
  58. <i class="far fa-comments"></i>
  59. <span class="badge badge-danger navbar-badge">3</span>
  60. </a>
  61. <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  62. <a href="#" class="dropdown-item">
  63. <!-- Message Start -->
  64. <div class="media">
  65. <img src="../../dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
  66. <div class="media-body">
  67. <h3 class="dropdown-item-title">
  68. Brad Diesel
  69. <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
  70. </h3>
  71. <p class="text-sm">Call me whenever you can...</p>
  72. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  73. </div>
  74. </div>
  75. <!-- Message End -->
  76. </a>
  77. <div class="dropdown-divider"></div>
  78. <a href="#" class="dropdown-item">
  79. <!-- Message Start -->
  80. <div class="media">
  81. <img src="../../dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
  82. <div class="media-body">
  83. <h3 class="dropdown-item-title">
  84. John Pierce
  85. <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
  86. </h3>
  87. <p class="text-sm">I got your message bro</p>
  88. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  89. </div>
  90. </div>
  91. <!-- Message End -->
  92. </a>
  93. <div class="dropdown-divider"></div>
  94. <a href="#" class="dropdown-item">
  95. <!-- Message Start -->
  96. <div class="media">
  97. <img src="../../dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
  98. <div class="media-body">
  99. <h3 class="dropdown-item-title">
  100. Nora Silvester
  101. <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
  102. </h3>
  103. <p class="text-sm">The subject goes here</p>
  104. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  105. </div>
  106. </div>
  107. <!-- Message End -->
  108. </a>
  109. <div class="dropdown-divider"></div>
  110. <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
  111. </div>
  112. </li>
  113. <!-- Notifications Dropdown Menu -->
  114. <li class="nav-item dropdown">
  115. <a class="nav-link" data-toggle="dropdown" href="#">
  116. <i class="far fa-bell"></i>
  117. <span class="badge badge-warning navbar-badge">15</span>
  118. </a>
  119. <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  120. <span class="dropdown-item dropdown-header">15 Notifications</span>
  121. <div class="dropdown-divider"></div>
  122. <a href="#" class="dropdown-item">
  123. <i class="fas fa-envelope mr-2"></i> 4 new messages
  124. <span class="float-right text-muted text-sm">3 mins</span>
  125. </a>
  126. <div class="dropdown-divider"></div>
  127. <a href="#" class="dropdown-item">
  128. <i class="fas fa-users mr-2"></i> 8 friend requests
  129. <span class="float-right text-muted text-sm">12 hours</span>
  130. </a>
  131. <div class="dropdown-divider"></div>
  132. <a href="#" class="dropdown-item">
  133. <i class="fas fa-file mr-2"></i> 3 new reports
  134. <span class="float-right text-muted text-sm">2 days</span>
  135. </a>
  136. <div class="dropdown-divider"></div>
  137. <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
  138. </div>
  139. </li>
  140. <li class="nav-item">
  141. <a class="nav-link" data-widget="fullscreen" href="#" role="button">
  142. <i class="fas fa-expand-arrows-alt"></i>
  143. </a>
  144. </li>
  145. <li class="nav-item">
  146. <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
  147. <i class="fas fa-th-large"></i>
  148. </a>
  149. </li>
  150. </ul>
  151. </nav>
  152. <!-- /.navbar -->
  153. <!-- Main Sidebar Container -->
  154. <aside class="main-sidebar sidebar-dark-primary elevation-4">
  155. <!-- Brand Logo -->
  156. <a href="../../index3.html" class="brand-link">
  157. <img src="../../dist/img/AdminLTELogo.png"
  158. alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
  159. <span class="brand-text font-weight-light">AdminLTE 3</span>
  160. </a>
  161. <!-- Sidebar -->
  162. <div class="sidebar">
  163. <!-- Sidebar user panel (optional) -->
  164. <div class="user-panel mt-3 pb-3 mb-3 d-flex">
  165. <div class="image">
  166. <img src="../../dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
  167. </div>
  168. <div class="info">
  169. <a href="#" class="d-block">Alexander Pierce</a>
  170. </div>
  171. </div>
  172. <!-- SidebarSearch Form -->
  173. <div class="form-inline">
  174. <div class="input-group" data-widget="sidebar-search">
  175. <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
  176. <div class="input-group-append">
  177. <button class="btn btn-sidebar">
  178. <i class="fas fa-search fa-fw"></i>
  179. </button>
  180. </div>
  181. </div>
  182. </div>
  183. <!-- Sidebar Menu -->
  184. <nav class="mt-2">
  185. <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
  186. <!-- Add icons to the links using the .nav-icon class
  187. with font-awesome or any other icon font library -->
  188. <li class="nav-item">
  189. <a href="#" class="nav-link">
  190. <i class="nav-icon fas fa-tachometer-alt"></i>
  191. <p>
  192. Dashboard
  193. <i class="right fas fa-angle-left"></i>
  194. </p>
  195. </a>
  196. <ul class="nav nav-treeview">
  197. <li class="nav-item">
  198. <a href="../../index.html" class="nav-link">
  199. <i class="far fa-circle nav-icon"></i>
  200. <p>Dashboard v1</p>
  201. </a>
  202. </li>
  203. <li class="nav-item">
  204. <a href="../../index2.html" class="nav-link">
  205. <i class="far fa-circle nav-icon"></i>
  206. <p>Dashboard v2</p>
  207. </a>
  208. </li>
  209. <li class="nav-item">
  210. <a href="../../index3.html" class="nav-link">
  211. <i class="far fa-circle nav-icon"></i>
  212. <p>Dashboard v3</p>
  213. </a>
  214. </li>
  215. </ul>
  216. </li>
  217. <li class="nav-item">
  218. <a href="../widgets.html" class="nav-link">
  219. <i class="nav-icon fas fa-th"></i>
  220. <p>
  221. Widgets
  222. <span class="right badge badge-danger">New</span>
  223. </p>
  224. </a>
  225. </li>
  226. <li class="nav-item">
  227. <a href="#" class="nav-link">
  228. <i class="nav-icon fas fa-copy"></i>
  229. <p>
  230. Layout Options
  231. <i class="fas fa-angle-left right"></i>
  232. <span class="badge badge-info right">6</span>
  233. </p>
  234. </a>
  235. <ul class="nav nav-treeview">
  236. <li class="nav-item">
  237. <a href="../layout/top-nav.html" class="nav-link">
  238. <i class="far fa-circle nav-icon"></i>
  239. <p>Top Navigation</p>
  240. </a>
  241. </li>
  242. <li class="nav-item">
  243. <a href="../layout/top-nav-sidebar.html" class="nav-link">
  244. <i class="far fa-circle nav-icon"></i>
  245. <p>Top Navigation + Sidebar</p>
  246. </a>
  247. </li>
  248. <li class="nav-item">
  249. <a href="../layout/boxed.html" class="nav-link">
  250. <i class="far fa-circle nav-icon"></i>
  251. <p>Boxed</p>
  252. </a>
  253. </li>
  254. <li class="nav-item">
  255. <a href="../layout/fixed-sidebar.html" class="nav-link">
  256. <i class="far fa-circle nav-icon"></i>
  257. <p>Fixed Sidebar</p>
  258. </a>
  259. </li>
  260. <li class="nav-item">
  261. <a href="../layout/fixed-sidebar-custom.html" class="nav-link">
  262. <i class="far fa-circle nav-icon"></i>
  263. <p>Fixed Sidebar <small>+ Custom Area</small></p>
  264. </a>
  265. </li>
  266. <li class="nav-item">
  267. <a href="../layout/fixed-topnav.html" class="nav-link">
  268. <i class="far fa-circle nav-icon"></i>
  269. <p>Fixed Navbar</p>
  270. </a>
  271. </li>
  272. <li class="nav-item">
  273. <a href="../layout/fixed-footer.html" class="nav-link">
  274. <i class="far fa-circle nav-icon"></i>
  275. <p>Fixed Footer</p>
  276. </a>
  277. </li>
  278. <li class="nav-item">
  279. <a href="../layout/collapsed-sidebar.html" class="nav-link">
  280. <i class="far fa-circle nav-icon"></i>
  281. <p>Collapsed Sidebar</p>
  282. </a>
  283. </li>
  284. </ul>
  285. </li>
  286. <li class="nav-item menu-open">
  287. <a href="#" class="nav-link active">
  288. <i class="nav-icon fas fa-chart-pie"></i>
  289. <p>
  290. Charts
  291. <i class="right fas fa-angle-left"></i>
  292. </p>
  293. </a>
  294. <ul class="nav nav-treeview">
  295. <li class="nav-item">
  296. <a href="chartjs.html" class="nav-link">
  297. <i class="far fa-circle nav-icon"></i>
  298. <p>ChartJS</p>
  299. </a>
  300. </li>
  301. <li class="nav-item">
  302. <a href="flot.html" class="nav-link">
  303. <i class="far fa-circle nav-icon"></i>
  304. <p>Flot</p>
  305. </a>
  306. </li>
  307. <li class="nav-item">
  308. <a href="inline.html" class="nav-link">
  309. <i class="far fa-circle nav-icon"></i>
  310. <p>Inline</p>
  311. </a>
  312. </li>
  313. <li class="nav-item">
  314. <a href="chartjs.html" class="nav-link active">
  315. <i class="far fa-circle nav-icon"></i>
  316. <p>uPlot</p>
  317. </a>
  318. </li>
  319. </ul>
  320. </li>
  321. <li class="nav-item">
  322. <a href="#" class="nav-link">
  323. <i class="nav-icon fas fa-tree"></i>
  324. <p>
  325. UI Elements
  326. <i class="fas fa-angle-left right"></i>
  327. </p>
  328. </a>
  329. <ul class="nav nav-treeview">
  330. <li class="nav-item">
  331. <a href="../UI/general.html" class="nav-link">
  332. <i class="far fa-circle nav-icon"></i>
  333. <p>General</p>
  334. </a>
  335. </li>
  336. <li class="nav-item">
  337. <a href="../UI/icons.html" class="nav-link">
  338. <i class="far fa-circle nav-icon"></i>
  339. <p>Icons</p>
  340. </a>
  341. </li>
  342. <li class="nav-item">
  343. <a href="../UI/buttons.html" class="nav-link">
  344. <i class="far fa-circle nav-icon"></i>
  345. <p>Buttons</p>
  346. </a>
  347. </li>
  348. <li class="nav-item">
  349. <a href="../UI/sliders.html" class="nav-link">
  350. <i class="far fa-circle nav-icon"></i>
  351. <p>Sliders</p>
  352. </a>
  353. </li>
  354. <li class="nav-item">
  355. <a href="../UI/modals.html" class="nav-link">
  356. <i class="far fa-circle nav-icon"></i>
  357. <p>Modals & Alerts</p>
  358. </a>
  359. </li>
  360. <li class="nav-item">
  361. <a href="../UI/navbar.html" class="nav-link">
  362. <i class="far fa-circle nav-icon"></i>
  363. <p>Navbar & Tabs</p>
  364. </a>
  365. </li>
  366. <li class="nav-item">
  367. <a href="../UI/timeline.html" class="nav-link">
  368. <i class="far fa-circle nav-icon"></i>
  369. <p>Timeline</p>
  370. </a>
  371. </li>
  372. <li class="nav-item">
  373. <a href="../UI/ribbons.html" class="nav-link">
  374. <i class="far fa-circle nav-icon"></i>
  375. <p>Ribbons</p>
  376. </a>
  377. </li>
  378. </ul>
  379. </li>
  380. <li class="nav-item">
  381. <a href="#" class="nav-link">
  382. <i class="nav-icon fas fa-edit"></i>
  383. <p>
  384. Forms
  385. <i class="fas fa-angle-left right"></i>
  386. </p>
  387. </a>
  388. <ul class="nav nav-treeview">
  389. <li class="nav-item">
  390. <a href="../forms/general.html" class="nav-link">
  391. <i class="far fa-circle nav-icon"></i>
  392. <p>General Elements</p>
  393. </a>
  394. </li>
  395. <li class="nav-item">
  396. <a href="../forms/advanced.html" class="nav-link">
  397. <i class="far fa-circle nav-icon"></i>
  398. <p>Advanced Elements</p>
  399. </a>
  400. </li>
  401. <li class="nav-item">
  402. <a href="../forms/editors.html" class="nav-link">
  403. <i class="far fa-circle nav-icon"></i>
  404. <p>Editors</p>
  405. </a>
  406. </li>
  407. <li class="nav-item">
  408. <a href="../forms/validation.html" class="nav-link">
  409. <i class="far fa-circle nav-icon"></i>
  410. <p>Validation</p>
  411. </a>
  412. </li>
  413. </ul>
  414. </li>
  415. <li class="nav-item">
  416. <a href="#" class="nav-link">
  417. <i class="nav-icon fas fa-table"></i>
  418. <p>
  419. Tables
  420. <i class="fas fa-angle-left right"></i>
  421. </p>
  422. </a>
  423. <ul class="nav nav-treeview">
  424. <li class="nav-item">
  425. <a href="../tables/simple.html" class="nav-link">
  426. <i class="far fa-circle nav-icon"></i>
  427. <p>Simple Tables</p>
  428. </a>
  429. </li>
  430. <li class="nav-item">
  431. <a href="../tables/data.html" class="nav-link">
  432. <i class="far fa-circle nav-icon"></i>
  433. <p>DataTables</p>
  434. </a>
  435. </li>
  436. <li class="nav-item">
  437. <a href="../tables/jsgrid.html" class="nav-link">
  438. <i class="far fa-circle nav-icon"></i>
  439. <p>jsGrid</p>
  440. </a>
  441. </li>
  442. </ul>
  443. </li>
  444. <li class="nav-header">EXAMPLES</li>
  445. <li class="nav-item">
  446. <a href="../calendar.html" class="nav-link">
  447. <i class="nav-icon far fa-calendar-alt"></i>
  448. <p>
  449. Calendar
  450. <span class="badge badge-info right">2</span>
  451. </p>
  452. </a>
  453. </li>
  454. <li class="nav-item">
  455. <a href="../gallery.html" class="nav-link">
  456. <i class="nav-icon far fa-image"></i>
  457. <p>
  458. Gallery
  459. </p>
  460. </a>
  461. </li>
  462. <li class="nav-item">
  463. <a href="../kanban.html" class="nav-link">
  464. <i class="nav-icon fas fa-columns"></i>
  465. <p>
  466. Kanban Board
  467. </p>
  468. </a>
  469. </li>
  470. <li class="nav-item">
  471. <a href="#" class="nav-link">
  472. <i class="nav-icon far fa-envelope"></i>
  473. <p>
  474. Mailbox
  475. <i class="fas fa-angle-left right"></i>
  476. </p>
  477. </a>
  478. <ul class="nav nav-treeview">
  479. <li class="nav-item">
  480. <a href="../mailbox/mailbox.html" class="nav-link">
  481. <i class="far fa-circle nav-icon"></i>
  482. <p>Inbox</p>
  483. </a>
  484. </li>
  485. <li class="nav-item">
  486. <a href="../mailbox/compose.html" class="nav-link">
  487. <i class="far fa-circle nav-icon"></i>
  488. <p>Compose</p>
  489. </a>
  490. </li>
  491. <li class="nav-item">
  492. <a href="../mailbox/read-mail.html" class="nav-link">
  493. <i class="far fa-circle nav-icon"></i>
  494. <p>Read</p>
  495. </a>
  496. </li>
  497. </ul>
  498. </li>
  499. <li class="nav-item">
  500. <a href="#" class="nav-link">
  501. <i class="nav-icon fas fa-book"></i>
  502. <p>
  503. Pages
  504. <i class="fas fa-angle-left right"></i>
  505. </p>
  506. </a>
  507. <ul class="nav nav-treeview">
  508. <li class="nav-item">
  509. <a href="../examples/invoice.html" class="nav-link">
  510. <i class="far fa-circle nav-icon"></i>
  511. <p>Invoice</p>
  512. </a>
  513. </li>
  514. <li class="nav-item">
  515. <a href="../examples/profile.html" class="nav-link">
  516. <i class="far fa-circle nav-icon"></i>
  517. <p>Profile</p>
  518. </a>
  519. </li>
  520. <li class="nav-item">
  521. <a href="../examples/e-commerce.html" class="nav-link">
  522. <i class="far fa-circle nav-icon"></i>
  523. <p>E-commerce</p>
  524. </a>
  525. </li>
  526. <li class="nav-item">
  527. <a href="../examples/projects.html" class="nav-link">
  528. <i class="far fa-circle nav-icon"></i>
  529. <p>Projects</p>
  530. </a>
  531. </li>
  532. <li class="nav-item">
  533. <a href="../examples/project-add.html" class="nav-link">
  534. <i class="far fa-circle nav-icon"></i>
  535. <p>Project Add</p>
  536. </a>
  537. </li>
  538. <li class="nav-item">
  539. <a href="../examples/project-edit.html" class="nav-link">
  540. <i class="far fa-circle nav-icon"></i>
  541. <p>Project Edit</p>
  542. </a>
  543. </li>
  544. <li class="nav-item">
  545. <a href="../examples/project-detail.html" class="nav-link">
  546. <i class="far fa-circle nav-icon"></i>
  547. <p>Project Detail</p>
  548. </a>
  549. </li>
  550. <li class="nav-item">
  551. <a href="../examples/contacts.html" class="nav-link">
  552. <i class="far fa-circle nav-icon"></i>
  553. <p>Contacts</p>
  554. </a>
  555. </li>
  556. <li class="nav-item">
  557. <a href="../examples/faq.html" class="nav-link">
  558. <i class="far fa-circle nav-icon"></i>
  559. <p>FAQ</p>
  560. </a>
  561. </li>
  562. <li class="nav-item">
  563. <a href="../examples/contact-us.html" class="nav-link">
  564. <i class="far fa-circle nav-icon"></i>
  565. <p>Contact us</p>
  566. </a>
  567. </li>
  568. </ul>
  569. </li>
  570. <li class="nav-item">
  571. <a href="#" class="nav-link">
  572. <i class="nav-icon far fa-plus-square"></i>
  573. <p>
  574. Extras
  575. <i class="fas fa-angle-left right"></i>
  576. </p>
  577. </a>
  578. <ul class="nav nav-treeview">
  579. <li class="nav-item">
  580. <a href="#" class="nav-link">
  581. <i class="far fa-circle nav-icon"></i>
  582. <p>
  583. Login & Register v1
  584. <i class="fas fa-angle-left right"></i>
  585. </p>
  586. </a>
  587. <ul class="nav nav-treeview">
  588. <li class="nav-item">
  589. <a href="../examples/login.html" class="nav-link">
  590. <i class="far fa-circle nav-icon"></i>
  591. <p>Login v1</p>
  592. </a>
  593. </li>
  594. <li class="nav-item">
  595. <a href="../examples/register.html" class="nav-link">
  596. <i class="far fa-circle nav-icon"></i>
  597. <p>Register v1</p>
  598. </a>
  599. </li>
  600. <li class="nav-item">
  601. <a href="../examples/forgot-password.html" class="nav-link">
  602. <i class="far fa-circle nav-icon"></i>
  603. <p>Forgot Password v1</p>
  604. </a>
  605. </li>
  606. <li class="nav-item">
  607. <a href="../examples/recover-password.html" class="nav-link">
  608. <i class="far fa-circle nav-icon"></i>
  609. <p>Recover Password v1</p>
  610. </a>
  611. </li>
  612. </ul>
  613. </li>
  614. <li class="nav-item">
  615. <a href="#" class="nav-link">
  616. <i class="far fa-circle nav-icon"></i>
  617. <p>
  618. Login & Register v2
  619. <i class="fas fa-angle-left right"></i>
  620. </p>
  621. </a>
  622. <ul class="nav nav-treeview">
  623. <li class="nav-item">
  624. <a href="../examples/login-v2.html" class="nav-link">
  625. <i class="far fa-circle nav-icon"></i>
  626. <p>Login v2</p>
  627. </a>
  628. </li>
  629. <li class="nav-item">
  630. <a href="../examples/register-v2.html" class="nav-link">
  631. <i class="far fa-circle nav-icon"></i>
  632. <p>Register v2</p>
  633. </a>
  634. </li>
  635. <li class="nav-item">
  636. <a href="../examples/forgot-password-v2.html" class="nav-link">
  637. <i class="far fa-circle nav-icon"></i>
  638. <p>Forgot Password v2</p>
  639. </a>
  640. </li>
  641. <li class="nav-item">
  642. <a href="../examples/recover-password-v2.html" class="nav-link">
  643. <i class="far fa-circle nav-icon"></i>
  644. <p>Recover Password v2</p>
  645. </a>
  646. </li>
  647. </ul>
  648. </li>
  649. <li class="nav-item">
  650. <a href="../examples/lockscreen.html" class="nav-link">
  651. <i class="far fa-circle nav-icon"></i>
  652. <p>Lockscreen</p>
  653. </a>
  654. </li>
  655. <li class="nav-item">
  656. <a href="../examples/legacy-user-menu.html" class="nav-link">
  657. <i class="far fa-circle nav-icon"></i>
  658. <p>Legacy User Menu</p>
  659. </a>
  660. </li>
  661. <li class="nav-item">
  662. <a href="../examples/language-menu.html" class="nav-link">
  663. <i class="far fa-circle nav-icon"></i>
  664. <p>Language Menu</p>
  665. </a>
  666. </li>
  667. <li class="nav-item">
  668. <a href="../examples/404.html" class="nav-link">
  669. <i class="far fa-circle nav-icon"></i>
  670. <p>Error 404</p>
  671. </a>
  672. </li>
  673. <li class="nav-item">
  674. <a href="../examples/500.html" class="nav-link">
  675. <i class="far fa-circle nav-icon"></i>
  676. <p>Error 500</p>
  677. </a>
  678. </li>
  679. <li class="nav-item">
  680. <a href="../examples/pace.html" class="nav-link">
  681. <i class="far fa-circle nav-icon"></i>
  682. <p>Pace</p>
  683. </a>
  684. </li>
  685. <li class="nav-item">
  686. <a href="../examples/blank.html" class="nav-link">
  687. <i class="far fa-circle nav-icon"></i>
  688. <p>Blank Page</p>
  689. </a>
  690. </li>
  691. <li class="nav-item">
  692. <a href="../../starter.html" class="nav-link">
  693. <i class="far fa-circle nav-icon"></i>
  694. <p>Starter Page</p>
  695. </a>
  696. </li>
  697. </ul>
  698. </li>
  699. <li class="nav-item">
  700. <a href="#" class="nav-link">
  701. <i class="nav-icon fas fa-search"></i>
  702. <p>
  703. Search
  704. <i class="fas fa-angle-left right"></i>
  705. </p>
  706. </a>
  707. <ul class="nav nav-treeview">
  708. <li class="nav-item">
  709. <a href="../search/simple.html" class="nav-link">
  710. <i class="far fa-circle nav-icon"></i>
  711. <p>Simple Search</p>
  712. </a>
  713. </li>
  714. <li class="nav-item">
  715. <a href="../search/enhanced.html" class="nav-link">
  716. <i class="far fa-circle nav-icon"></i>
  717. <p>Enhanced</p>
  718. </a>
  719. </li>
  720. </ul>
  721. </li>
  722. <li class="nav-header">MISCELLANEOUS</li>
  723. <li class="nav-item">
  724. <a href="../../iframe.html" class="nav-link">
  725. <i class="nav-icon fas fa-ellipsis-h"></i>
  726. <p>Tabbed IFrame Plugin</p>
  727. </a>
  728. </li>
  729. <li class="nav-item">
  730. <a href="https://adminlte.io/docs/3.1/" class="nav-link">
  731. <i class="nav-icon fas fa-file"></i>
  732. <p>Documentation</p>
  733. </a>
  734. </li>
  735. <li class="nav-header">MULTI LEVEL EXAMPLE</li>
  736. <li class="nav-item">
  737. <a href="#" class="nav-link">
  738. <i class="fas fa-circle nav-icon"></i>
  739. <p>Level 1</p>
  740. </a>
  741. </li>
  742. <li class="nav-item">
  743. <a href="#" class="nav-link">
  744. <i class="nav-icon fas fa-circle"></i>
  745. <p>
  746. Level 1
  747. <i class="right fas fa-angle-left"></i>
  748. </p>
  749. </a>
  750. <ul class="nav nav-treeview">
  751. <li class="nav-item">
  752. <a href="#" class="nav-link">
  753. <i class="far fa-circle nav-icon"></i>
  754. <p>Level 2</p>
  755. </a>
  756. </li>
  757. <li class="nav-item">
  758. <a href="#" class="nav-link">
  759. <i class="far fa-circle nav-icon"></i>
  760. <p>
  761. Level 2
  762. <i class="right fas fa-angle-left"></i>
  763. </p>
  764. </a>
  765. <ul class="nav nav-treeview">
  766. <li class="nav-item">
  767. <a href="#" class="nav-link">
  768. <i class="far fa-dot-circle nav-icon"></i>
  769. <p>Level 3</p>
  770. </a>
  771. </li>
  772. <li class="nav-item">
  773. <a href="#" class="nav-link">
  774. <i class="far fa-dot-circle nav-icon"></i>
  775. <p>Level 3</p>
  776. </a>
  777. </li>
  778. <li class="nav-item">
  779. <a href="#" class="nav-link">
  780. <i class="far fa-dot-circle nav-icon"></i>
  781. <p>Level 3</p>
  782. </a>
  783. </li>
  784. </ul>
  785. </li>
  786. <li class="nav-item">
  787. <a href="#" class="nav-link">
  788. <i class="far fa-circle nav-icon"></i>
  789. <p>Level 2</p>
  790. </a>
  791. </li>
  792. </ul>
  793. </li>
  794. <li class="nav-item">
  795. <a href="#" class="nav-link">
  796. <i class="fas fa-circle nav-icon"></i>
  797. <p>Level 1</p>
  798. </a>
  799. </li>
  800. <li class="nav-header">LABELS</li>
  801. <li class="nav-item">
  802. <a href="#" class="nav-link">
  803. <i class="nav-icon far fa-circle text-danger"></i>
  804. <p class="text">Important</p>
  805. </a>
  806. </li>
  807. <li class="nav-item">
  808. <a href="#" class="nav-link">
  809. <i class="nav-icon far fa-circle text-warning"></i>
  810. <p>Warning</p>
  811. </a>
  812. </li>
  813. <li class="nav-item">
  814. <a href="#" class="nav-link">
  815. <i class="nav-icon far fa-circle text-info"></i>
  816. <p>Informational</p>
  817. </a>
  818. </li>
  819. </ul>
  820. </nav>
  821. <!-- /.sidebar-menu -->
  822. </div>
  823. <!-- /.sidebar -->
  824. </aside>
  825. <!-- Content Wrapper. Contains page content -->
  826. <div class="content-wrapper">
  827. <!-- Content Header (Page header) -->
  828. <section class="content-header">
  829. <div class="container-fluid">
  830. <div class="row mb-2">
  831. <div class="col-sm-6">
  832. <h1>ChartJS</h1>
  833. </div>
  834. <div class="col-sm-6">
  835. <ol class="breadcrumb float-sm-right">
  836. <li class="breadcrumb-item"><a href="#">Home</a></li>
  837. <li class="breadcrumb-item active">ChartJS</li>
  838. </ol>
  839. </div>
  840. </div>
  841. </div><!-- /.container-fluid -->
  842. </section>
  843. <!-- Main content -->
  844. <section class="content">
  845. <div class="container-fluid">
  846. <!-- AREA CHART -->
  847. <div class="card card-primary">
  848. <div class="card-header">
  849. <h3 class="card-title">Area Chart</h3>
  850. <div class="card-tools">
  851. <button type="button" class="btn btn-tool" data-card-widget="collapse">
  852. <i class="fas fa-minus"></i>
  853. </button>
  854. <button type="button" class="btn btn-tool" data-card-widget="remove">
  855. <i class="fas fa-times"></i>
  856. </button>
  857. </div>
  858. </div>
  859. <div class="card-body">
  860. <div class="chart">
  861. <div id="areaChart" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></div>
  862. </div>
  863. </div>
  864. <!-- /.card-body -->
  865. </div>
  866. <!-- /.card -->
  867. <!-- LINE CHART -->
  868. <div class="card card-info">
  869. <div class="card-header">
  870. <h3 class="card-title">Line Chart</h3>
  871. <div class="card-tools">
  872. <button type="button" class="btn btn-tool" data-card-widget="collapse">
  873. <i class="fas fa-minus"></i>
  874. </button>
  875. <button type="button" class="btn btn-tool" data-card-widget="remove">
  876. <i class="fas fa-times"></i>
  877. </button>
  878. </div>
  879. </div>
  880. <div class="card-body">
  881. <div class="chart">
  882. <div id="lineChart" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></div>
  883. </div>
  884. </div>
  885. <!-- /.card-body -->
  886. </div>
  887. <!-- /.card -->
  888. </div><!-- /.container-fluid -->
  889. </section>
  890. <!-- /.content -->
  891. </div>
  892. <!-- /.content-wrapper -->
  893. <footer class="main-footer">
  894. <div class="float-right d-none d-sm-block">
  895. <b>Version</b> 3.2.0
  896. </div>
  897. <strong>Copyright &copy; 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
  898. </footer>
  899. <!-- Control Sidebar -->
  900. <aside class="control-sidebar control-sidebar-dark">
  901. <!-- Add Content Here -->
  902. </aside>
  903. <!-- /.control-sidebar -->
  904. </div>
  905. <!-- ./wrapper -->
  906. <!-- jQuery -->
  907. <script src="../../plugins/jquery/jquery.min.js"></script>
  908. <!-- Bootstrap 4 -->
  909. <script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
  910. <!-- uPlot -->
  911. <script src="../../plugins/uplot/uPlot.iife.min.js"></script>
  912. <!-- AdminLTE App -->
  913. <script src="../../dist/js/adminlte.min.js"></script>
  914. <!-- AdminLTE for demo purposes -->
  915. <script src="../../dist/js/demo.js"></script>
  916. <!-- Page specific script -->
  917. <script>
  918. $(function () {
  919. /* uPlot
  920. * -------
  921. * Here we will create a few charts using uPlot
  922. */
  923. function getSize(elementId) {
  924. return {
  925. width: document.getElementById(elementId).offsetWidth,
  926. height: document.getElementById(elementId).offsetHeight,
  927. }
  928. }
  929. let data = [
  930. [0, 1, 2, 3, 4, 5, 6],
  931. [28, 48, 40, 19, 86, 27, 90],
  932. [65, 59, 80, 81, 56, 55, 40]
  933. ];
  934. //--------------
  935. //- AREA CHART -
  936. //--------------
  937. const optsAreaChart = {
  938. ... getSize('areaChart'),
  939. scales: {
  940. x: {
  941. time: false,
  942. },
  943. y: {
  944. range: [0, 100],
  945. },
  946. },
  947. series: [
  948. {},
  949. {
  950. fill: 'rgba(60,141,188,0.7)',
  951. stroke: 'rgba(60,141,188,1)',
  952. },
  953. {
  954. stroke: '#c1c7d1',
  955. fill: 'rgba(210, 214, 222, .7)',
  956. },
  957. ],
  958. };
  959. let areaChart = new uPlot(optsAreaChart, data, document.getElementById('areaChart'));
  960. const optsLineChart = {
  961. ... getSize('lineChart'),
  962. scales: {
  963. x: {
  964. time: false,
  965. },
  966. y: {
  967. range: [0, 100],
  968. },
  969. },
  970. series: [
  971. {},
  972. {
  973. fill: 'transparent',
  974. width: 5,
  975. stroke: 'rgba(60,141,188,1)',
  976. },
  977. {
  978. stroke: '#c1c7d1',
  979. width: 5,
  980. fill: 'transparent',
  981. },
  982. ],
  983. };
  984. let lineChart = new uPlot(optsLineChart, data, document.getElementById('lineChart'));
  985. window.addEventListener("resize", e => {
  986. areaChart.setSize(getSize('areaChart'));
  987. lineChart.setSize(getSize('lineChart'));
  988. });
  989. })
  990. </script>
  991. </body>
  992. </html>