Theme Inspinia
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>INSPINIA | c3.js</title>
  7. <link href="css/bootstrap.min.css" rel="stylesheet">
  8. <link href="font-awesome/css/font-awesome.css" rel="stylesheet">
  9. <!-- c3 Charts -->
  10. <link href="css/plugins/c3/c3.min.css" rel="stylesheet">
  11. <link href="css/animate.css" rel="stylesheet">
  12. <link href="css/style.css" rel="stylesheet">
  13. </head>
  14. <body>
  15. <div id="wrapper">
  16. <nav class="navbar-default navbar-static-side" role="navigation">
  17. <div class="sidebar-collapse">
  18. <ul class="nav metismenu" id="side-menu">
  19. <li class="nav-header">
  20. <div class="dropdown profile-element"> <span>
  21. <img alt="image" class="img-circle" src="img/profile_small.jpg" />
  22. </span>
  23. <a data-toggle="dropdown" class="dropdown-toggle" href="#">
  24. <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">David Williams</strong>
  25. </span> <span class="text-muted text-xs block">Art Director <b class="caret"></b></span> </span> </a>
  26. <ul class="dropdown-menu animated fadeInRight m-t-xs">
  27. <li><a href="profile.html">Profile</a></li>
  28. <li><a href="contacts.html">Contacts</a></li>
  29. <li><a href="mailbox.html">Mailbox</a></li>
  30. <li class="divider"></li>
  31. <li><a href="login.html">Logout</a></li>
  32. </ul>
  33. </div>
  34. <div class="logo-element">
  35. IN+
  36. </div>
  37. </li>
  38. <li>
  39. <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">Dashboards</span> <span class="fa arrow"></span></a>
  40. <ul class="nav nav-second-level collapse">
  41. <li><a href="index.html">Dashboard v.1</a></li>
  42. <li><a href="dashboard_2.html">Dashboard v.2</a></li>
  43. <li><a href="dashboard_3.html">Dashboard v.3</a></li>
  44. <li><a href="dashboard_4_1.html">Dashboard v.4</a></li>
  45. <li><a href="dashboard_5.html">Dashboard v.5 <span class="label label-primary pull-right">NEW</span></a></li>
  46. </ul>
  47. </li>
  48. <li>
  49. <a href="layouts.html"><i class="fa fa-diamond"></i> <span class="nav-label">Layouts</span></a>
  50. </li>
  51. <li class="active">
  52. <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">Graphs</span><span class="fa arrow"></span></a>
  53. <ul class="nav nav-second-level">
  54. <li><a href="graph_flot.html">Flot Charts</a></li>
  55. <li><a href="graph_morris.html">Morris.js Charts</a></li>
  56. <li><a href="graph_rickshaw.html">Rickshaw Charts</a></li>
  57. <li><a href="graph_chartjs.html">Chart.js</a></li>
  58. <li><a href="graph_chartist.html">Chartist</a></li>
  59. <li class="active"><a href="c3.html">c3 charts</a></li>
  60. <li><a href="graph_peity.html">Peity Charts</a></li>
  61. <li><a href="graph_sparkline.html">Sparkline Charts</a></li>
  62. </ul>
  63. </li>
  64. <li>
  65. <a href="mailbox.html"><i class="fa fa-envelope"></i> <span class="nav-label">Mailbox </span><span class="label label-warning pull-right">16/24</span></a>
  66. <ul class="nav nav-second-level collapse">
  67. <li><a href="mailbox.html">Inbox</a></li>
  68. <li><a href="mail_detail.html">Email view</a></li>
  69. <li><a href="mail_compose.html">Compose email</a></li>
  70. <li><a href="email_template.html">Email templates</a></li>
  71. </ul>
  72. </li>
  73. <li>
  74. <a href="metrics.html"><i class="fa fa-pie-chart"></i> <span class="nav-label">Metrics</span> </a>
  75. </li>
  76. <li>
  77. <a href="widgets.html"><i class="fa fa-flask"></i> <span class="nav-label">Widgets</span></a>
  78. </li>
  79. <li>
  80. <a href="#"><i class="fa fa-edit"></i> <span class="nav-label">Forms</span><span class="fa arrow"></span></a>
  81. <ul class="nav nav-second-level collapse">
  82. <li><a href="form_basic.html">Basic form</a></li>
  83. <li><a href="form_advanced.html">Advanced Plugins</a></li>
  84. <li><a href="form_wizard.html">Wizard</a></li>
  85. <li><a href="form_file_upload.html">File Upload</a></li>
  86. <li><a href="form_editors.html">Text Editor</a></li>
  87. <li><a href="form_markdown.html">Markdown</a></li>
  88. </ul>
  89. </li>
  90. <li>
  91. <a href="#"><i class="fa fa-desktop"></i> <span class="nav-label">App Views</span> <span class="pull-right label label-primary">SPECIAL</span></a>
  92. <ul class="nav nav-second-level collapse">
  93. <li><a href="contacts.html">Contacts</a></li>
  94. <li><a href="profile.html">Profile</a></li>
  95. <li><a href="profile_2.html">Profile v.2</a></li>
  96. <li><a href="contacts_2.html">Contacts v.2</a></li>
  97. <li><a href="projects.html">Projects</a></li>
  98. <li><a href="project_detail.html">Project detail</a></li>
  99. <li><a href="teams_board.html">Teams board</a></li>
  100. <li><a href="social_feed.html">Social feed</a></li>
  101. <li><a href="clients.html">Clients</a></li>
  102. <li><a href="full_height.html">Outlook view</a></li>
  103. <li><a href="vote_list.html">Vote list</a></li>
  104. <li><a href="file_manager.html">File manager</a></li>
  105. <li><a href="calendar.html">Calendar</a></li>
  106. <li><a href="issue_tracker.html">Issue tracker</a></li>
  107. <li><a href="blog.html">Blog</a></li>
  108. <li><a href="article.html">Article</a></li>
  109. <li><a href="faq.html">FAQ</a></li>
  110. <li><a href="timeline.html">Timeline</a></li>
  111. <li><a href="pin_board.html">Pin board</a></li>
  112. </ul>
  113. </li>
  114. <li>
  115. <a href="#"><i class="fa fa-files-o"></i> <span class="nav-label">Other Pages</span><span class="fa arrow"></span></a>
  116. <ul class="nav nav-second-level collapse">
  117. <li><a href="search_results.html">Search results</a></li>
  118. <li><a href="lockscreen.html">Lockscreen</a></li>
  119. <li><a href="invoice.html">Invoice</a></li>
  120. <li><a href="login.html">Login</a></li>
  121. <li><a href="login_two_columns.html">Login v.2</a></li>
  122. <li><a href="forgot_password.html">Forget password</a></li>
  123. <li><a href="register.html">Register</a></li>
  124. <li><a href="404.html">404 Page</a></li>
  125. <li><a href="500.html">500 Page</a></li>
  126. <li><a href="empty_page.html">Empty page</a></li>
  127. </ul>
  128. </li>
  129. <li>
  130. <a href="#"><i class="fa fa-globe"></i> <span class="nav-label">Miscellaneous</span><span class="label label-info pull-right">NEW</span></a>
  131. <ul class="nav nav-second-level collapse">
  132. <li><a href="toastr_notifications.html">Notification</a></li>
  133. <li><a href="nestable_list.html">Nestable list</a></li>
  134. <li><a href="agile_board.html">Agile board</a></li>
  135. <li><a href="timeline_2.html">Timeline v.2</a></li>
  136. <li><a href="diff.html">Diff</a></li>
  137. <li><a href="i18support.html">i18 support</a></li>
  138. <li><a href="sweetalert.html">Sweet alert</a></li>
  139. <li><a href="idle_timer.html">Idle timer</a></li>
  140. <li><a href="truncate.html">Truncate</a></li>
  141. <li><a href="spinners.html">Spinners</a></li>
  142. <li><a href="tinycon.html">Live favicon</a></li>
  143. <li><a href="google_maps.html">Google maps</a></li>
  144. <li><a href="code_editor.html">Code editor</a></li>
  145. <li><a href="modal_window.html">Modal window</a></li>
  146. <li><a href="clipboard.html">Clipboard</a></li>
  147. <li><a href="forum_main.html">Forum view</a></li>
  148. <li><a href="validation.html">Validation</a></li>
  149. <li><a href="tree_view.html">Tree view</a></li>
  150. <li><a href="loading_buttons.html">Loading buttons</a></li>
  151. <li><a href="chat_view.html">Chat view</a></li>
  152. <li><a href="masonry.html">Masonry</a></li>
  153. <li><a href="tour.html">Tour</a></li>
  154. </ul>
  155. </li>
  156. <li>
  157. <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">UI Elements</span><span class="fa arrow"></span></a>
  158. <ul class="nav nav-second-level collapse">
  159. <li><a href="typography.html">Typography</a></li>
  160. <li><a href="icons.html">Icons</a></li>
  161. <li><a href="draggable_panels.html">Draggable Panels</a></li> <li><a href="resizeable_panels.html">Resizeable Panels</a></li>
  162. <li><a href="buttons.html">Buttons</a></li>
  163. <li><a href="video.html">Video</a></li>
  164. <li><a href="tabs_panels.html">Panels</a></li>
  165. <li><a href="tabs.html">Tabs</a></li>
  166. <li><a href="notifications.html">Notifications & Tooltips</a></li>
  167. <li><a href="badges_labels.html">Badges, Labels, Progress</a></li>
  168. </ul>
  169. </li>
  170. <li>
  171. <a href="grid_options.html"><i class="fa fa-laptop"></i> <span class="nav-label">Grid options</span></a>
  172. </li>
  173. <li>
  174. <a href="#"><i class="fa fa-table"></i> <span class="nav-label">Tables</span><span class="fa arrow"></span></a>
  175. <ul class="nav nav-second-level collapse">
  176. <li><a href="table_basic.html">Static Tables</a></li>
  177. <li><a href="table_data_tables.html">Data Tables</a></li>
  178. <li><a href="table_foo_table.html">Foo Tables</a></li>
  179. <li><a href="jq_grid.html">jqGrid</a></li>
  180. </ul>
  181. </li>
  182. <li>
  183. <a href="#"><i class="fa fa-shopping-cart"></i> <span class="nav-label">E-commerce</span><span class="fa arrow"></span></a>
  184. <ul class="nav nav-second-level collapse">
  185. <li><a href="ecommerce_products_grid.html">Products grid</a></li>
  186. <li><a href="ecommerce_product_list.html">Products list</a></li>
  187. <li><a href="ecommerce_product.html">Product edit</a></li>
  188. <li><a href="ecommerce_product_detail.html">Product detail</a></li>
  189. <li><a href="ecommerce-cart.html">Cart</a></li>
  190. <li><a href="ecommerce-orders.html">Orders</a></li>
  191. <li><a href="ecommerce_payments.html">Credit Card form</a></li>
  192. </ul>
  193. </li>
  194. <li>
  195. <a href="#"><i class="fa fa-picture-o"></i> <span class="nav-label">Gallery</span><span class="fa arrow"></span></a>
  196. <ul class="nav nav-second-level collapse">
  197. <li><a href="basic_gallery.html">Lightbox Gallery</a></li>
  198. <li><a href="slick_carousel.html">Slick Carousel</a></li>
  199. <li><a href="carousel.html">Bootstrap Carousel</a></li>
  200. </ul>
  201. </li>
  202. <li>
  203. <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label">Menu Levels </span><span class="fa arrow"></span></a>
  204. <ul class="nav nav-second-level collapse">
  205. <li>
  206. <a href="#">Third Level <span class="fa arrow"></span></a>
  207. <ul class="nav nav-third-level">
  208. <li>
  209. <a href="#">Third Level Item</a>
  210. </li>
  211. <li>
  212. <a href="#">Third Level Item</a>
  213. </li>
  214. <li>
  215. <a href="#">Third Level Item</a>
  216. </li>
  217. </ul>
  218. </li>
  219. <li><a href="#">Second Level Item</a></li>
  220. <li>
  221. <a href="#">Second Level Item</a></li>
  222. <li>
  223. <a href="#">Second Level Item</a></li>
  224. </ul>
  225. </li>
  226. <li>
  227. <a href="css_animation.html"><i class="fa fa-magic"></i> <span class="nav-label">CSS Animations </span><span class="label label-info pull-right">62</span></a>
  228. </li>
  229. <li class="landing_link">
  230. <a target="_blank" href="landing.html"><i class="fa fa-star"></i> <span class="nav-label">Landing Page</span> <span class="label label-warning pull-right">NEW</span></a>
  231. </li>
  232. <li class="special_link">
  233. <a href="package.html"><i class="fa fa-database"></i> <span class="nav-label">Package</span></a>
  234. </li>
  235. </ul>
  236. </div>
  237. </nav>
  238. <div id="page-wrapper" class="gray-bg">
  239. <div class="row border-bottom">
  240. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  241. <div class="navbar-header">
  242. <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
  243. <form role="search" class="navbar-form-custom" action="search_results.html">
  244. <div class="form-group">
  245. <input type="text" placeholder="Search for something..." class="form-control" name="top-search" id="top-search">
  246. </div>
  247. </form>
  248. </div>
  249. <ul class="nav navbar-top-links navbar-right">
  250. <li>
  251. <span class="m-r-sm text-muted welcome-message">Welcome to INSPINIA+ Admin Theme.</span>
  252. </li>
  253. <li class="dropdown">
  254. <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
  255. <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
  256. </a>
  257. <ul class="dropdown-menu dropdown-messages">
  258. <li>
  259. <div class="dropdown-messages-box">
  260. <a href="profile.html" class="pull-left">
  261. <img alt="image" class="img-circle" src="img/a7.jpg">
  262. </a>
  263. <div class="media-body">
  264. <small class="pull-right">46h ago</small>
  265. <strong>Mike Loreipsum</strong> started following <strong>Monica Smith</strong>. <br>
  266. <small class="text-muted">3 days ago at 7:58 pm - 10.06.2014</small>
  267. </div>
  268. </div>
  269. </li>
  270. <li class="divider"></li>
  271. <li>
  272. <div class="dropdown-messages-box">
  273. <a href="profile.html" class="pull-left">
  274. <img alt="image" class="img-circle" src="img/a4.jpg">
  275. </a>
  276. <div class="media-body ">
  277. <small class="pull-right text-navy">5h ago</small>
  278. <strong>Chris Johnatan Overtunk</strong> started following <strong>Monica Smith</strong>. <br>
  279. <small class="text-muted">Yesterday 1:21 pm - 11.06.2014</small>
  280. </div>
  281. </div>
  282. </li>
  283. <li class="divider"></li>
  284. <li>
  285. <div class="dropdown-messages-box">
  286. <a href="profile.html" class="pull-left">
  287. <img alt="image" class="img-circle" src="img/profile.jpg">
  288. </a>
  289. <div class="media-body ">
  290. <small class="pull-right">23h ago</small>
  291. <strong>Monica Smith</strong> love <strong>Kim Smith</strong>. <br>
  292. <small class="text-muted">2 days ago at 2:30 am - 11.06.2014</small>
  293. </div>
  294. </div>
  295. </li>
  296. <li class="divider"></li>
  297. <li>
  298. <div class="text-center link-block">
  299. <a href="mailbox.html">
  300. <i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
  301. </a>
  302. </div>
  303. </li>
  304. </ul>
  305. </li>
  306. <li class="dropdown">
  307. <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
  308. <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
  309. </a>
  310. <ul class="dropdown-menu dropdown-alerts">
  311. <li>
  312. <a href="mailbox.html">
  313. <div>
  314. <i class="fa fa-envelope fa-fw"></i> You have 16 messages
  315. <span class="pull-right text-muted small">4 minutes ago</span>
  316. </div>
  317. </a>
  318. </li>
  319. <li class="divider"></li>
  320. <li>
  321. <a href="profile.html">
  322. <div>
  323. <i class="fa fa-twitter fa-fw"></i> 3 New Followers
  324. <span class="pull-right text-muted small">12 minutes ago</span>
  325. </div>
  326. </a>
  327. </li>
  328. <li class="divider"></li>
  329. <li>
  330. <a href="grid_options.html">
  331. <div>
  332. <i class="fa fa-upload fa-fw"></i> Server Rebooted
  333. <span class="pull-right text-muted small">4 minutes ago</span>
  334. </div>
  335. </a>
  336. </li>
  337. <li class="divider"></li>
  338. <li>
  339. <div class="text-center link-block">
  340. <a href="notifications.html">
  341. <strong>See All Alerts</strong>
  342. <i class="fa fa-angle-right"></i>
  343. </a>
  344. </div>
  345. </li>
  346. </ul>
  347. </li>
  348. <li>
  349. <a href="login.html">
  350. <i class="fa fa-sign-out"></i> Log out
  351. </a>
  352. </li>
  353. </ul>
  354. </nav>
  355. </div>
  356. <div class="row wrapper border-bottom white-bg page-heading">
  357. <div class="col-lg-10">
  358. <h2>c3.js</h2>
  359. <ol class="breadcrumb">
  360. <li>
  361. <a href="index.html">Home</a>
  362. </li>
  363. <li>
  364. <a>Graphs</a>
  365. </li>
  366. <li class="active">
  367. <strong>c3.js</strong>
  368. </li>
  369. </ol>
  370. </div>
  371. <div class="col-lg-2">
  372. </div>
  373. </div>
  374. <div class="wrapper wrapper-content animated fadeInRight">
  375. <div class="row">
  376. <div class="col-lg-6">
  377. <div class="ibox float-e-margins">
  378. <div class="ibox-title">
  379. <h5>Line Chart Example
  380. <small>With custom colors.</small>
  381. </h5>
  382. </div>
  383. <div class="ibox-content">
  384. <div>
  385. <div id="lineChart"></div>
  386. </div>
  387. </div>
  388. </div>
  389. </div>
  390. <div class="col-lg-6">
  391. <div class="ibox float-e-margins">
  392. <div class="ibox-title">
  393. <h5>Bar Chart Example</h5>
  394. </div>
  395. <div class="ibox-content">
  396. <div>
  397. <div id="slineChart" ></div>
  398. </div>
  399. </div>
  400. </div>
  401. </div>
  402. </div>
  403. <div class="row">
  404. <div class="col-lg-6">
  405. <div class="ibox float-e-margins">
  406. <div class="ibox-title">
  407. <h5>Polar Area</h5>
  408. </div>
  409. <div class="ibox-content">
  410. <div class="text-center">
  411. <div id="scatter"></div>
  412. </div>
  413. </div>
  414. </div>
  415. </div>
  416. <div class="col-lg-6">
  417. <div class="ibox float-e-margins">
  418. <div class="ibox-title">
  419. <h5>Pie </h5>
  420. </div>
  421. <div class="ibox-content">
  422. <div>
  423. <div id="stocked"></div>
  424. </div>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. <div class="row">
  430. <div class="col-lg-6">
  431. <div class="ibox float-e-margins">
  432. <div class="ibox-title">
  433. <h5>Radar Chart Example</h5>
  434. </div>
  435. <div class="ibox-content">
  436. <div>
  437. <div id="gauge"></div>
  438. </div>
  439. </div>
  440. </div>
  441. </div>
  442. <div class="col-lg-6">
  443. <div class="ibox float-e-margins">
  444. <div class="ibox-title">
  445. <h5>Radar Chart Example</h5>
  446. </div>
  447. <div class="ibox-content">
  448. <div>
  449. <div id="pie"></div>
  450. </div>
  451. </div>
  452. </div>
  453. </div>
  454. </div>
  455. </div>
  456. <div class="footer">
  457. <div class="pull-right">
  458. 10GB of <strong>250GB</strong> Free.
  459. </div>
  460. <div>
  461. <strong>Copyright</strong> Example Company &copy; 2014-2015
  462. </div>
  463. </div>
  464. </div>
  465. </div>
  466. <!-- Mainly scripts -->
  467. <script src="js/jquery-2.1.1.js"></script>
  468. <script src="js/bootstrap.min.js"></script>
  469. <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
  470. <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  471. <!-- Custom and plugin javascript -->
  472. <script src="js/inspinia.js"></script>
  473. <script src="js/plugins/pace/pace.min.js"></script>
  474. <!-- d3 and c3 charts -->
  475. <script src="js/plugins/d3/d3.min.js"></script>
  476. <script src="js/plugins/c3/c3.min.js"></script>
  477. <script>
  478. $(document).ready(function () {
  479. c3.generate({
  480. bindto: '#lineChart',
  481. data:{
  482. columns: [
  483. ['data1', 30, 200, 100, 400, 150, 250],
  484. ['data2', 50, 20, 10, 40, 15, 25]
  485. ],
  486. colors:{
  487. data1: '#1ab394',
  488. data2: '#BABABA'
  489. }
  490. }
  491. });
  492. c3.generate({
  493. bindto: '#slineChart',
  494. data:{
  495. columns: [
  496. ['data1', 30, 200, 100, 400, 150, 250],
  497. ['data2', 130, 100, 140, 200, 150, 50]
  498. ],
  499. colors:{
  500. data1: '#1ab394',
  501. data2: '#BABABA'
  502. },
  503. type: 'spline'
  504. }
  505. });
  506. c3.generate({
  507. bindto: '#scatter',
  508. data:{
  509. xs:{
  510. data1: 'data1_x',
  511. data2: 'data2_x'
  512. },
  513. columns: [
  514. ["data1_x", 3.2, 3.2, 3.1, 2.3, 2.8, 2.8, 3.3, 2.4, 2.9, 2.7, 2.0, 3.0, 2.2, 2.9, 2.9, 3.1, 3.0, 2.7, 2.2, 2.5, 3.2, 2.8, 2.5, 2.8, 2.9, 3.0, 2.8, 3.0, 2.9, 2.6, 2.4, 2.4, 2.7, 2.7, 3.0, 3.4, 3.1, 2.3, 3.0, 2.5, 2.6, 3.0, 2.6, 2.3, 2.7, 3.0, 2.9, 2.9, 2.5, 2.8],
  515. ["data2_x", 3.3, 2.7, 3.0, 2.9, 3.0, 3.0, 2.5, 2.9, 2.5, 3.6, 3.2, 2.7, 3.0, 2.5, 2.8, 3.2, 3.0, 3.8, 2.6, 2.2, 3.2, 2.8, 2.8, 2.7, 3.3, 3.2, 2.8, 3.0, 2.8, 3.0, 2.8, 3.8, 2.8, 2.8, 2.6, 3.0, 3.4, 3.1, 3.0, 3.1, 3.1, 3.1, 2.7, 3.2, 3.3, 3.0, 2.5, 3.0, 3.4, 3.0],
  516. ["data1", 1.4, 1.5, 1.5, 1.3, 1.5, 1.3, 1.6, 1.0, 1.3, 1.4, 1.0, 1.5, 1.0, 1.4, 1.3, 1.4, 1.5, 1.0, 1.5, 1.1, 1.8, 1.3, 1.5, 1.2, 1.3, 1.4, 1.4, 1.7, 1.5, 1.0, 1.1, 1.0, 1.2, 1.6, 1.5, 1.6, 1.5, 1.3, 1.3, 1.3, 1.2, 1.4, 1.2, 1.0, 1.3, 1.2, 1.3, 1.3, 1.1, 1.3],
  517. ["data2", 2.5, 1.9, 2.1, 1.8, 2.2, 2.1, 1.7, 1.8, 1.8, 2.5, 2.0, 1.9, 2.1, 2.0, 2.4, 2.3, 1.8, 2.2, 2.3, 1.5, 2.3, 2.0, 2.0, 1.8, 2.1, 1.8, 1.8, 1.8, 2.1, 1.6, 1.9, 2.0, 2.2, 1.5, 1.4, 2.3, 2.4, 1.8, 1.8, 2.1, 2.4, 2.3, 1.9, 2.3, 2.5, 2.3, 1.9, 2.0, 2.3, 1.8]
  518. ],
  519. colors:{
  520. data1: '#1ab394',
  521. data2: '#BABABA'
  522. },
  523. type: 'scatter'
  524. }
  525. });
  526. c3.generate({
  527. bindto: '#stocked',
  528. data:{
  529. columns: [
  530. ['data1', 30,200,100,400,150,250],
  531. ['data2', 50,20,10,40,15,25]
  532. ],
  533. colors:{
  534. data1: '#1ab394',
  535. data2: '#BABABA'
  536. },
  537. type: 'bar',
  538. groups: [
  539. ['data1', 'data2']
  540. ]
  541. }
  542. });
  543. c3.generate({
  544. bindto: '#gauge',
  545. data:{
  546. columns: [
  547. ['data', 91.4]
  548. ],
  549. type: 'gauge'
  550. },
  551. color:{
  552. pattern: ['#1ab394', '#BABABA']
  553. }
  554. });
  555. c3.generate({
  556. bindto: '#pie',
  557. data:{
  558. columns: [
  559. ['data1', 30],
  560. ['data2', 120]
  561. ],
  562. colors:{
  563. data1: '#1ab394',
  564. data2: '#BABABA'
  565. },
  566. type : 'pie'
  567. }
  568. });
  569. });
  570. </script>
  571. </body>
  572. </html>