graph_sparkline.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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>H+ 后台主题UI框架 - Sparkline图表</title>
  7. <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  8. <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
  9. <link rel="shortcut icon" href="favicon.ico"> <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  10. <link href="../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
  11. <link href="../css/animate.min.css" rel="stylesheet">
  12. <link href="../css/style.min.css?v=4.1.0" rel="stylesheet">
  13. </head>
  14. <body class="gray-bg">
  15. <div class="wrapper wrapper-content animated fadeInDown">
  16. <div class="row">
  17. <div class="col-sm-5">
  18. <div class="jumbotron">
  19. <h1>Sparkline</h1>
  20. <p>这是另一个可视化图表库</p>
  21. <p><a href="http://omnipotent.net/jquery.sparkline" target="_blank" class="btn btn-primary btn-lg" role="button">了解 Sparkline</a>
  22. </p>
  23. </div>
  24. </div>
  25. <div class="col-sm-7">
  26. <div class="ibox float-e-margins">
  27. <div class="ibox-title">
  28. <h5>Sparkline图表 <small>自定义颜色</small></h5>
  29. <div class="ibox-tools">
  30. <a class="close-link">
  31. <i class="fa fa-times"></i>
  32. </a>
  33. </div>
  34. </div>
  35. <div>
  36. <table class="table table-bordered white-bg">
  37. <thead>
  38. <tr>
  39. <th>图表</th>
  40. <th>类型</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <tr>
  45. <td>
  46. <span id="sparkline1"></span>
  47. </td>
  48. <td>
  49. 内联线性图
  50. </td>
  51. </tr>
  52. <tr>
  53. <td>
  54. <span id="sparkline2"></span>
  55. </td>
  56. <td>
  57. 柱状图
  58. </td>
  59. </tr>
  60. <tr>
  61. <td>
  62. <span id="sparkline3"></span>
  63. </td>
  64. <td>
  65. 饼状图
  66. </td>
  67. </tr>
  68. <tr>
  69. <td>
  70. <span id="sparkline4"></span>
  71. </td>
  72. <td>
  73. 长线性图
  74. </td>
  75. </tr>
  76. <tr>
  77. <td>
  78. <span id="sparkline5"></span>
  79. </td>
  80. <td>
  81. 三态图
  82. </td>
  83. </tr>
  84. <tr>
  85. <td>
  86. <span id="sparkline6"></span>
  87. </td>
  88. <td>
  89. 散点图
  90. </td>
  91. </tr>
  92. </tbody>
  93. </table>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <div class="row">
  99. <div class="col-sm-4">
  100. <div class="ibox float-e-margins">
  101. <div class="ibox-title">
  102. <h5>自定义饼状图尺寸</h5>
  103. <div class="ibox-tools">
  104. <a class="collapse-link">
  105. <i class="fa fa-chevron-up"></i>
  106. </a>
  107. <a class="dropdown-toggle" data-toggle="dropdown" href="graph_sparkline.html#">
  108. <i class="fa fa-wrench"></i>
  109. </a>
  110. <ul class="dropdown-menu dropdown-user">
  111. <li><a href="graph_sparkline.html#">选项1</a>
  112. </li>
  113. <li><a href="graph_sparkline.html#">选项2</a>
  114. </li>
  115. </ul>
  116. <a class="close-link">
  117. <i class="fa fa-times"></i>
  118. </a>
  119. </div>
  120. </div>
  121. <div class="ibox-content text-center h-200">
  122. <span id="sparkline7"></span>
  123. </div>
  124. </div>
  125. </div>
  126. <div class="col-sm-4">
  127. <div class="ibox float-e-margins">
  128. <div class="ibox-title">
  129. <h5>自定义柱状图尺寸</h5>
  130. <div class="ibox-tools">
  131. <a class="collapse-link">
  132. <i class="fa fa-chevron-up"></i>
  133. </a>
  134. <a class="dropdown-toggle" data-toggle="dropdown" href="graph_sparkline.html#">
  135. <i class="fa fa-wrench"></i>
  136. </a>
  137. <ul class="dropdown-menu dropdown-user">
  138. <li><a href="graph_sparkline.html#">选项1</a>
  139. </li>
  140. <li><a href="graph_sparkline.html#">选项2</a>
  141. </li>
  142. </ul>
  143. <a class="close-link">
  144. <i class="fa fa-times"></i>
  145. </a>
  146. </div>
  147. </div>
  148. <div class="ibox-content text-center h-200">
  149. <span id="sparkline8"></span>
  150. </div>
  151. </div>
  152. </div>
  153. <div class="col-sm-4">
  154. <div class="ibox float-e-margins">
  155. <div class="ibox-title">
  156. <h5>自定义线性图尺寸</h5>
  157. <div class="ibox-tools">
  158. <a class="collapse-link">
  159. <i class="fa fa-chevron-up"></i>
  160. </a>
  161. <a class="dropdown-toggle" data-toggle="dropdown" href="graph_sparkline.html#">
  162. <i class="fa fa-wrench"></i>
  163. </a>
  164. <ul class="dropdown-menu dropdown-user">
  165. <li><a href="graph_sparkline.html#">选项1</a>
  166. </li>
  167. <li><a href="graph_sparkline.html#">选项2</a>
  168. </li>
  169. </ul>
  170. <a class="close-link">
  171. <i class="fa fa-times"></i>
  172. </a>
  173. </div>
  174. </div>
  175. <div class="ibox-content text-center h-200">
  176. <span id="sparkline9"></span>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. </div>
  182. <script src="../js/jquery.min.js?v=2.1.4"></script>
  183. <script src="../js/bootstrap.min.js?v=3.3.6"></script>
  184. <script src="../js/plugins/sparkline/jquery.sparkline.min.js"></script>
  185. <script src="../js/content.min.js?v=1.0.0"></script>
  186. <script src="../js/demo/sparkline-demo.min.js"></script>
  187. </body>
  188. </html>