chartjs2.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <!-- Meta, title, CSS, favicons, etc. -->
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <title>Chart JS Graph Examples Part 2 | Gentelella Alela! by Colorlib</title>
  10. <!-- Bootstrap -->
  11. <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  12. <!-- Font Awesome -->
  13. <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  14. <!-- NProgress -->
  15. <link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
  16. <!-- Custom Theme Style -->
  17. <link href="../build/css/custom.css" rel="stylesheet">
  18. <link href="../build/css/style-extra-bs4.css" rel="stylesheet">
  19. </head>
  20. <body class="nav-md">
  21. <div class="body">
  22. <div class="main_container container-fluid">
  23. <div class="row">
  24. <div class="col-lg-2 col-md-2 left_col">
  25. <div class="left_col">
  26. <div class="navbar nav_title" style="border: 0;">
  27. <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>Gentelella Alela!</span></a>
  28. </div>
  29. <div class="clearfix"></div>
  30. <!-- menu profile quick info -->
  31. <div class="profile clearfix">
  32. <div class="profile_pic">
  33. <img src="images/img.jpg" alt="..." class="img-circle profile_img">
  34. </div>
  35. <div class="profile_info">
  36. <span>Welcome,</span>
  37. <h2>John Doe</h2>
  38. </div>
  39. </div>
  40. <!-- /menu profile quick info -->
  41. <br/>
  42. <!-- sidebar menu -->
  43. <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
  44. <div class="menu_section">
  45. <h3>General</h3>
  46. <ul class="nav side-menu">
  47. <li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a>
  48. <ul class="nav child_menu">
  49. <li><a href="index.html">Dashboard</a></li>
  50. <li><a href="index2.html">Dashboard2</a></li>
  51. <li><a href="index3.html">Dashboard3</a></li>
  52. </ul>
  53. </li>
  54. <li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a>
  55. <ul class="nav child_menu">
  56. <li><a href="form.html">General Form</a></li>
  57. <li><a href="form_advanced.html">Advanced Components</a></li>
  58. <li><a href="form_validation.html">Form Validation</a></li>
  59. <li><a href="form_wizards.html">Form Wizard</a></li>
  60. <li><a href="form_upload.html">Form Upload</a></li>
  61. <li><a href="form_buttons.html">Form Buttons</a></li>
  62. </ul>
  63. </li>
  64. <li><a><i class="fa fa-desktop"></i> UI Elements <span
  65. class="fa fa-chevron-down"></span></a>
  66. <ul class="nav child_menu">
  67. <li><a href="general_elements.html">General Elements</a></li>
  68. <li><a href="media_gallery.html">Media Gallery</a></li>
  69. <li><a href="typography.html">Typography</a></li>
  70. <li><a href="icons.html">Icons</a></li>
  71. <li><a href="widgets.html">Widgets</a></li>
  72. <li><a href="invoice.html">Invoice</a></li>
  73. <li><a href="inbox.html">Inbox</a></li>
  74. <li><a href="calendar.html">Calendar</a></li>
  75. </ul>
  76. </li>
  77. <li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a>
  78. <ul class="nav child_menu">
  79. <li><a href="tables.html">Tables</a></li>
  80. <li><a href="tables_dynamic.html">Table Dynamic</a></li>
  81. </ul>
  82. </li>
  83. <li><a><i class="fa fa-bar-chart-o"></i> Data Presentation <span
  84. class="fa fa-chevron-down"></span></a>
  85. <ul class="nav child_menu">
  86. <li><a href="chartjs.html">Chart JS</a></li>
  87. <li><a href="chartjs2.html">Chart JS2</a></li>
  88. <li><a href="morisjs.html">Moris JS</a></li>
  89. <li><a href="echarts.html">ECharts</a></li>
  90. <li><a href="other_charts.html">Other Charts</a></li>
  91. </ul>
  92. </li>
  93. <li><a><i class="fa fa-clone"></i>Layouts <span class="fa fa-chevron-down"></span></a>
  94. <ul class="nav child_menu">
  95. <li><a href="fixed_sidebar.html">Fixed Sidebar</a></li>
  96. <li><a href="fixed_footer.html">Fixed Footer</a></li>
  97. </ul>
  98. </li>
  99. </ul>
  100. </div>
  101. <div class="menu_section">
  102. <h3>Live On</h3>
  103. <ul class="nav side-menu">
  104. <li><a><i class="fa fa-bug"></i> Additional Pages <span
  105. class="fa fa-chevron-down"></span></a>
  106. <ul class="nav child_menu">
  107. <li><a href="e_commerce.html">E-commerce</a></li>
  108. <li><a href="projects.html">Projects</a></li>
  109. <li><a href="project_detail.html">Project Detail</a></li>
  110. <li><a href="contacts.html">Contacts</a></li>
  111. <li><a href="profile.html">Profile</a></li>
  112. </ul>
  113. </li>
  114. <li><a><i class="fa fa-windows"></i> Extras <span class="fa fa-chevron-down"></span></a>
  115. <ul class="nav child_menu">
  116. <li><a href="page_403.html">403 Error</a></li>
  117. <li><a href="page_404.html">404 Error</a></li>
  118. <li><a href="page_500.html">500 Error</a></li>
  119. <li><a href="plain_page.html">Plain Page</a></li>
  120. <li><a href="login.html">Login Page</a></li>
  121. <li><a href="pricing_tables.html">Pricing Tables</a></li>
  122. </ul>
  123. </li>
  124. <li><a><i class="fa fa-sitemap"></i> Multilevel Menu <span
  125. class="fa fa-chevron-down"></span></a>
  126. <ul class="nav child_menu">
  127. <li><a href="#level1_1">Level One</a></li>
  128. <li><a>Level One<span class="fa fa-chevron-down"></span></a>
  129. <ul class="nav child_menu">
  130. <li class="sub_menu"><a href="level2.html">Level Two</a>
  131. </li>
  132. <li><a href="#level2_1">Level Two</a>
  133. </li>
  134. <li><a href="#level2_2">Level Two</a>
  135. </li>
  136. </ul>
  137. </li>
  138. <li><a href="#level1_2">Level One</a>
  139. </li>
  140. </ul>
  141. </li>
  142. <li><a href="javascript:void(0)"><i class="fa fa-laptop"></i> Landing Page <span
  143. class="label label-success pull-right">Coming Soon</span></a></li>
  144. </ul>
  145. </div>
  146. </div>
  147. <!-- /sidebar menu -->
  148. <!-- /menu footer buttons -->
  149. <div class="sidebar-footer col-lg-2 hidden-small">
  150. <a data-toggle="tooltip" data-placement="top" title="Settings">
  151. <span class="fa fa-cog" aria-hidden="true"></span>
  152. </a>
  153. <a data-toggle="tooltip" data-placement="top" title="FullScreen">
  154. <span class="fa fa-arrows-alt" aria-hidden="true"></span>
  155. </a>
  156. <a data-toggle="tooltip" data-placement="top" title="Lock">
  157. <span class="fa fa-eye-slash" aria-hidden="true"></span>
  158. </a>
  159. <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">
  160. <span class="fa fa-power-off" aria-hidden="true"></span>
  161. </a>
  162. </div>
  163. <!-- /menu footer buttons -->
  164. </div>
  165. </div>
  166. <div class="col-lg-10 col-md-12 right_col_wrapper">
  167. <div class="row">
  168. <!-- top navigation -->
  169. <div class="col-lg-12 top_nav">
  170. <div class="nav_menu">
  171. <nav>
  172. <div class="nav toggle">
  173. <a id="menu_toggle"><i class="fa fa-bars"></i></a>
  174. </div>
  175. <ul class="nav navbar-nav navbar-right">
  176. <li class="">
  177. <a href="javascript:;" class="user-profile dropdown-toggle"
  178. data-toggle="dropdown"
  179. aria-expanded="false">
  180. <img src="images/img.jpg" alt="">John Doe
  181. <span class=" fa fa-angle-down"></span>
  182. </a>
  183. <ul class="dropdown-menu dropdown-usermenu pull-right">
  184. <li><a href="javascript:;"> Profile</a></li>
  185. <li>
  186. <a href="javascript:;">
  187. <span class="badge bg-red pull-right">50%</span>
  188. <span>Settings</span>
  189. </a>
  190. </li>
  191. <li><a href="javascript:;">Help</a></li>
  192. <li><a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log
  193. Out</a>
  194. </li>
  195. </ul>
  196. </li>
  197. <li role="presentation" class="dropdown">
  198. <a href="javascript:;" class="dropdown-toggle info-number"
  199. data-toggle="dropdown"
  200. aria-expanded="false">
  201. <i class="fa fa-envelope-o"></i>
  202. <span class="badge bg-green">6</span>
  203. </a>
  204. <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
  205. <li>
  206. <a>
  207. <span class="image"><img src="images/img.jpg"
  208. alt="Profile Image"/></span>
  209. <span>
  210. <span>John Smith</span>
  211. <span class="time">3 mins ago</span>
  212. </span>
  213. <span class="message">
  214. Film festivals used to be do-or-die moments for movie makers. They were where...
  215. </span>
  216. </a>
  217. </li>
  218. <li>
  219. <a>
  220. <span class="image"><img src="images/img.jpg"
  221. alt="Profile Image"/></span>
  222. <span>
  223. <span>John Smith</span>
  224. <span class="time">3 mins ago</span>
  225. </span>
  226. <span class="message">
  227. Film festivals used to be do-or-die moments for movie makers. They were where...
  228. </span>
  229. </a>
  230. </li>
  231. <li>
  232. <a>
  233. <span class="image"><img src="images/img.jpg"
  234. alt="Profile Image"/></span>
  235. <span>
  236. <span>John Smith</span>
  237. <span class="time">3 mins ago</span>
  238. </span>
  239. <span class="message">
  240. Film festivals used to be do-or-die moments for movie makers. They were where...
  241. </span>
  242. </a>
  243. </li>
  244. <li>
  245. <a>
  246. <span class="image"><img src="images/img.jpg"
  247. alt="Profile Image"/></span>
  248. <span>
  249. <span>John Smith</span>
  250. <span class="time">3 mins ago</span>
  251. </span>
  252. <span class="message">
  253. Film festivals used to be do-or-die moments for movie makers. They were where...
  254. </span>
  255. </a>
  256. </li>
  257. <li>
  258. <div class="text-center">
  259. <a>
  260. <strong>See All Alerts</strong>
  261. <i class="fa fa-angle-right"></i>
  262. </a>
  263. </div>
  264. </li>
  265. </ul>
  266. </li>
  267. </ul>
  268. </nav>
  269. </div>
  270. </div>
  271. <!-- /top navigation -->
  272. <!-- page content -->
  273. <div class="col-lg-12 right_col" role="main">
  274. <div class="">
  275. <div class="page-title row">
  276. <div class="col-sm-6 col-12 text-left">
  277. <h3>Chart Js
  278. <small>Some examples to get you started</small>
  279. </h3>
  280. </div>
  281. <div class="col-sm-6 col-12 text-right">
  282. <div class="row">
  283. <div class="offset-xl-7 col-xl-5 col-lg-12 col-md-12 col-sm-5 col-12 form-group pull-right top_search mt-3">
  284. <div class="input-group">
  285. <input type="text" class="form-control" placeholder="Search for...">
  286. <span class="input-group-btn">
  287. <button class="btn btn-light" type="button">Go!</button>
  288. </span>
  289. </div>
  290. </div>
  291. </div>
  292. </div>
  293. </div>
  294. <div class="clearfix"></div>
  295. <div class="row">
  296. <div class="col-lg-6 col-md-6 col-sm-6 col-12">
  297. <div class="x_panel">
  298. <div class="x_title">
  299. <h2>Line Graph
  300. <small>Sessions</small>
  301. </h2>
  302. <ul class="nav navbar-right panel_toolbox">
  303. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  304. </li>
  305. <li class="dropdown">
  306. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  307. role="button"
  308. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  309. <ul class="dropdown-menu" role="menu">
  310. <li><a href="#">Settings 1</a>
  311. </li>
  312. <li><a href="#">Settings 2</a>
  313. </li>
  314. </ul>
  315. </li>
  316. <li><a class="close-link"><i class="fa fa-close"></i></a>
  317. </li>
  318. </ul>
  319. <div class="clearfix"></div>
  320. </div>
  321. <div class="x_content">
  322. <canvas id="lineChart"></canvas>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="col-lg-6 col-md-6 col-sm-6 col-12">
  327. <div class="x_panel">
  328. <div class="x_title">
  329. <h2>Bar Graph
  330. <small>Sessions</small>
  331. </h2>
  332. <ul class="nav navbar-right panel_toolbox">
  333. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  334. </li>
  335. <li class="dropdown">
  336. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  337. role="button"
  338. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  339. <ul class="dropdown-menu" role="menu">
  340. <li><a href="#">Settings 1</a>
  341. </li>
  342. <li><a href="#">Settings 2</a>
  343. </li>
  344. </ul>
  345. </li>
  346. <li><a class="close-link"><i class="fa fa-close"></i></a>
  347. </li>
  348. </ul>
  349. <div class="clearfix"></div>
  350. </div>
  351. <div class="x_content">
  352. <canvas id="mybarChart"></canvas>
  353. </div>
  354. </div>
  355. </div>
  356. <div class="col-lg-6 col-md-6 col-sm-6 col-12">
  357. <div class="x_panel">
  358. <div class="x_title">
  359. <h2>Donut Chart Graph
  360. <small>Sessions</small>
  361. </h2>
  362. <ul class="nav navbar-right panel_toolbox">
  363. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  364. </li>
  365. <li class="dropdown">
  366. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  367. role="button"
  368. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  369. <ul class="dropdown-menu" role="menu">
  370. <li><a href="#">Settings 1</a>
  371. </li>
  372. <li><a href="#">Settings 2</a>
  373. </li>
  374. </ul>
  375. </li>
  376. <li><a class="close-link"><i class="fa fa-close"></i></a>
  377. </li>
  378. </ul>
  379. <div class="clearfix"></div>
  380. </div>
  381. <div class="x_content">
  382. <canvas id="canvasDoughnut"></canvas>
  383. </div>
  384. </div>
  385. </div>
  386. <div class="col-lg-6 col-md-6 col-sm-6 col-12">
  387. <div class="x_panel">
  388. <div class="x_title">
  389. <h2>Radar Chart
  390. <small>Sessions</small>
  391. </h2>
  392. <ul class="nav navbar-right panel_toolbox">
  393. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  394. </li>
  395. <li class="dropdown">
  396. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  397. role="button"
  398. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  399. <ul class="dropdown-menu" role="menu">
  400. <li><a href="#">Settings 1</a>
  401. </li>
  402. <li><a href="#">Settings 2</a>
  403. </li>
  404. </ul>
  405. </li>
  406. <li><a class="close-link"><i class="fa fa-close"></i></a>
  407. </li>
  408. </ul>
  409. <div class="clearfix"></div>
  410. </div>
  411. <div class="x_content">
  412. <canvas id="canvasRadar"></canvas>
  413. </div>
  414. </div>
  415. </div>
  416. <div class="col-lg-6 col-md-6 col-sm-6 col-12">
  417. <div class="x_panel">
  418. <div class="x_title">
  419. <h2>Pie Area Chart
  420. <small>Sessions</small>
  421. </h2>
  422. <ul class="nav navbar-right panel_toolbox">
  423. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  424. </li>
  425. <li class="dropdown">
  426. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  427. role="button"
  428. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  429. <ul class="dropdown-menu" role="menu">
  430. <li><a href="#">Settings 1</a>
  431. </li>
  432. <li><a href="#">Settings 2</a>
  433. </li>
  434. </ul>
  435. </li>
  436. <li><a class="close-link"><i class="fa fa-close"></i></a>
  437. </li>
  438. </ul>
  439. <div class="clearfix"></div>
  440. </div>
  441. <div class="x_content">
  442. <canvas id="polarArea"></canvas>
  443. </div>
  444. </div>
  445. </div>
  446. <div class="col-lg-6 col-md-6 col-sm-6 col-12">
  447. <div class="x_panel">
  448. <div class="x_title">
  449. <h2>Pie Chart Graph
  450. <small>Sessions</small>
  451. </h2>
  452. <ul class="nav navbar-right panel_toolbox">
  453. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  454. </li>
  455. <li class="dropdown">
  456. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  457. role="button"
  458. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  459. <ul class="dropdown-menu" role="menu">
  460. <li><a href="#">Settings 1</a>
  461. </li>
  462. <li><a href="#">Settings 2</a>
  463. </li>
  464. </ul>
  465. </li>
  466. <li><a class="close-link"><i class="fa fa-close"></i></a>
  467. </li>
  468. </ul>
  469. <div class="clearfix"></div>
  470. </div>
  471. <div class="x_content">
  472. <canvas id="pieChart"></canvas>
  473. </div>
  474. </div>
  475. </div>
  476. </div>
  477. <div class="clearfix"></div>
  478. <br/>
  479. </div>
  480. </div>
  481. <!-- /page content -->
  482. <!-- footer content -->
  483. <footer class="col-lg-12">
  484. <div class="pull-right">
  485. Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
  486. </div>
  487. <div class="clearfix"></div>
  488. </footer>
  489. <!-- /footer content -->
  490. </div>
  491. </div>
  492. </div>
  493. </div>
  494. </div>
  495. <!-- jQuery -->
  496. <script src="../vendors/jquery/dist/jquery.min.js"></script>
  497. <!-- Popper -->
  498. <script src="../vendors/popper/popper.min.js"></script>
  499. <!-- Bootstrap -->
  500. <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
  501. <!-- FastClick -->
  502. <script src="../vendors/fastclick/lib/fastclick.js"></script>
  503. <!-- NProgress -->
  504. <script src="../vendors/nprogress/nprogress.js"></script>
  505. <!-- Chart.js -->
  506. <script src="../vendors/Chart.js/dist/Chart.min.js"></script>
  507. <!-- Custom Theme Scripts -->
  508. <script src="../build/js/custom.min.js"></script>
  509. </body>
  510. </html>