charts.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>SB Admin 2 - Charts</title>
  10. <!-- Custom fonts for this template-->
  11. <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  12. <link
  13. href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
  14. rel="stylesheet">
  15. <!-- Custom styles for this template-->
  16. <link href="css/sb-admin-2.min.css" rel="stylesheet">
  17. </head>
  18. <body id="page-top">
  19. <!-- Page Wrapper -->
  20. <div id="wrapper">
  21. <!-- Sidebar -->
  22. <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
  23. <!-- Sidebar - Brand -->
  24. <a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
  25. <div class="sidebar-brand-icon rotate-n-15">
  26. <i class="fas fa-laugh-wink"></i>
  27. </div>
  28. <div class="sidebar-brand-text mx-3">SB Admin <sup>2</sup></div>
  29. </a>
  30. <!-- Divider -->
  31. <hr class="sidebar-divider my-0">
  32. <!-- Nav Item - Dashboard -->
  33. <li class="nav-item">
  34. <a class="nav-link" href="index.html">
  35. <i class="fas fa-fw fa-tachometer-alt"></i>
  36. <span>Dashboard</span></a>
  37. </li>
  38. <!-- Divider -->
  39. <hr class="sidebar-divider">
  40. <!-- Heading -->
  41. <div class="sidebar-heading">
  42. Interface
  43. </div>
  44. <!-- Nav Item - Pages Collapse Menu -->
  45. <li class="nav-item">
  46. <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTwo"
  47. aria-expanded="true" aria-controls="collapseTwo">
  48. <i class="fas fa-fw fa-cog"></i>
  49. <span>Components</span>
  50. </a>
  51. <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
  52. <div class="bg-white py-2 collapse-inner rounded">
  53. <h6 class="collapse-header">Custom Components:</h6>
  54. <a class="collapse-item" href="buttons.html">Buttons</a>
  55. <a class="collapse-item" href="cards.html">Cards</a>
  56. </div>
  57. </div>
  58. </li>
  59. <!-- Nav Item - Utilities Collapse Menu -->
  60. <li class="nav-item">
  61. <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseUtilities"
  62. aria-expanded="true" aria-controls="collapseUtilities">
  63. <i class="fas fa-fw fa-wrench"></i>
  64. <span>Utilities</span>
  65. </a>
  66. <div id="collapseUtilities" class="collapse" aria-labelledby="headingUtilities"
  67. data-parent="#accordionSidebar">
  68. <div class="bg-white py-2 collapse-inner rounded">
  69. <h6 class="collapse-header">Custom Utilities:</h6>
  70. <a class="collapse-item" href="utilities-color.html">Colors</a>
  71. <a class="collapse-item" href="utilities-border.html">Borders</a>
  72. <a class="collapse-item" href="utilities-animation.html">Animations</a>
  73. <a class="collapse-item" href="utilities-other.html">Other</a>
  74. </div>
  75. </div>
  76. </li>
  77. <!-- Divider -->
  78. <hr class="sidebar-divider">
  79. <!-- Heading -->
  80. <div class="sidebar-heading">
  81. Addons
  82. </div>
  83. <!-- Nav Item - Pages Collapse Menu -->
  84. <li class="nav-item">
  85. <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages"
  86. aria-expanded="true" aria-controls="collapsePages">
  87. <i class="fas fa-fw fa-folder"></i>
  88. <span>Pages</span>
  89. </a>
  90. <div id="collapsePages" class="collapse" aria-labelledby="headingPages" data-parent="#accordionSidebar">
  91. <div class="bg-white py-2 collapse-inner rounded">
  92. <h6 class="collapse-header">Login Screens:</h6>
  93. <a class="collapse-item" href="login.html">Login</a>
  94. <a class="collapse-item" href="register.html">Register</a>
  95. <a class="collapse-item" href="forgot-password.html">Forgot Password</a>
  96. <div class="collapse-divider"></div>
  97. <h6 class="collapse-header">Other Pages:</h6>
  98. <a class="collapse-item" href="404.html">404 Page</a>
  99. <a class="collapse-item" href="blank.html">Blank Page</a>
  100. </div>
  101. </div>
  102. </li>
  103. <!-- Nav Item - Charts -->
  104. <li class="nav-item active">
  105. <a class="nav-link" href="charts.html">
  106. <i class="fas fa-fw fa-chart-area"></i>
  107. <span>Charts</span></a>
  108. </li>
  109. <!-- Nav Item - Tables -->
  110. <li class="nav-item">
  111. <a class="nav-link" href="tables.html">
  112. <i class="fas fa-fw fa-table"></i>
  113. <span>Tables</span></a>
  114. </li>
  115. <!-- Divider -->
  116. <hr class="sidebar-divider d-none d-md-block">
  117. <!-- Sidebar Toggler (Sidebar) -->
  118. <div class="text-center d-none d-md-inline">
  119. <button class="rounded-circle border-0" id="sidebarToggle"></button>
  120. </div>
  121. </ul>
  122. <!-- End of Sidebar -->
  123. <!-- Content Wrapper -->
  124. <div id="content-wrapper" class="d-flex flex-column">
  125. <!-- Main Content -->
  126. <div id="content">
  127. <!-- Topbar -->
  128. <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
  129. <!-- Sidebar Toggle (Topbar) -->
  130. <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
  131. <i class="fa fa-bars"></i>
  132. </button>
  133. <!-- Topbar Search -->
  134. <form
  135. class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-search">
  136. <div class="input-group">
  137. <input type="text" class="form-control bg-light border-0 small" placeholder="Search for..."
  138. aria-label="Search" aria-describedby="basic-addon2">
  139. <div class="input-group-append">
  140. <button class="btn btn-primary" type="button">
  141. <i class="fas fa-search fa-sm"></i>
  142. </button>
  143. </div>
  144. </div>
  145. </form>
  146. <!-- Topbar Navbar -->
  147. <ul class="navbar-nav ml-auto">
  148. <!-- Nav Item - Search Dropdown (Visible Only XS) -->
  149. <li class="nav-item dropdown no-arrow d-sm-none">
  150. <a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button"
  151. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  152. <i class="fas fa-search fa-fw"></i>
  153. </a>
  154. <!-- Dropdown - Messages -->
  155. <div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in"
  156. aria-labelledby="searchDropdown">
  157. <form class="form-inline mr-auto w-100 navbar-search">
  158. <div class="input-group">
  159. <input type="text" class="form-control bg-light border-0 small"
  160. placeholder="Search for..." aria-label="Search"
  161. aria-describedby="basic-addon2">
  162. <div class="input-group-append">
  163. <button class="btn btn-primary" type="button">
  164. <i class="fas fa-search fa-sm"></i>
  165. </button>
  166. </div>
  167. </div>
  168. </form>
  169. </div>
  170. </li>
  171. <!-- Nav Item - Alerts -->
  172. <li class="nav-item dropdown no-arrow mx-1">
  173. <a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button"
  174. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  175. <i class="fas fa-bell fa-fw"></i>
  176. <!-- Counter - Alerts -->
  177. <span class="badge badge-danger badge-counter">3+</span>
  178. </a>
  179. <!-- Dropdown - Alerts -->
  180. <div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in"
  181. aria-labelledby="alertsDropdown">
  182. <h6 class="dropdown-header">
  183. Alerts Center
  184. </h6>
  185. <a class="dropdown-item d-flex align-items-center" href="#">
  186. <div class="mr-3">
  187. <div class="icon-circle bg-primary">
  188. <i class="fas fa-file-alt text-white"></i>
  189. </div>
  190. </div>
  191. <div>
  192. <div class="small text-gray-500">December 12, 2019</div>
  193. <span class="font-weight-bold">A new monthly report is ready to download!</span>
  194. </div>
  195. </a>
  196. <a class="dropdown-item d-flex align-items-center" href="#">
  197. <div class="mr-3">
  198. <div class="icon-circle bg-success">
  199. <i class="fas fa-donate text-white"></i>
  200. </div>
  201. </div>
  202. <div>
  203. <div class="small text-gray-500">December 7, 2019</div>
  204. $290.29 has been deposited into your account!
  205. </div>
  206. </a>
  207. <a class="dropdown-item d-flex align-items-center" href="#">
  208. <div class="mr-3">
  209. <div class="icon-circle bg-warning">
  210. <i class="fas fa-exclamation-triangle text-white"></i>
  211. </div>
  212. </div>
  213. <div>
  214. <div class="small text-gray-500">December 2, 2019</div>
  215. Spending Alert: We've noticed unusually high spending for your account.
  216. </div>
  217. </a>
  218. <a class="dropdown-item text-center small text-gray-500" href="#">Show All Alerts</a>
  219. </div>
  220. </li>
  221. <!-- Nav Item - Messages -->
  222. <li class="nav-item dropdown no-arrow mx-1">
  223. <a class="nav-link dropdown-toggle" href="#" id="messagesDropdown" role="button"
  224. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  225. <i class="fas fa-envelope fa-fw"></i>
  226. <!-- Counter - Messages -->
  227. <span class="badge badge-danger badge-counter">7</span>
  228. </a>
  229. <!-- Dropdown - Messages -->
  230. <div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in"
  231. aria-labelledby="messagesDropdown">
  232. <h6 class="dropdown-header">
  233. Message Center
  234. </h6>
  235. <a class="dropdown-item d-flex align-items-center" href="#">
  236. <div class="dropdown-list-image mr-3">
  237. <img class="rounded-circle" src="img/undraw_profile_1.svg"
  238. alt="...">
  239. <div class="status-indicator bg-success"></div>
  240. </div>
  241. <div class="font-weight-bold">
  242. <div class="text-truncate">Hi there! I am wondering if you can help me with a
  243. problem I've been having.</div>
  244. <div class="small text-gray-500">Emily Fowler · 58m</div>
  245. </div>
  246. </a>
  247. <a class="dropdown-item d-flex align-items-center" href="#">
  248. <div class="dropdown-list-image mr-3">
  249. <img class="rounded-circle" src="img/undraw_profile_2.svg"
  250. alt="...">
  251. <div class="status-indicator"></div>
  252. </div>
  253. <div>
  254. <div class="text-truncate">I have the photos that you ordered last month, how
  255. would you like them sent to you?</div>
  256. <div class="small text-gray-500">Jae Chun · 1d</div>
  257. </div>
  258. </a>
  259. <a class="dropdown-item d-flex align-items-center" href="#">
  260. <div class="dropdown-list-image mr-3">
  261. <img class="rounded-circle" src="img/undraw_profile_3.svg"
  262. alt="...">
  263. <div class="status-indicator bg-warning"></div>
  264. </div>
  265. <div>
  266. <div class="text-truncate">Last month's report looks great, I am very happy with
  267. the progress so far, keep up the good work!</div>
  268. <div class="small text-gray-500">Morgan Alvarez · 2d</div>
  269. </div>
  270. </a>
  271. <a class="dropdown-item d-flex align-items-center" href="#">
  272. <div class="dropdown-list-image mr-3">
  273. <img class="rounded-circle" src="https://source.unsplash.com/Mv9hjnEUHR4/60x60"
  274. alt="...">
  275. <div class="status-indicator bg-success"></div>
  276. </div>
  277. <div>
  278. <div class="text-truncate">Am I a good boy? The reason I ask is because someone
  279. told me that people say this to all dogs, even if they aren't good...</div>
  280. <div class="small text-gray-500">Chicken the Dog · 2w</div>
  281. </div>
  282. </a>
  283. <a class="dropdown-item text-center small text-gray-500" href="#">Read More Messages</a>
  284. </div>
  285. </li>
  286. <div class="topbar-divider d-none d-sm-block"></div>
  287. <!-- Nav Item - User Information -->
  288. <li class="nav-item dropdown no-arrow">
  289. <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button"
  290. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  291. <span class="mr-2 d-none d-lg-inline text-gray-600 small">Douglas McGee</span>
  292. <img class="img-profile rounded-circle"
  293. src="img/undraw_profile.svg">
  294. </a>
  295. <!-- Dropdown - User Information -->
  296. <div class="dropdown-menu dropdown-menu-right shadow animated--grow-in"
  297. aria-labelledby="userDropdown">
  298. <a class="dropdown-item" href="#">
  299. <i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>
  300. Profile
  301. </a>
  302. <a class="dropdown-item" href="#">
  303. <i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>
  304. Settings
  305. </a>
  306. <a class="dropdown-item" href="#">
  307. <i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>
  308. Activity Log
  309. </a>
  310. <div class="dropdown-divider"></div>
  311. <a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">
  312. <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
  313. Logout
  314. </a>
  315. </div>
  316. </li>
  317. </ul>
  318. </nav>
  319. <!-- End of Topbar -->
  320. <!-- Begin Page Content -->
  321. <div class="container-fluid">
  322. <!-- Page Heading -->
  323. <h1 class="h3 mb-2 text-gray-800">Charts</h1>
  324. <p class="mb-4">Chart.js is a third party plugin that is used to generate the charts in this theme.
  325. The charts below have been customized - for further customization options, please visit the <a
  326. target="_blank" href="https://www.chartjs.org/docs/latest/">official Chart.js
  327. documentation</a>.</p>
  328. <!-- Content Row -->
  329. <div class="row">
  330. <div class="col-xl-8 col-lg-7">
  331. <!-- Area Chart -->
  332. <div class="card shadow mb-4">
  333. <div class="card-header py-3">
  334. <h6 class="m-0 font-weight-bold text-primary">Area Chart</h6>
  335. </div>
  336. <div class="card-body">
  337. <div class="chart-area">
  338. <canvas id="myAreaChart"></canvas>
  339. </div>
  340. <hr>
  341. Styling for the area chart can be found in the
  342. <code>/js/demo/chart-area-demo.js</code> file.
  343. </div>
  344. </div>
  345. <!-- Bar Chart -->
  346. <div class="card shadow mb-4">
  347. <div class="card-header py-3">
  348. <h6 class="m-0 font-weight-bold text-primary">Bar Chart</h6>
  349. </div>
  350. <div class="card-body">
  351. <div class="chart-bar">
  352. <canvas id="myBarChart"></canvas>
  353. </div>
  354. <hr>
  355. Styling for the bar chart can be found in the
  356. <code>/js/demo/chart-bar-demo.js</code> file.
  357. </div>
  358. </div>
  359. </div>
  360. <!-- Donut Chart -->
  361. <div class="col-xl-4 col-lg-5">
  362. <div class="card shadow mb-4">
  363. <!-- Card Header - Dropdown -->
  364. <div class="card-header py-3">
  365. <h6 class="m-0 font-weight-bold text-primary">Donut Chart</h6>
  366. </div>
  367. <!-- Card Body -->
  368. <div class="card-body">
  369. <div class="chart-pie pt-4">
  370. <canvas id="myPieChart"></canvas>
  371. </div>
  372. <hr>
  373. Styling for the donut chart can be found in the
  374. <code>/js/demo/chart-pie-demo.js</code> file.
  375. </div>
  376. </div>
  377. </div>
  378. </div>
  379. </div>
  380. <!-- /.container-fluid -->
  381. </div>
  382. <!-- End of Main Content -->
  383. <!-- Footer -->
  384. <footer class="sticky-footer bg-white">
  385. <div class="container my-auto">
  386. <div class="copyright text-center my-auto">
  387. <span>Copyright &copy; Your Website 2020</span>
  388. </div>
  389. </div>
  390. </footer>
  391. <!-- End of Footer -->
  392. </div>
  393. <!-- End of Content Wrapper -->
  394. </div>
  395. <!-- End of Page Wrapper -->
  396. <!-- Scroll to Top Button-->
  397. <a class="scroll-to-top rounded" href="#page-top">
  398. <i class="fas fa-angle-up"></i>
  399. </a>
  400. <!-- Logout Modal-->
  401. <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  402. aria-hidden="true">
  403. <div class="modal-dialog" role="document">
  404. <div class="modal-content">
  405. <div class="modal-header">
  406. <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
  407. <button class="close" type="button" data-dismiss="modal" aria-label="Close">
  408. <span aria-hidden="true">×</span>
  409. </button>
  410. </div>
  411. <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
  412. <div class="modal-footer">
  413. <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
  414. <a class="btn btn-primary" href="login.html">Logout</a>
  415. </div>
  416. </div>
  417. </div>
  418. </div>
  419. <!-- Bootstrap core JavaScript-->
  420. <script src="vendor/jquery/jquery.min.js"></script>
  421. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  422. <!-- Core plugin JavaScript-->
  423. <script src="vendor/jquery-easing/jquery.easing.min.js"></script>
  424. <!-- Custom scripts for all pages-->
  425. <script src="js/sb-admin-2.min.js"></script>
  426. <!-- Page level plugins -->
  427. <script src="vendor/chart.js/Chart.min.js"></script>
  428. <!-- Page level custom scripts -->
  429. <script src="js/demo/chart-area-demo.js"></script>
  430. <script src="js/demo/chart-pie-demo.js"></script>
  431. <script src="js/demo/chart-bar-demo.js"></script>
  432. </body>
  433. </html>