flot.html 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313
  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 | Flot Charts</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. <!-- Theme style -->
  12. <link rel="stylesheet" href="../../dist/css/adminlte.min.css">
  13. </head>
  14. <body class="hold-transition sidebar-mini">
  15. <div class="wrapper">
  16. <!-- Navbar -->
  17. <nav class="main-header navbar navbar-expand navbar-white navbar-light">
  18. <!-- Left navbar links -->
  19. <ul class="navbar-nav">
  20. <li class="nav-item">
  21. <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
  22. </li>
  23. <li class="nav-item d-none d-sm-inline-block">
  24. <a href="../../index3.html" class="nav-link">Home</a>
  25. </li>
  26. <li class="nav-item d-none d-sm-inline-block">
  27. <a href="#" class="nav-link">Contact</a>
  28. </li>
  29. </ul>
  30. <!-- Right navbar links -->
  31. <ul class="navbar-nav ml-auto">
  32. <!-- Navbar Search -->
  33. <li class="nav-item">
  34. <a class="nav-link" data-widget="navbar-search" href="#" role="button">
  35. <i class="fas fa-search"></i>
  36. </a>
  37. <div class="navbar-search-block">
  38. <form class="form-inline">
  39. <div class="input-group input-group-sm">
  40. <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
  41. <div class="input-group-append">
  42. <button class="btn btn-navbar" type="submit">
  43. <i class="fas fa-search"></i>
  44. </button>
  45. <button class="btn btn-navbar" type="button" data-widget="navbar-search">
  46. <i class="fas fa-times"></i>
  47. </button>
  48. </div>
  49. </div>
  50. </form>
  51. </div>
  52. </li>
  53. <!-- Messages Dropdown Menu -->
  54. <li class="nav-item dropdown">
  55. <a class="nav-link" data-toggle="dropdown" href="#">
  56. <i class="far fa-comments"></i>
  57. <span class="badge badge-danger navbar-badge">3</span>
  58. </a>
  59. <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  60. <a href="#" class="dropdown-item">
  61. <!-- Message Start -->
  62. <div class="media">
  63. <img src="../../dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
  64. <div class="media-body">
  65. <h3 class="dropdown-item-title">
  66. Brad Diesel
  67. <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
  68. </h3>
  69. <p class="text-sm">Call me whenever you can...</p>
  70. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  71. </div>
  72. </div>
  73. <!-- Message End -->
  74. </a>
  75. <div class="dropdown-divider"></div>
  76. <a href="#" class="dropdown-item">
  77. <!-- Message Start -->
  78. <div class="media">
  79. <img src="../../dist/img/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
  80. <div class="media-body">
  81. <h3 class="dropdown-item-title">
  82. John Pierce
  83. <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
  84. </h3>
  85. <p class="text-sm">I got your message bro</p>
  86. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  87. </div>
  88. </div>
  89. <!-- Message End -->
  90. </a>
  91. <div class="dropdown-divider"></div>
  92. <a href="#" class="dropdown-item">
  93. <!-- Message Start -->
  94. <div class="media">
  95. <img src="../../dist/img/user3-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
  96. <div class="media-body">
  97. <h3 class="dropdown-item-title">
  98. Nora Silvester
  99. <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
  100. </h3>
  101. <p class="text-sm">The subject goes here</p>
  102. <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
  103. </div>
  104. </div>
  105. <!-- Message End -->
  106. </a>
  107. <div class="dropdown-divider"></div>
  108. <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
  109. </div>
  110. </li>
  111. <!-- Notifications Dropdown Menu -->
  112. <li class="nav-item dropdown">
  113. <a class="nav-link" data-toggle="dropdown" href="#">
  114. <i class="far fa-bell"></i>
  115. <span class="badge badge-warning navbar-badge">15</span>
  116. </a>
  117. <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  118. <span class="dropdown-item dropdown-header">15 Notifications</span>
  119. <div class="dropdown-divider"></div>
  120. <a href="#" class="dropdown-item">
  121. <i class="fas fa-envelope mr-2"></i> 4 new messages
  122. <span class="float-right text-muted text-sm">3 mins</span>
  123. </a>
  124. <div class="dropdown-divider"></div>
  125. <a href="#" class="dropdown-item">
  126. <i class="fas fa-users mr-2"></i> 8 friend requests
  127. <span class="float-right text-muted text-sm">12 hours</span>
  128. </a>
  129. <div class="dropdown-divider"></div>
  130. <a href="#" class="dropdown-item">
  131. <i class="fas fa-file mr-2"></i> 3 new reports
  132. <span class="float-right text-muted text-sm">2 days</span>
  133. </a>
  134. <div class="dropdown-divider"></div>
  135. <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
  136. </div>
  137. </li>
  138. <li class="nav-item">
  139. <a class="nav-link" data-widget="fullscreen" href="#" role="button">
  140. <i class="fas fa-expand-arrows-alt"></i>
  141. </a>
  142. </li>
  143. <li class="nav-item">
  144. <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
  145. <i class="fas fa-th-large"></i>
  146. </a>
  147. </li>
  148. </ul>
  149. </nav>
  150. <!-- /.navbar -->
  151. <!-- Main Sidebar Container -->
  152. <aside class="main-sidebar sidebar-dark-primary elevation-4">
  153. <!-- Brand Logo -->
  154. <a href="../../index3.html" class="brand-link">
  155. <img src="../../dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
  156. <span class="brand-text font-weight-light">AdminLTE 3</span>
  157. </a>
  158. <!-- Sidebar -->
  159. <div class="sidebar">
  160. <!-- Sidebar user panel (optional) -->
  161. <div class="user-panel mt-3 pb-3 mb-3 d-flex">
  162. <div class="image">
  163. <img src="../../dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
  164. </div>
  165. <div class="info">
  166. <a href="#" class="d-block">Alexander Pierce</a>
  167. </div>
  168. </div>
  169. <!-- SidebarSearch Form -->
  170. <div class="form-inline">
  171. <div class="input-group" data-widget="sidebar-search">
  172. <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
  173. <div class="input-group-append">
  174. <button class="btn btn-sidebar">
  175. <i class="fas fa-search fa-fw"></i>
  176. </button>
  177. </div>
  178. </div>
  179. </div>
  180. <!-- Sidebar Menu -->
  181. <nav class="mt-2">
  182. <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
  183. <!-- Add icons to the links using the .nav-icon class
  184. with font-awesome or any other icon font library -->
  185. <li class="nav-item">
  186. <a href="#" class="nav-link">
  187. <i class="nav-icon fas fa-tachometer-alt"></i>
  188. <p>
  189. Dashboard
  190. <i class="right fas fa-angle-left"></i>
  191. </p>
  192. </a>
  193. <ul class="nav nav-treeview">
  194. <li class="nav-item">
  195. <a href="../../index.html" class="nav-link">
  196. <i class="far fa-circle nav-icon"></i>
  197. <p>Dashboard v1</p>
  198. </a>
  199. </li>
  200. <li class="nav-item">
  201. <a href="../../index2.html" class="nav-link">
  202. <i class="far fa-circle nav-icon"></i>
  203. <p>Dashboard v2</p>
  204. </a>
  205. </li>
  206. <li class="nav-item">
  207. <a href="../../index3.html" class="nav-link">
  208. <i class="far fa-circle nav-icon"></i>
  209. <p>Dashboard v3</p>
  210. </a>
  211. </li>
  212. </ul>
  213. </li>
  214. <li class="nav-item">
  215. <a href="../widgets.html" class="nav-link">
  216. <i class="nav-icon fas fa-th"></i>
  217. <p>
  218. Widgets
  219. <span class="right badge badge-danger">New</span>
  220. </p>
  221. </a>
  222. </li>
  223. <li class="nav-item">
  224. <a href="#" class="nav-link">
  225. <i class="nav-icon fas fa-copy"></i>
  226. <p>
  227. Layout Options
  228. <i class="fas fa-angle-left right"></i>
  229. <span class="badge badge-info right">6</span>
  230. </p>
  231. </a>
  232. <ul class="nav nav-treeview">
  233. <li class="nav-item">
  234. <a href="../layout/top-nav.html" class="nav-link">
  235. <i class="far fa-circle nav-icon"></i>
  236. <p>Top Navigation</p>
  237. </a>
  238. </li>
  239. <li class="nav-item">
  240. <a href="../layout/top-nav-sidebar.html" class="nav-link">
  241. <i class="far fa-circle nav-icon"></i>
  242. <p>Top Navigation + Sidebar</p>
  243. </a>
  244. </li>
  245. <li class="nav-item">
  246. <a href="../layout/boxed.html" class="nav-link">
  247. <i class="far fa-circle nav-icon"></i>
  248. <p>Boxed</p>
  249. </a>
  250. </li>
  251. <li class="nav-item">
  252. <a href="../layout/fixed-sidebar.html" class="nav-link">
  253. <i class="far fa-circle nav-icon"></i>
  254. <p>Fixed Sidebar</p>
  255. </a>
  256. </li>
  257. <li class="nav-item">
  258. <a href="../layout/fixed-sidebar-custom.html" class="nav-link">
  259. <i class="far fa-circle nav-icon"></i>
  260. <p>Fixed Sidebar <small>+ Custom Area</small></p>
  261. </a>
  262. </li>
  263. <li class="nav-item">
  264. <a href="../layout/fixed-topnav.html" class="nav-link">
  265. <i class="far fa-circle nav-icon"></i>
  266. <p>Fixed Navbar</p>
  267. </a>
  268. </li>
  269. <li class="nav-item">
  270. <a href="../layout/fixed-footer.html" class="nav-link">
  271. <i class="far fa-circle nav-icon"></i>
  272. <p>Fixed Footer</p>
  273. </a>
  274. </li>
  275. <li class="nav-item">
  276. <a href="../layout/collapsed-sidebar.html" class="nav-link">
  277. <i class="far fa-circle nav-icon"></i>
  278. <p>Collapsed Sidebar</p>
  279. </a>
  280. </li>
  281. </ul>
  282. </li>
  283. <li class="nav-item menu-open">
  284. <a href="#" class="nav-link active">
  285. <i class="nav-icon fas fa-chart-pie"></i>
  286. <p>
  287. Charts
  288. <i class="right fas fa-angle-left"></i>
  289. </p>
  290. </a>
  291. <ul class="nav nav-treeview">
  292. <li class="nav-item">
  293. <a href="chartjs.html" class="nav-link">
  294. <i class="far fa-circle nav-icon"></i>
  295. <p>ChartJS</p>
  296. </a>
  297. </li>
  298. <li class="nav-item">
  299. <a href="flot.html" class="nav-link active">
  300. <i class="far fa-circle nav-icon"></i>
  301. <p>Flot</p>
  302. </a>
  303. </li>
  304. <li class="nav-item">
  305. <a href="inline.html" class="nav-link">
  306. <i class="far fa-circle nav-icon"></i>
  307. <p>Inline</p>
  308. </a>
  309. </li>
  310. <li class="nav-item">
  311. <a href="uplot.html" class="nav-link">
  312. <i class="far fa-circle nav-icon"></i>
  313. <p>uPlot</p>
  314. </a>
  315. </li>
  316. </ul>
  317. </li>
  318. <li class="nav-item">
  319. <a href="#" class="nav-link">
  320. <i class="nav-icon fas fa-tree"></i>
  321. <p>
  322. UI Elements
  323. <i class="fas fa-angle-left right"></i>
  324. </p>
  325. </a>
  326. <ul class="nav nav-treeview">
  327. <li class="nav-item">
  328. <a href="../UI/general.html" class="nav-link">
  329. <i class="far fa-circle nav-icon"></i>
  330. <p>General</p>
  331. </a>
  332. </li>
  333. <li class="nav-item">
  334. <a href="../UI/icons.html" class="nav-link">
  335. <i class="far fa-circle nav-icon"></i>
  336. <p>Icons</p>
  337. </a>
  338. </li>
  339. <li class="nav-item">
  340. <a href="../UI/buttons.html" class="nav-link">
  341. <i class="far fa-circle nav-icon"></i>
  342. <p>Buttons</p>
  343. </a>
  344. </li>
  345. <li class="nav-item">
  346. <a href="../UI/sliders.html" class="nav-link">
  347. <i class="far fa-circle nav-icon"></i>
  348. <p>Sliders</p>
  349. </a>
  350. </li>
  351. <li class="nav-item">
  352. <a href="../UI/modals.html" class="nav-link">
  353. <i class="far fa-circle nav-icon"></i>
  354. <p>Modals & Alerts</p>
  355. </a>
  356. </li>
  357. <li class="nav-item">
  358. <a href="../UI/navbar.html" class="nav-link">
  359. <i class="far fa-circle nav-icon"></i>
  360. <p>Navbar & Tabs</p>
  361. </a>
  362. </li>
  363. <li class="nav-item">
  364. <a href="../UI/timeline.html" class="nav-link">
  365. <i class="far fa-circle nav-icon"></i>
  366. <p>Timeline</p>
  367. </a>
  368. </li>
  369. <li class="nav-item">
  370. <a href="../UI/ribbons.html" class="nav-link">
  371. <i class="far fa-circle nav-icon"></i>
  372. <p>Ribbons</p>
  373. </a>
  374. </li>
  375. </ul>
  376. </li>
  377. <li class="nav-item">
  378. <a href="#" class="nav-link">
  379. <i class="nav-icon fas fa-edit"></i>
  380. <p>
  381. Forms
  382. <i class="fas fa-angle-left right"></i>
  383. </p>
  384. </a>
  385. <ul class="nav nav-treeview">
  386. <li class="nav-item">
  387. <a href="../forms/general.html" class="nav-link">
  388. <i class="far fa-circle nav-icon"></i>
  389. <p>General Elements</p>
  390. </a>
  391. </li>
  392. <li class="nav-item">
  393. <a href="../forms/advanced.html" class="nav-link">
  394. <i class="far fa-circle nav-icon"></i>
  395. <p>Advanced Elements</p>
  396. </a>
  397. </li>
  398. <li class="nav-item">
  399. <a href="../forms/editors.html" class="nav-link">
  400. <i class="far fa-circle nav-icon"></i>
  401. <p>Editors</p>
  402. </a>
  403. </li>
  404. <li class="nav-item">
  405. <a href="../forms/validation.html" class="nav-link">
  406. <i class="far fa-circle nav-icon"></i>
  407. <p>Validation</p>
  408. </a>
  409. </li>
  410. </ul>
  411. </li>
  412. <li class="nav-item">
  413. <a href="#" class="nav-link">
  414. <i class="nav-icon fas fa-table"></i>
  415. <p>
  416. Tables
  417. <i class="fas fa-angle-left right"></i>
  418. </p>
  419. </a>
  420. <ul class="nav nav-treeview">
  421. <li class="nav-item">
  422. <a href="../tables/simple.html" class="nav-link">
  423. <i class="far fa-circle nav-icon"></i>
  424. <p>Simple Tables</p>
  425. </a>
  426. </li>
  427. <li class="nav-item">
  428. <a href="../tables/data.html" class="nav-link">
  429. <i class="far fa-circle nav-icon"></i>
  430. <p>DataTables</p>
  431. </a>
  432. </li>
  433. <li class="nav-item">
  434. <a href="../tables/jsgrid.html" class="nav-link">
  435. <i class="far fa-circle nav-icon"></i>
  436. <p>jsGrid</p>
  437. </a>
  438. </li>
  439. </ul>
  440. </li>
  441. <li class="nav-header">EXAMPLES</li>
  442. <li class="nav-item">
  443. <a href="../calendar.html" class="nav-link">
  444. <i class="nav-icon far fa-calendar-alt"></i>
  445. <p>
  446. Calendar
  447. <span class="badge badge-info right">2</span>
  448. </p>
  449. </a>
  450. </li>
  451. <li class="nav-item">
  452. <a href="../gallery.html" class="nav-link">
  453. <i class="nav-icon far fa-image"></i>
  454. <p>
  455. Gallery
  456. </p>
  457. </a>
  458. </li>
  459. <li class="nav-item">
  460. <a href="../kanban.html" class="nav-link">
  461. <i class="nav-icon fas fa-columns"></i>
  462. <p>
  463. Kanban Board
  464. </p>
  465. </a>
  466. </li>
  467. <li class="nav-item">
  468. <a href="#" class="nav-link">
  469. <i class="nav-icon far fa-envelope"></i>
  470. <p>
  471. Mailbox
  472. <i class="fas fa-angle-left right"></i>
  473. </p>
  474. </a>
  475. <ul class="nav nav-treeview">
  476. <li class="nav-item">
  477. <a href="../mailbox/mailbox.html" class="nav-link">
  478. <i class="far fa-circle nav-icon"></i>
  479. <p>Inbox</p>
  480. </a>
  481. </li>
  482. <li class="nav-item">
  483. <a href="../mailbox/compose.html" class="nav-link">
  484. <i class="far fa-circle nav-icon"></i>
  485. <p>Compose</p>
  486. </a>
  487. </li>
  488. <li class="nav-item">
  489. <a href="../mailbox/read-mail.html" class="nav-link">
  490. <i class="far fa-circle nav-icon"></i>
  491. <p>Read</p>
  492. </a>
  493. </li>
  494. </ul>
  495. </li>
  496. <li class="nav-item">
  497. <a href="#" class="nav-link">
  498. <i class="nav-icon fas fa-book"></i>
  499. <p>
  500. Pages
  501. <i class="fas fa-angle-left right"></i>
  502. </p>
  503. </a>
  504. <ul class="nav nav-treeview">
  505. <li class="nav-item">
  506. <a href="../examples/invoice.html" class="nav-link">
  507. <i class="far fa-circle nav-icon"></i>
  508. <p>Invoice</p>
  509. </a>
  510. </li>
  511. <li class="nav-item">
  512. <a href="../examples/profile.html" class="nav-link">
  513. <i class="far fa-circle nav-icon"></i>
  514. <p>Profile</p>
  515. </a>
  516. </li>
  517. <li class="nav-item">
  518. <a href="../examples/e-commerce.html" class="nav-link">
  519. <i class="far fa-circle nav-icon"></i>
  520. <p>E-commerce</p>
  521. </a>
  522. </li>
  523. <li class="nav-item">
  524. <a href="../examples/projects.html" class="nav-link">
  525. <i class="far fa-circle nav-icon"></i>
  526. <p>Projects</p>
  527. </a>
  528. </li>
  529. <li class="nav-item">
  530. <a href="../examples/project-add.html" class="nav-link">
  531. <i class="far fa-circle nav-icon"></i>
  532. <p>Project Add</p>
  533. </a>
  534. </li>
  535. <li class="nav-item">
  536. <a href="../examples/project-edit.html" class="nav-link">
  537. <i class="far fa-circle nav-icon"></i>
  538. <p>Project Edit</p>
  539. </a>
  540. </li>
  541. <li class="nav-item">
  542. <a href="../examples/project-detail.html" class="nav-link">
  543. <i class="far fa-circle nav-icon"></i>
  544. <p>Project Detail</p>
  545. </a>
  546. </li>
  547. <li class="nav-item">
  548. <a href="../examples/contacts.html" class="nav-link">
  549. <i class="far fa-circle nav-icon"></i>
  550. <p>Contacts</p>
  551. </a>
  552. </li>
  553. <li class="nav-item">
  554. <a href="../examples/faq.html" class="nav-link">
  555. <i class="far fa-circle nav-icon"></i>
  556. <p>FAQ</p>
  557. </a>
  558. </li>
  559. <li class="nav-item">
  560. <a href="../examples/contact-us.html" class="nav-link">
  561. <i class="far fa-circle nav-icon"></i>
  562. <p>Contact us</p>
  563. </a>
  564. </li>
  565. </ul>
  566. </li>
  567. <li class="nav-item">
  568. <a href="#" class="nav-link">
  569. <i class="nav-icon far fa-plus-square"></i>
  570. <p>
  571. Extras
  572. <i class="fas fa-angle-left right"></i>
  573. </p>
  574. </a>
  575. <ul class="nav nav-treeview">
  576. <li class="nav-item">
  577. <a href="#" class="nav-link">
  578. <i class="far fa-circle nav-icon"></i>
  579. <p>
  580. Login & Register v1
  581. <i class="fas fa-angle-left right"></i>
  582. </p>
  583. </a>
  584. <ul class="nav nav-treeview">
  585. <li class="nav-item">
  586. <a href="../examples/login.html" class="nav-link">
  587. <i class="far fa-circle nav-icon"></i>
  588. <p>Login v1</p>
  589. </a>
  590. </li>
  591. <li class="nav-item">
  592. <a href="../examples/register.html" class="nav-link">
  593. <i class="far fa-circle nav-icon"></i>
  594. <p>Register v1</p>
  595. </a>
  596. </li>
  597. <li class="nav-item">
  598. <a href="../examples/forgot-password.html" class="nav-link">
  599. <i class="far fa-circle nav-icon"></i>
  600. <p>Forgot Password v1</p>
  601. </a>
  602. </li>
  603. <li class="nav-item">
  604. <a href="../examples/recover-password.html" class="nav-link">
  605. <i class="far fa-circle nav-icon"></i>
  606. <p>Recover Password v1</p>
  607. </a>
  608. </li>
  609. </ul>
  610. </li>
  611. <li class="nav-item">
  612. <a href="#" class="nav-link">
  613. <i class="far fa-circle nav-icon"></i>
  614. <p>
  615. Login & Register v2
  616. <i class="fas fa-angle-left right"></i>
  617. </p>
  618. </a>
  619. <ul class="nav nav-treeview">
  620. <li class="nav-item">
  621. <a href="../examples/login-v2.html" class="nav-link">
  622. <i class="far fa-circle nav-icon"></i>
  623. <p>Login v2</p>
  624. </a>
  625. </li>
  626. <li class="nav-item">
  627. <a href="../examples/register-v2.html" class="nav-link">
  628. <i class="far fa-circle nav-icon"></i>
  629. <p>Register v2</p>
  630. </a>
  631. </li>
  632. <li class="nav-item">
  633. <a href="../examples/forgot-password-v2.html" class="nav-link">
  634. <i class="far fa-circle nav-icon"></i>
  635. <p>Forgot Password v2</p>
  636. </a>
  637. </li>
  638. <li class="nav-item">
  639. <a href="../examples/recover-password-v2.html" class="nav-link">
  640. <i class="far fa-circle nav-icon"></i>
  641. <p>Recover Password v2</p>
  642. </a>
  643. </li>
  644. </ul>
  645. </li>
  646. <li class="nav-item">
  647. <a href="../examples/lockscreen.html" class="nav-link">
  648. <i class="far fa-circle nav-icon"></i>
  649. <p>Lockscreen</p>
  650. </a>
  651. </li>
  652. <li class="nav-item">
  653. <a href="../examples/legacy-user-menu.html" class="nav-link">
  654. <i class="far fa-circle nav-icon"></i>
  655. <p>Legacy User Menu</p>
  656. </a>
  657. </li>
  658. <li class="nav-item">
  659. <a href="../examples/language-menu.html" class="nav-link">
  660. <i class="far fa-circle nav-icon"></i>
  661. <p>Language Menu</p>
  662. </a>
  663. </li>
  664. <li class="nav-item">
  665. <a href="../examples/404.html" class="nav-link">
  666. <i class="far fa-circle nav-icon"></i>
  667. <p>Error 404</p>
  668. </a>
  669. </li>
  670. <li class="nav-item">
  671. <a href="../examples/500.html" class="nav-link">
  672. <i class="far fa-circle nav-icon"></i>
  673. <p>Error 500</p>
  674. </a>
  675. </li>
  676. <li class="nav-item">
  677. <a href="../examples/pace.html" class="nav-link">
  678. <i class="far fa-circle nav-icon"></i>
  679. <p>Pace</p>
  680. </a>
  681. </li>
  682. <li class="nav-item">
  683. <a href="../examples/blank.html" class="nav-link">
  684. <i class="far fa-circle nav-icon"></i>
  685. <p>Blank Page</p>
  686. </a>
  687. </li>
  688. <li class="nav-item">
  689. <a href="../../starter.html" class="nav-link">
  690. <i class="far fa-circle nav-icon"></i>
  691. <p>Starter Page</p>
  692. </a>
  693. </li>
  694. </ul>
  695. </li>
  696. <li class="nav-item">
  697. <a href="#" class="nav-link">
  698. <i class="nav-icon fas fa-search"></i>
  699. <p>
  700. Search
  701. <i class="fas fa-angle-left right"></i>
  702. </p>
  703. </a>
  704. <ul class="nav nav-treeview">
  705. <li class="nav-item">
  706. <a href="../search/simple.html" class="nav-link">
  707. <i class="far fa-circle nav-icon"></i>
  708. <p>Simple Search</p>
  709. </a>
  710. </li>
  711. <li class="nav-item">
  712. <a href="../search/enhanced.html" class="nav-link">
  713. <i class="far fa-circle nav-icon"></i>
  714. <p>Enhanced</p>
  715. </a>
  716. </li>
  717. </ul>
  718. </li>
  719. <li class="nav-header">MISCELLANEOUS</li>
  720. <li class="nav-item">
  721. <a href="../../iframe.html" class="nav-link">
  722. <i class="nav-icon fas fa-ellipsis-h"></i>
  723. <p>Tabbed IFrame Plugin</p>
  724. </a>
  725. </li>
  726. <li class="nav-item">
  727. <a href="https://adminlte.io/docs/3.1/" class="nav-link">
  728. <i class="nav-icon fas fa-file"></i>
  729. <p>Documentation</p>
  730. </a>
  731. </li>
  732. <li class="nav-header">MULTI LEVEL EXAMPLE</li>
  733. <li class="nav-item">
  734. <a href="#" class="nav-link">
  735. <i class="fas fa-circle nav-icon"></i>
  736. <p>Level 1</p>
  737. </a>
  738. </li>
  739. <li class="nav-item">
  740. <a href="#" class="nav-link">
  741. <i class="nav-icon fas fa-circle"></i>
  742. <p>
  743. Level 1
  744. <i class="right fas fa-angle-left"></i>
  745. </p>
  746. </a>
  747. <ul class="nav nav-treeview">
  748. <li class="nav-item">
  749. <a href="#" class="nav-link">
  750. <i class="far fa-circle nav-icon"></i>
  751. <p>Level 2</p>
  752. </a>
  753. </li>
  754. <li class="nav-item">
  755. <a href="#" class="nav-link">
  756. <i class="far fa-circle nav-icon"></i>
  757. <p>
  758. Level 2
  759. <i class="right fas fa-angle-left"></i>
  760. </p>
  761. </a>
  762. <ul class="nav nav-treeview">
  763. <li class="nav-item">
  764. <a href="#" class="nav-link">
  765. <i class="far fa-dot-circle nav-icon"></i>
  766. <p>Level 3</p>
  767. </a>
  768. </li>
  769. <li class="nav-item">
  770. <a href="#" class="nav-link">
  771. <i class="far fa-dot-circle nav-icon"></i>
  772. <p>Level 3</p>
  773. </a>
  774. </li>
  775. <li class="nav-item">
  776. <a href="#" class="nav-link">
  777. <i class="far fa-dot-circle nav-icon"></i>
  778. <p>Level 3</p>
  779. </a>
  780. </li>
  781. </ul>
  782. </li>
  783. <li class="nav-item">
  784. <a href="#" class="nav-link">
  785. <i class="far fa-circle nav-icon"></i>
  786. <p>Level 2</p>
  787. </a>
  788. </li>
  789. </ul>
  790. </li>
  791. <li class="nav-item">
  792. <a href="#" class="nav-link">
  793. <i class="fas fa-circle nav-icon"></i>
  794. <p>Level 1</p>
  795. </a>
  796. </li>
  797. <li class="nav-header">LABELS</li>
  798. <li class="nav-item">
  799. <a href="#" class="nav-link">
  800. <i class="nav-icon far fa-circle text-danger"></i>
  801. <p class="text">Important</p>
  802. </a>
  803. </li>
  804. <li class="nav-item">
  805. <a href="#" class="nav-link">
  806. <i class="nav-icon far fa-circle text-warning"></i>
  807. <p>Warning</p>
  808. </a>
  809. </li>
  810. <li class="nav-item">
  811. <a href="#" class="nav-link">
  812. <i class="nav-icon far fa-circle text-info"></i>
  813. <p>Informational</p>
  814. </a>
  815. </li>
  816. </ul>
  817. </nav>
  818. <!-- /.sidebar-menu -->
  819. </div>
  820. <!-- /.sidebar -->
  821. </aside>
  822. <!-- Content Wrapper. Contains page content -->
  823. <div class="content-wrapper">
  824. <!-- Content Header (Page header) -->
  825. <section class="content-header">
  826. <div class="container-fluid">
  827. <div class="row mb-2">
  828. <div class="col-sm-6">
  829. <h1>Flot Charts</h1>
  830. </div>
  831. <div class="col-sm-6">
  832. <ol class="breadcrumb float-sm-right">
  833. <li class="breadcrumb-item"><a href="#">Home</a></li>
  834. <li class="breadcrumb-item active">Flot</li>
  835. </ol>
  836. </div>
  837. </div>
  838. </div><!-- /.container-fluid -->
  839. </section>
  840. <!-- Main content -->
  841. <section class="content">
  842. <div class="container-fluid">
  843. <div class="row">
  844. <div class="col-12">
  845. <!-- interactive chart -->
  846. <div class="card card-primary card-outline">
  847. <div class="card-header">
  848. <h3 class="card-title">
  849. <i class="far fa-chart-bar"></i>
  850. Interactive Area Chart
  851. </h3>
  852. <div class="card-tools">
  853. Real time
  854. <div class="btn-group" id="realtime" data-toggle="btn-toggle">
  855. <button type="button" class="btn btn-default btn-sm active" data-toggle="on">On</button>
  856. <button type="button" class="btn btn-default btn-sm" data-toggle="off">Off</button>
  857. </div>
  858. </div>
  859. </div>
  860. <div class="card-body">
  861. <div id="interactive" style="height: 300px;"></div>
  862. </div>
  863. <!-- /.card-body-->
  864. </div>
  865. <!-- /.card -->
  866. </div>
  867. <!-- /.col -->
  868. </div>
  869. <!-- /.row -->
  870. <div class="row">
  871. <div class="col-md-6">
  872. <!-- Line chart -->
  873. <div class="card card-primary card-outline">
  874. <div class="card-header">
  875. <h3 class="card-title">
  876. <i class="far fa-chart-bar"></i>
  877. Line Chart
  878. </h3>
  879. <div class="card-tools">
  880. <button type="button" class="btn btn-tool" data-card-widget="collapse">
  881. <i class="fas fa-minus"></i>
  882. </button>
  883. <button type="button" class="btn btn-tool" data-card-widget="remove">
  884. <i class="fas fa-times"></i>
  885. </button>
  886. </div>
  887. </div>
  888. <div class="card-body">
  889. <div id="line-chart" style="height: 300px;"></div>
  890. </div>
  891. <!-- /.card-body-->
  892. </div>
  893. <!-- /.card -->
  894. <!-- Area chart -->
  895. <div class="card card-primary card-outline">
  896. <div class="card-header">
  897. <h3 class="card-title">
  898. <i class="far fa-chart-bar"></i>
  899. Area Chart
  900. </h3>
  901. <div class="card-tools">
  902. <button type="button" class="btn btn-tool" data-card-widget="collapse">
  903. <i class="fas fa-minus"></i>
  904. </button>
  905. <button type="button" class="btn btn-tool" data-card-widget="remove">
  906. <i class="fas fa-times"></i>
  907. </button>
  908. </div>
  909. </div>
  910. <div class="card-body">
  911. <div id="area-chart" style="height: 338px;" class="full-width-chart"></div>
  912. </div>
  913. <!-- /.card-body-->
  914. </div>
  915. <!-- /.card -->
  916. </div>
  917. <!-- /.col -->
  918. <div class="col-md-6">
  919. <!-- Bar chart -->
  920. <div class="card card-primary card-outline">
  921. <div class="card-header">
  922. <h3 class="card-title">
  923. <i class="far fa-chart-bar"></i>
  924. Bar Chart
  925. </h3>
  926. <div class="card-tools">
  927. <button type="button" class="btn btn-tool" data-card-widget="collapse">
  928. <i class="fas fa-minus"></i>
  929. </button>
  930. <button type="button" class="btn btn-tool" data-card-widget="remove">
  931. <i class="fas fa-times"></i>
  932. </button>
  933. </div>
  934. </div>
  935. <div class="card-body">
  936. <div id="bar-chart" style="height: 300px;"></div>
  937. </div>
  938. <!-- /.card-body-->
  939. </div>
  940. <!-- /.card -->
  941. <!-- Donut chart -->
  942. <div class="card card-primary card-outline">
  943. <div class="card-header">
  944. <h3 class="card-title">
  945. <i class="far fa-chart-bar"></i>
  946. Donut Chart
  947. </h3>
  948. <div class="card-tools">
  949. <button type="button" class="btn btn-tool" data-card-widget="collapse">
  950. <i class="fas fa-minus"></i>
  951. </button>
  952. <button type="button" class="btn btn-tool" data-card-widget="remove">
  953. <i class="fas fa-times"></i>
  954. </button>
  955. </div>
  956. </div>
  957. <div class="card-body">
  958. <div id="donut-chart" style="height: 300px;"></div>
  959. </div>
  960. <!-- /.card-body-->
  961. </div>
  962. <!-- /.card -->
  963. </div>
  964. <!-- /.col -->
  965. </div>
  966. <!-- /.row -->
  967. </div><!-- /.container-fluid -->
  968. </section>
  969. <!-- /.content -->
  970. </div>
  971. <!-- /.content-wrapper -->
  972. <footer class="main-footer">
  973. <div class="float-right d-none d-sm-block">
  974. <b>Version</b> 3.2.0
  975. </div>
  976. <strong>Copyright &copy; 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
  977. </footer>
  978. <!-- Control Sidebar -->
  979. <aside class="control-sidebar control-sidebar-dark">
  980. <!-- Control sidebar content goes here -->
  981. </aside>
  982. <!-- /.control-sidebar -->
  983. </div>
  984. <!-- ./wrapper -->
  985. <!-- jQuery -->
  986. <script src="../../plugins/jquery/jquery.min.js"></script>
  987. <!-- Bootstrap 4 -->
  988. <script src="../../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
  989. <!-- AdminLTE App -->
  990. <script src="../../dist/js/adminlte.min.js"></script>
  991. <!-- FLOT CHARTS -->
  992. <script src="../../plugins/flot/jquery.flot.js"></script>
  993. <!-- FLOT RESIZE PLUGIN - allows the chart to redraw when the window is resized -->
  994. <script src="../../plugins/flot/plugins/jquery.flot.resize.js"></script>
  995. <!-- FLOT PIE PLUGIN - also used to draw donut charts -->
  996. <script src="../../plugins/flot/plugins/jquery.flot.pie.js"></script>
  997. <!-- AdminLTE for demo purposes -->
  998. <script src="../../dist/js/demo.js"></script>
  999. <!-- Page specific script -->
  1000. <script>
  1001. $(function () {
  1002. /*
  1003. * Flot Interactive Chart
  1004. * -----------------------
  1005. */
  1006. // We use an inline data source in the example, usually data would
  1007. // be fetched from a server
  1008. var data = [],
  1009. totalPoints = 100
  1010. function getRandomData() {
  1011. if (data.length > 0) {
  1012. data = data.slice(1)
  1013. }
  1014. // Do a random walk
  1015. while (data.length < totalPoints) {
  1016. var prev = data.length > 0 ? data[data.length - 1] : 50,
  1017. y = prev + Math.random() * 10 - 5
  1018. if (y < 0) {
  1019. y = 0
  1020. } else if (y > 100) {
  1021. y = 100
  1022. }
  1023. data.push(y)
  1024. }
  1025. // Zip the generated y values with the x values
  1026. var res = []
  1027. for (var i = 0; i < data.length; ++i) {
  1028. res.push([i, data[i]])
  1029. }
  1030. return res
  1031. }
  1032. var interactive_plot = $.plot('#interactive', [
  1033. {
  1034. data: getRandomData(),
  1035. }
  1036. ],
  1037. {
  1038. grid: {
  1039. borderColor: '#f3f3f3',
  1040. borderWidth: 1,
  1041. tickColor: '#f3f3f3'
  1042. },
  1043. series: {
  1044. color: '#3c8dbc',
  1045. lines: {
  1046. lineWidth: 2,
  1047. show: true,
  1048. fill: true,
  1049. },
  1050. },
  1051. yaxis: {
  1052. min: 0,
  1053. max: 100,
  1054. show: true
  1055. },
  1056. xaxis: {
  1057. show: true
  1058. }
  1059. }
  1060. )
  1061. var updateInterval = 500 //Fetch data ever x milliseconds
  1062. var realtime = 'on' //If == to on then fetch data every x seconds. else stop fetching
  1063. function update() {
  1064. interactive_plot.setData([getRandomData()])
  1065. // Since the axes don't change, we don't need to call plot.setupGrid()
  1066. interactive_plot.draw()
  1067. if (realtime === 'on') {
  1068. setTimeout(update, updateInterval)
  1069. }
  1070. }
  1071. //INITIALIZE REALTIME DATA FETCHING
  1072. if (realtime === 'on') {
  1073. update()
  1074. }
  1075. //REALTIME TOGGLE
  1076. $('#realtime .btn').click(function () {
  1077. if ($(this).data('toggle') === 'on') {
  1078. realtime = 'on'
  1079. }
  1080. else {
  1081. realtime = 'off'
  1082. }
  1083. update()
  1084. })
  1085. /*
  1086. * END INTERACTIVE CHART
  1087. */
  1088. /*
  1089. * LINE CHART
  1090. * ----------
  1091. */
  1092. //LINE randomly generated data
  1093. var sin = [],
  1094. cos = []
  1095. for (var i = 0; i < 14; i += 0.5) {
  1096. sin.push([i, Math.sin(i)])
  1097. cos.push([i, Math.cos(i)])
  1098. }
  1099. var line_data1 = {
  1100. data : sin,
  1101. color: '#3c8dbc'
  1102. }
  1103. var line_data2 = {
  1104. data : cos,
  1105. color: '#00c0ef'
  1106. }
  1107. $.plot('#line-chart', [line_data1, line_data2], {
  1108. grid : {
  1109. hoverable : true,
  1110. borderColor: '#f3f3f3',
  1111. borderWidth: 1,
  1112. tickColor : '#f3f3f3'
  1113. },
  1114. series: {
  1115. shadowSize: 0,
  1116. lines : {
  1117. show: true
  1118. },
  1119. points : {
  1120. show: true
  1121. }
  1122. },
  1123. lines : {
  1124. fill : false,
  1125. color: ['#3c8dbc', '#f56954']
  1126. },
  1127. yaxis : {
  1128. show: true
  1129. },
  1130. xaxis : {
  1131. show: true
  1132. }
  1133. })
  1134. //Initialize tooltip on hover
  1135. $('<div class="tooltip-inner" id="line-chart-tooltip"></div>').css({
  1136. position: 'absolute',
  1137. display : 'none',
  1138. opacity : 0.8
  1139. }).appendTo('body')
  1140. $('#line-chart').bind('plothover', function (event, pos, item) {
  1141. if (item) {
  1142. var x = item.datapoint[0].toFixed(2),
  1143. y = item.datapoint[1].toFixed(2)
  1144. $('#line-chart-tooltip').html(item.series.label + ' of ' + x + ' = ' + y)
  1145. .css({
  1146. top : item.pageY + 5,
  1147. left: item.pageX + 5
  1148. })
  1149. .fadeIn(200)
  1150. } else {
  1151. $('#line-chart-tooltip').hide()
  1152. }
  1153. })
  1154. /* END LINE CHART */
  1155. /*
  1156. * FULL WIDTH STATIC AREA CHART
  1157. * -----------------
  1158. */
  1159. var areaData = [[2, 88.0], [3, 93.3], [4, 102.0], [5, 108.5], [6, 115.7], [7, 115.6],
  1160. [8, 124.6], [9, 130.3], [10, 134.3], [11, 141.4], [12, 146.5], [13, 151.7], [14, 159.9],
  1161. [15, 165.4], [16, 167.8], [17, 168.7], [18, 169.5], [19, 168.0]]
  1162. $.plot('#area-chart', [areaData], {
  1163. grid : {
  1164. borderWidth: 0
  1165. },
  1166. series: {
  1167. shadowSize: 0, // Drawing is faster without shadows
  1168. color : '#00c0ef',
  1169. lines : {
  1170. fill: true //Converts the line chart to area chart
  1171. },
  1172. },
  1173. yaxis : {
  1174. show: false
  1175. },
  1176. xaxis : {
  1177. show: false
  1178. }
  1179. })
  1180. /* END AREA CHART */
  1181. /*
  1182. * BAR CHART
  1183. * ---------
  1184. */
  1185. var bar_data = {
  1186. data : [[1,10], [2,8], [3,4], [4,13], [5,17], [6,9]],
  1187. bars: { show: true }
  1188. }
  1189. $.plot('#bar-chart', [bar_data], {
  1190. grid : {
  1191. borderWidth: 1,
  1192. borderColor: '#f3f3f3',
  1193. tickColor : '#f3f3f3'
  1194. },
  1195. series: {
  1196. bars: {
  1197. show: true, barWidth: 0.5, align: 'center',
  1198. },
  1199. },
  1200. colors: ['#3c8dbc'],
  1201. xaxis : {
  1202. ticks: [[1,'January'], [2,'February'], [3,'March'], [4,'April'], [5,'May'], [6,'June']]
  1203. }
  1204. })
  1205. /* END BAR CHART */
  1206. /*
  1207. * DONUT CHART
  1208. * -----------
  1209. */
  1210. var donutData = [
  1211. {
  1212. label: 'Series2',
  1213. data : 30,
  1214. color: '#3c8dbc'
  1215. },
  1216. {
  1217. label: 'Series3',
  1218. data : 20,
  1219. color: '#0073b7'
  1220. },
  1221. {
  1222. label: 'Series4',
  1223. data : 50,
  1224. color: '#00c0ef'
  1225. }
  1226. ]
  1227. $.plot('#donut-chart', donutData, {
  1228. series: {
  1229. pie: {
  1230. show : true,
  1231. radius : 1,
  1232. innerRadius: 0.5,
  1233. label : {
  1234. show : true,
  1235. radius : 2 / 3,
  1236. formatter: labelFormatter,
  1237. threshold: 0.1
  1238. }
  1239. }
  1240. },
  1241. legend: {
  1242. show: false
  1243. }
  1244. })
  1245. /*
  1246. * END DONUT CHART
  1247. */
  1248. })
  1249. /*
  1250. * Custom Label formatter
  1251. * ----------------------
  1252. */
  1253. function labelFormatter(label, series) {
  1254. return '<div style="font-size:13px; text-align:center; padding:2px; color: #fff; font-weight: 600;">'
  1255. + label
  1256. + '<br>'
  1257. + Math.round(series.percent) + '%</div>'
  1258. }
  1259. </script>
  1260. </body>
  1261. </html>