chartjs.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  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 | 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></li>
  194. </ul>
  195. </li>
  196. <li role="presentation" class="dropdown">
  197. <a href="javascript:;" class="dropdown-toggle info-number"
  198. data-toggle="dropdown"
  199. aria-expanded="false">
  200. <i class="fa fa-envelope-o"></i>
  201. <span class="badge bg-green">6</span>
  202. </a>
  203. <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
  204. <li>
  205. <a>
  206. <span class="image"><img src="images/img.jpg" alt="Profile Image"/></span>
  207. <span>
  208. <span>John Smith</span>
  209. <span class="time">3 mins ago</span>
  210. </span>
  211. <span class="message">
  212. Film festivals used to be do-or-die moments for movie makers. They were where...
  213. </span>
  214. </a>
  215. </li>
  216. <li>
  217. <a>
  218. <span class="image"><img src="images/img.jpg" alt="Profile Image"/></span>
  219. <span>
  220. <span>John Smith</span>
  221. <span class="time">3 mins ago</span>
  222. </span>
  223. <span class="message">
  224. Film festivals used to be do-or-die moments for movie makers. They were where...
  225. </span>
  226. </a>
  227. </li>
  228. <li>
  229. <a>
  230. <span class="image"><img src="images/img.jpg" alt="Profile Image"/></span>
  231. <span>
  232. <span>John Smith</span>
  233. <span class="time">3 mins ago</span>
  234. </span>
  235. <span class="message">
  236. Film festivals used to be do-or-die moments for movie makers. They were where...
  237. </span>
  238. </a>
  239. </li>
  240. <li>
  241. <a>
  242. <span class="image"><img src="images/img.jpg" alt="Profile Image"/></span>
  243. <span>
  244. <span>John Smith</span>
  245. <span class="time">3 mins ago</span>
  246. </span>
  247. <span class="message">
  248. Film festivals used to be do-or-die moments for movie makers. They were where...
  249. </span>
  250. </a>
  251. </li>
  252. <li>
  253. <div class="text-center">
  254. <a>
  255. <strong>See All Alerts</strong>
  256. <i class="fa fa-angle-right"></i>
  257. </a>
  258. </div>
  259. </li>
  260. </ul>
  261. </li>
  262. </ul>
  263. </nav>
  264. </div>
  265. </div>
  266. <!-- top navigation -->
  267. <!-- page content -->
  268. <div class="col-lg-12 right_col" role="main">
  269. <div class="">
  270. <div class="page-title row">
  271. <div class="col-sm-6 col-12 text-left">
  272. <h3>Chart Js
  273. <small>Some examples to get you started</small>
  274. </h3>
  275. </div>
  276. <div class="col-sm-6 col-12 text-right">
  277. <div class="row">
  278. <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">
  279. <div class="input-group">
  280. <input type="text" class="form-control" placeholder="Search for...">
  281. <span class="input-group-btn">
  282. <button class="btn btn-light" type="button">Go!</button>
  283. </span>
  284. </div>
  285. </div>
  286. </div>
  287. </div>
  288. </div>
  289. <div class="clearfix"></div>
  290. <div class="row">
  291. <div class="col-md-6 col-sm-6 col-12">
  292. <div class="x_panel">
  293. <div class="x_title">
  294. <h2>Line graph
  295. <small>Sessions</small>
  296. </h2>
  297. <ul class="nav navbar-right panel_toolbox">
  298. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  299. </li>
  300. <li class="dropdown">
  301. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  302. role="button"
  303. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  304. <ul class="dropdown-menu" role="menu">
  305. <li><a href="#">Settings 1</a>
  306. </li>
  307. <li><a href="#">Settings 2</a>
  308. </li>
  309. </ul>
  310. </li>
  311. <li><a class="close-link"><i class="fa fa-close"></i></a>
  312. </li>
  313. </ul>
  314. <div class="clearfix"></div>
  315. </div>
  316. <div class="x_content">
  317. <canvas id="lineChart"></canvas>
  318. </div>
  319. </div>
  320. </div>
  321. <div class="col-md-6 col-sm-6 col-12">
  322. <div class="x_panel">
  323. <div class="x_title">
  324. <h2>Bar graph
  325. <small>Sessions</small>
  326. </h2>
  327. <ul class="nav navbar-right panel_toolbox">
  328. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  329. </li>
  330. <li class="dropdown">
  331. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  332. role="button"
  333. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  334. <ul class="dropdown-menu" role="menu">
  335. <li><a href="#">Settings 1</a>
  336. </li>
  337. <li><a href="#">Settings 2</a>
  338. </li>
  339. </ul>
  340. </li>
  341. <li><a class="close-link"><i class="fa fa-close"></i></a>
  342. </li>
  343. </ul>
  344. <div class="clearfix"></div>
  345. </div>
  346. <div class="x_content">
  347. <canvas id="mybarChart"></canvas>
  348. </div>
  349. </div>
  350. </div>
  351. </div>
  352. <div class="clearfix"></div>
  353. <div class="row">
  354. <div class="col-md-6 col-sm-6 col-12">
  355. <div class="x_panel">
  356. <div class="x_title">
  357. <h2>Radar
  358. <small>Sessions</small>
  359. </h2>
  360. <ul class="nav navbar-right panel_toolbox">
  361. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  362. </li>
  363. <li class="dropdown">
  364. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  365. role="button"
  366. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  367. <ul class="dropdown-menu" role="menu">
  368. <li><a href="#">Settings 1</a>
  369. </li>
  370. <li><a href="#">Settings 2</a>
  371. </li>
  372. </ul>
  373. </li>
  374. <li><a class="close-link"><i class="fa fa-close"></i></a>
  375. </li>
  376. </ul>
  377. <div class="clearfix"></div>
  378. </div>
  379. <div class="x_content">
  380. <canvas id="canvasRadar"></canvas>
  381. </div>
  382. </div>
  383. </div>
  384. <div class="col-md-6 col-sm-6 col-12">
  385. <div class="x_panel">
  386. <div class="x_title">
  387. <h2>Donut Graph
  388. <small>Sessions</small>
  389. </h2>
  390. <ul class="nav navbar-right panel_toolbox">
  391. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  392. </li>
  393. <li class="dropdown">
  394. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  395. role="button"
  396. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  397. <ul class="dropdown-menu" role="menu">
  398. <li><a href="#">Settings 1</a>
  399. </li>
  400. <li><a href="#">Settings 2</a>
  401. </li>
  402. </ul>
  403. </li>
  404. <li><a class="close-link"><i class="fa fa-close"></i></a>
  405. </li>
  406. </ul>
  407. <div class="clearfix"></div>
  408. </div>
  409. <div class="x_content">
  410. <canvas id="canvasDoughnut"></canvas>
  411. </div>
  412. </div>
  413. </div>
  414. </div>
  415. <div class="clearfix"></div>
  416. <div class="row">
  417. <div class="col-md-6 col-sm-6 col-12">
  418. <div class="x_panel">
  419. <div class="x_title">
  420. <h2>Pie Graph Chart
  421. <small>Sessions</small>
  422. </h2>
  423. <ul class="nav navbar-right panel_toolbox">
  424. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  425. </li>
  426. <li class="dropdown">
  427. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  428. role="button"
  429. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  430. <ul class="dropdown-menu" role="menu">
  431. <li><a href="#">Settings 1</a>
  432. </li>
  433. <li><a href="#">Settings 2</a>
  434. </li>
  435. </ul>
  436. </li>
  437. <li><a class="close-link"><i class="fa fa-close"></i></a>
  438. </li>
  439. </ul>
  440. <div class="clearfix"></div>
  441. </div>
  442. <div class="x_content">
  443. <canvas id="pieChart"></canvas>
  444. </div>
  445. </div>
  446. </div>
  447. <div class="col-md-6 col-sm-6 col-12">
  448. <div class="x_panel">
  449. <div class="x_title">
  450. <h2>Pie Area Graph
  451. <small>Sessions</small>
  452. </h2>
  453. <ul class="nav navbar-right panel_toolbox">
  454. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  455. </li>
  456. <li class="dropdown">
  457. <a href="#" class="dropdown-toggle" data-toggle="dropdown"
  458. role="button"
  459. aria-expanded="false"><i class="fa fa-wrench"></i></a>
  460. <ul class="dropdown-menu" role="menu">
  461. <li><a href="#">Settings 1</a>
  462. </li>
  463. <li><a href="#">Settings 2</a>
  464. </li>
  465. </ul>
  466. </li>
  467. <li><a class="close-link"><i class="fa fa-close"></i></a>
  468. </li>
  469. </ul>
  470. <div class="clearfix"></div>
  471. </div>
  472. <div class="x_content">
  473. <canvas id="polarArea"></canvas>
  474. </div>
  475. </div>
  476. </div>
  477. </div>
  478. </div>
  479. </div>
  480. <!-- page content -->
  481. <!-- footer content -->
  482. <footer class="col-lg-12">
  483. <div class="pull-right">
  484. Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
  485. </div>
  486. <div class="clearfix"></div>
  487. </footer>
  488. <!-- footer content -->
  489. </div>
  490. </div>
  491. </div>
  492. </div>
  493. </div>
  494. <!-- jQuery -->
  495. <script src="../vendors/jquery/dist/jquery.min.js"></script>
  496. <!-- Popper -->
  497. <script src="../vendors/popper/popper.min.js"></script>
  498. <!-- Bootstrap -->
  499. <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
  500. <!-- FastClick -->
  501. <script src="../vendors/fastclick/lib/fastclick.js"></script>
  502. <!-- NProgress -->
  503. <script src="../vendors/nprogress/nprogress.js"></script>
  504. <!-- Chart.js -->
  505. <script src="../vendors/Chart.js/dist/Chart.min.js"></script>
  506. <!-- Custom Theme Scripts -->
  507. <script src="../build/js/custom.min.js"></script>
  508. </body>
  509. </html>