chartjs.html 22 KB

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