31faa836a1c4f5e6b0c57ac6ca56bfaccb7a1f62.svn-base 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="ECharts">
  8. <meta name="author" content="kener.linfeng@gmail.com">
  9. <title>ECharts · Example</title>
  10. <link rel="shortcut icon" href="./asset/ico/favicon.png">
  11. <link href="./asset/css/font-awesome.min.css" rel="stylesheet">
  12. <link href="./asset/css/bootstrap.css" rel="stylesheet">
  13. <link href="./asset/css/carousel.css" rel="stylesheet">
  14. <link href="./asset/css/echartsHome.css" rel="stylesheet">
  15. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  16. <!--[if lt IE 9]>
  17. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  18. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  19. <![endif]-->
  20. <style type="text/css">
  21. .affix {
  22. width:160px;
  23. }
  24. .affix li {
  25. list-style-type : none;
  26. height : 35px;
  27. line-height:35px;
  28. vertical-align:middle;
  29. }
  30. ul.slides li{
  31. width : 33.3%;
  32. overflow:hidden;
  33. float : left;
  34. border:0px solid #ccc;
  35. margin: 15px 0;
  36. list-style-type : none;
  37. position:relative;
  38. }
  39. ul.slides li a {
  40. padding:5px;
  41. display:block;
  42. }
  43. ul.slides li a strong{
  44. font-size:15px;
  45. color : #1e90ff;
  46. }
  47. ul.slides li a:hover {
  48. background-color:#eee;
  49. text-decoration:none;
  50. }
  51. ul.slides li img {
  52. width:60%;
  53. }
  54. ul.slides li span {
  55. color:#666;
  56. width:36%;
  57. vertical-align:top;
  58. display:inline-block;
  59. *zoom:1;
  60. }
  61. .col-md-10 h3 {
  62. clear:both;
  63. margin:10px 0;
  64. padding-bottom:10px;
  65. border-bottom:1px solid #ccc;
  66. }
  67. .col-md-10 h3 a {
  68. display:inline-block;
  69. *zoom:1;
  70. padding-top:63px;
  71. }
  72. #chartsTypeNav ul li {
  73. transition: background-color 0.3s;
  74. -moz-transition: background-color 0.3s;
  75. -webkit-transition: background-color 0.3s;
  76. -o-transition: background-color 0.3s;
  77. padding-left:10px;
  78. }
  79. </style>
  80. </head>
  81. <body>
  82. <!-- Fixed navbar -->
  83. <div class="navbar navbar-default navbar-fixed-top" role="navigation" id="head"></div>
  84. <div class="container" style="padding-top:10px;">
  85. <div class="row-fluid">
  86. <div class="col-md-2">
  87. <div class = 'affix' style="margin-left:-20px;" id="chartsTypeNav">
  88. <ul style="padding:5px 0;">
  89. <li><i class="ec-icon ec-icon-line"></i> <a href="#line">折线(面积)图</a></li>
  90. <li><i class="ec-icon ec-icon-bar"></i> <a href="#bar">柱状(条形)图</a></li>
  91. <li><i class="ec-icon ec-icon-scatter"></i> <a href="#scatter">散点(气泡)图</a></li>
  92. <li><i class="ec-icon ec-icon-k"></i> <a href="#k">K线图</a></li>
  93. <li><i class="ec-icon ec-icon-pie"></i> <a href="#pie">饼(圆环)图</a></li>
  94. <li><i class="ec-icon ec-icon-radar"></i> <a href="#radar">雷达(面积)图</a></li>
  95. <li><i class="ec-icon ec-icon-chord"></i> <a href="#chord">和弦图</a></li>
  96. <li><i class="ec-icon ec-icon-force"></i> <a href="#force">力导向布局图</a></li>
  97. <li><i class="ec-icon ec-icon-map"></i> <a href="#map">地图</a></li>
  98. <li><i class="ec-icon ec-icon-gauge"></i> <a href="#gauge">仪表盘</a></li>
  99. <li><i class="ec-icon ec-icon-funnel"></i> <a href="#funnel">漏斗图</a></li>
  100. <li><i class="ec-icon ec-icon-heatmap"></i> <a href="#heatmap">热力图</a></li>
  101. <li><i class="ec-icon ec-icon-eventRiver"></i> <a href="#eventRiver">事件河流图</a></li>
  102. <li><i class="ec-icon ec-icon-venn"></i> <a href="#venn">韦恩图</a></li>
  103. <li><i class="ec-icon ec-icon-treemap"></i> <a href="#treemap">矩形树图</a></li>
  104. <li><i class="ec-icon ec-icon-tree"></i> <a href="#tree">树图</a></li>
  105. <li><i class="ec-icon ec-icon-wordCloud"></i> <a href="#wordCloud">字符云</a></li>
  106. <li><i class="ec-icon ec-icon-mix"></i> <a href="#mix">混搭</a></li>
  107. <li><i class="ec-icon ec-icon-component"></i> <a href="#component">组件</a></li>
  108. <li><i class="ec-icon ec-icon-other"></i> <a href="#other">其他</a></li>
  109. <li><i class="ec-icon ec-icon-theme"></i> <a href="#theme">主题</a></li>
  110. <li><i class="ec-icon ec-icon-topic"></i> <a href="#topic">专题</a></li>
  111. </ul>
  112. </div>
  113. </div>
  114. <div class="col-md-10">
  115. <p style="margin:10px 0 -30px 0">
  116. <a href="./start.html" target="_blank" style="margin-right: 50px;">入门教程 ( Getting started ) »</a>
  117. <a href="https://github.com/ecomfe/echarts/issues?page=1&state=open" target="_blank">Any feedback or question ? »</a>
  118. </p>
  119. <div>
  120. <h3>折线图<a name="line"> </a></h3>
  121. <div class="section">
  122. <div class="thumb3">
  123. <ul class="slides">
  124. <li data-thumb="asset/img/example/line1.png">
  125. <a href="example/line1.html"><img src="asset/img/example/line1.png" >
  126. <span><strong>标准折线图</strong><br/>标注,标线,个性化线条阴影</span></a>
  127. </li><!--/li-->
  128. <li data-thumb="asset/img/example/cache.png">
  129. <a href="example/line2.html"><img src="asset/img/example/cache.png">
  130. <span><strong>堆积折线图</strong><br/>任意系列多维度堆积</span></a>
  131. </li><!--/li-->
  132. <li data-thumb="asset/img/example/cache.png">
  133. <a href="example/line5.html"><img src="asset/img/example/cache.png">
  134. <span><strong>标准折线图</strong><br/>横纵坐标轴互换,平滑曲线</span></a>
  135. </li><!--/li-->
  136. <li data-thumb="asset/img/example/cache.png">
  137. <a href="example/line3.html"><img src="asset/img/example/cache.png">
  138. <span><strong>标准面积图</strong><br/>填充样式,平滑曲线<br/></span></a>
  139. </li><!--/li-->
  140. <li data-thumb="asset/img/example/cache.png">
  141. <a href="example/line4.html"><img src="asset/img/example/cache.png">
  142. <span><strong>堆积面积图</strong><br/>任意系列多维度堆积</span></a>
  143. </li><!--/li-->
  144. <li data-thumb="asset/img/example/cache.png">
  145. <a href="example/line7.html"><img src="asset/img/example/cache.png">
  146. <span><strong>不等距折线图</strong><br/>双数值轴</span></a>
  147. </li><!--/li-->
  148. <li data-thumb="asset/img/example/cache.png">
  149. <a href="example/line8.html"><img src="asset/img/example/cache.png">
  150. <span><strong>不等距折线图</strong><br/>时间坐标轴折线图</span></a>
  151. </li><!--/li-->
  152. <li data-thumb="asset/img/example/cache.png">
  153. <a href="example/line6.html"><img src="asset/img/example/cache.png">
  154. <span><strong>面积图</strong><br/>反向数值轴</span></a>
  155. </li><!--/li-->
  156. <li data-thumb="asset/img/example/cache.png">
  157. <a href="example/line.html"><img src="asset/img/example/cache.png">
  158. <span><strong>折线图</strong><br/>多级控制,个性化,填充、线条、拐点样式等</span></a>
  159. </li><!--/li-->
  160. <li data-thumb="asset/img/example/cache.png">
  161. <a href="example/line9.html"><img src="asset/img/example/cache.png">
  162. <span><strong>对数轴</strong><br/>log数轴</span></a>
  163. </li><!--/li-->
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. <div>
  169. <h3>柱状图<a name="bar"> </a></h3>
  170. <div class="section">
  171. <div class="thumb4">
  172. <ul class="slides">
  173. <li data-thumb="asset/img/example/bar1.png">
  174. <a href="example/bar1.html"><img src="asset/img/example/bar1.png">
  175. <span><strong>标准柱状图</strong><br/>标注,标线</span></a>
  176. </li><!--/li-->
  177. <li data-thumb="asset/img/example/cache.png">
  178. <a href="example/bar2.html"><img src="asset/img/example/cache.png">
  179. <span><strong>堆积柱状图</strong><br/>标线,任意系列多维度堆积</span></a>
  180. </li><!--/li-->
  181. <li data-thumb="asset/img/example/cache.png">
  182. <a href="example/bar10.html"><img src="asset/img/example/cache.png">
  183. <span><strong>温度计式图表</strong><br/>个性化样式,文本标签显示</span></a>
  184. </li><!--/li-->
  185. <li data-thumb="asset/img/example/cache.png">
  186. <a href="example/bar7.html"><img src="asset/img/example/cache.png">
  187. <span><strong>组成瀑布图</strong><br/>个性化样式,文本标签显示,透明数据驱动样式</span></a>
  188. </li><!--/li-->
  189. <li data-thumb="asset/img/example/cache.png">
  190. <a href="example/bar6.html"><img src="asset/img/example/cache.png">
  191. <span><strong>变化瀑布图</strong><br/>个性化样式,文本标签显示,透明数据驱动样式</span></a>
  192. </li><!--/li-->
  193. <li data-thumb="asset/img/example/cache.png">
  194. <a href="example/bar12.html"><img src="asset/img/example/cache.png">
  195. <span><strong>多系列层叠</strong><br/>个性化样式</span></a>
  196. </li><!--/li-->
  197. <li data-thumb="asset/img/example/cache.png">
  198. <a href="example/bar3.html"><img src="asset/img/example/cache.png">
  199. <span><strong>标准条形图</strong><br/>横纵坐标轴互换</span></a>
  200. </li><!--/li-->
  201. <li data-thumb="asset/img/example/cache.png">
  202. <a href="example/bar4.html"><img src="asset/img/example/cache.png">
  203. <span><strong>堆积条形图</strong><br/>任意系列多维度堆积</span></a>
  204. </li><!--/li-->
  205. <li data-thumb="asset/img/example/cache.png">
  206. <a href="example/bar9.html"><img src="asset/img/example/cache.png">
  207. <span><strong>多维条形图</strong><br/>个性化样式,文本标签显示,透明数据驱动样式</span></a>
  208. </li><!--/li-->
  209. <li data-thumb="asset/img/example/cache.png">
  210. <a href="example/bar5.html"><img src="asset/img/example/cache.png">
  211. <span><strong>旋风条形图</strong><br/>正负值混合</span></a>
  212. </li><!--/li-->
  213. <li data-thumb="asset/img/example/cache.png">
  214. <a href="example/bar8.html"><img src="asset/img/example/cache.png">
  215. <span><strong>旋风条形图</strong><br/>正负值混合,交错正负轴标签</span></a>
  216. </li><!--/li-->
  217. <li data-thumb="asset/img/example/cache.png">
  218. <a href="example/bar13.html"><img src="asset/img/example/cache.png">
  219. <span><strong>不等距柱形图</strong><br/>双数值轴</span></a>
  220. </li><!--/li-->
  221. <li data-thumb="asset/img/example/cache.png">
  222. <a href="example/bar11.html"><img src="asset/img/example/cache.png">
  223. <span><strong>搭配时间轴</strong><br/>时空维度的数据展现</span></a>
  224. </li><!--/li-->
  225. <li data-thumb="asset/img/example/cache.png">
  226. <a href="example/bar14.html"><img src="asset/img/example/cache.png">
  227. <span><strong>彩虹柱形图</strong><br/>个性化</span></a>
  228. </li><!--/li-->
  229. <li data-thumb="asset/img/example/cache.png">
  230. <a href="example/bar15.html"><img src="asset/img/example/cache.png">
  231. <span><strong>多系列彩虹柱形图</strong><br/>个性化</span></a>
  232. </li><!--/li-->
  233. <li data-thumb="asset/img/example/cache.png">
  234. <a href="example/bar.html"><img src="asset/img/example/cache.png">
  235. <span><strong>柱状图</strong><br/>个性化,柱形宽度,填充、高亮、文本样式等</span></a>
  236. </li><!--/li-->
  237. </ul>
  238. </div>
  239. </div>
  240. </div>
  241. <div>
  242. <h3>散点图<a name="scatter"> </a></h3>
  243. <div class="section">
  244. <div class="thumb4">
  245. <ul class="slides">
  246. <li data-thumb="asset/img/example/scatter1.png">
  247. <a href="example/scatter1.html"><img src="asset/img/example/scatter1.png">
  248. <span><strong>标准散点图</strong><br/>标注,标线</span></a>
  249. </li><!--/li-->
  250. <li data-thumb="asset/img/example/cache.png">
  251. <a href="example/scatter2.html"><img src="asset/img/example/cache.png">
  252. <span><strong>标准气泡图</strong><br/>气泡大小计算</span></a>
  253. </li><!--/li-->
  254. <li data-thumb="asset/img/example/cache.png">
  255. <a href="example/scatter3.html"><img src="asset/img/example/cache.png">
  256. <span><strong>大规模散点图</strong><br/>启用设置</span></a>
  257. </li><!--/li-->
  258. <li data-thumb="asset/img/example/cache.png">
  259. <a href="example/scatter5.html"><img src="asset/img/example/cache.png">
  260. <span><strong>类目散点图</strong><br/>搭配数据区域缩放</span></a>
  261. </li><!--/li-->
  262. <li data-thumb="asset/img/example/cache.png">
  263. <a href="example/scatter6.html"><img src="asset/img/example/cache.png">
  264. <span><strong>时间坐标</strong><br/>时间坐标轴</span></a>
  265. </li><!--/li-->
  266. <li data-thumb="asset/img/example/cache.png">
  267. <a href="example/scatter4.html"><img src="asset/img/example/cache.png">
  268. <span><strong>搭配时间轴</strong><br/>时空维度数据展现,Gapminder</span></a>
  269. </li><!--/li-->
  270. <li data-thumb="asset/img/example/cache.png">
  271. <a href="example/dataRange1.html"><img src="asset/img/example/cache.png">
  272. <span><strong>搭配值域漫游</strong><br/>基本使用</span></a>
  273. </li><!--/li-->
  274. <li data-thumb="asset/img/example/cache.png">
  275. <a href="example/scatter.html"><img src="asset/img/example/cache.png">
  276. <span><strong>散点图</strong><br/>多级控制,个性化图形样式,大小等</span></a>
  277. </li><!--/li-->
  278. </ul>
  279. </div>
  280. </div>
  281. </div>
  282. <div>
  283. <h3>K线图<a name="k"> </a></h3>
  284. <div class="section">
  285. <div class="thumb4">
  286. <ul class="slides">
  287. <li data-thumb="asset/img/example/k1.png">
  288. <a href="example/k1.html"><img src="asset/img/example/k1.png">
  289. <span><strong>标准K线图</strong><br/>标注,标线,数据区域缩放</span></a>
  290. </li><!--/li-->
  291. <li data-thumb="asset/img/example/cache.png">
  292. <a href="example/k.html"><img src="asset/img/example/cache.png">
  293. <span><strong>K线图</strong><br/>多级控制,个性化,柱形阴阳图形样式等</span></a>
  294. </li><!--/li-->
  295. </ul>
  296. </div>
  297. </div>
  298. </div>
  299. <div>
  300. <h3>饼图<a name="pie"> </a></h3>
  301. <div class="section">
  302. <div class="thumb4">
  303. <ul class="slides">
  304. <li data-thumb="asset/img/example/cache.png">
  305. <a href="example/pie1.html"><img src="asset/img/example/cache.png">
  306. <span><strong>标准饼图</strong><br/>中心,半径设置</span></a>
  307. </li><!--/li-->
  308. <li data-thumb="asset/img/example/cache.png">
  309. <a href="example/pie2.html"><img src="asset/img/example/cache.png">
  310. <span><strong>标准环形图</strong><br/>中心,半径设置,文本标签显示</span></a>
  311. </li><!--/li-->
  312. <li data-thumb="asset/img/example/cache.png">
  313. <a href="example/pie3.html"><img src="asset/img/example/cache.png">
  314. <span><strong>嵌套饼图</strong><br/>多个饼图,中心,半径设置,文本标签显示</span></a>
  315. </li><!--/li-->
  316. <li data-thumb="asset/img/example/cache.png">
  317. <a href="example/pie4.html"><img src="asset/img/example/cache.png">
  318. <span><strong>南丁格尔玫瑰图</strong><br/>半径、面积玫瑰图样式</span></a>
  319. </li><!--/li-->
  320. <li data-thumb="asset/img/example/cache.png">
  321. <a href="example/pie5.html"><img src="asset/img/example/cache.png">
  322. <span><strong>环形图</strong><br/>信息图样式,文本标签技巧</span></a>
  323. </li><!--/li-->
  324. <li data-thumb="asset/img/example/cache.png">
  325. <a href="example/pie6.html"><img src="asset/img/example/cache.png">
  326. <span><strong>环形图</strong><br/>信息图样式,额外内容添加,文本标签技巧</span></a>
  327. </li><!--/li-->
  328. <li data-thumb="asset/img/example/cache.png">
  329. <a href="example/pie7.html"><img src="asset/img/example/cache.png">
  330. <span><strong>搭配时间轴</strong><br/>时空维度数据展现</span></a>
  331. </li><!--/li-->
  332. <li data-thumb="asset/img/example/cache.png">
  333. <a href="example/lasagna.html"><img src="asset/img/example/cache.png">
  334. <span><strong>千层饼</strong><br/>多层嵌套环形图</span></a>
  335. </li><!--/li-->
  336. <li data-thumb="asset/img/example/cache.png">
  337. <a href="example/pie.html"><img src="asset/img/example/cache.png">
  338. <span><strong>饼图</strong><br/>多级控制,个性化填充、标签文本、视觉引导线样式等</span></a>
  339. </li><!--/li-->
  340. </ul>
  341. </div>
  342. </div>
  343. </div>
  344. <div>
  345. <h3>雷达图<a name="radar"> </a></h3>
  346. <div class="section">
  347. <div class="thumb4">
  348. <ul class="slides">
  349. <li data-thumb="asset/img/example/cache.png">
  350. <a href="example/radar1.html"><img src="asset/img/example/cache.png">
  351. <span><strong>标准雷达图</strong><br/>极坐标设置</span></a>
  352. </li><!--/li-->
  353. <li data-thumb="asset/img/example/cache.png">
  354. <a href="example/radar2.html"><img src="asset/img/example/cache.png">
  355. <span><strong>标准填充雷达图</strong><br/>极坐标设置,填充样式</span></a>
  356. </li><!--/li-->
  357. <li data-thumb="asset/img/example/cache.png">
  358. <a href="example/radar3.html"><img src="asset/img/example/cache.png">
  359. <span><strong>多雷达图</strong><br/>多个极坐标</span></a>
  360. </li><!--/li-->
  361. <li data-thumb="asset/img/example/cache.png">
  362. <a href="example/wormhole.html"><img src="asset/img/example/cache.png">
  363. <span><strong>虫洞</strong><br/>多层嵌套雷达图</span></a>
  364. </li><!--/li-->
  365. <li data-thumb="asset/img/example/cache.png">
  366. <a href="example/radar.html"><img src="asset/img/example/cache.png">
  367. <span><strong>雷达图</strong><br/>多级控制,个性化线条,拐点,填充样式</span></a>
  368. </li><!--/li-->
  369. </ul>
  370. </div>
  371. </div>
  372. </div>
  373. <div>
  374. <h3>和弦图<a name="chord"> </a></h3>
  375. <div class="section">
  376. <div class="thumb3">
  377. <ul class="slides">
  378. <li data-thumb="asset/img/example/cache.png">
  379. <a href="example/chord1.html"><img src="asset/img/example/cache.png">
  380. <span><strong>标准和弦图</strong><br/>数据格式,排序</span></a>
  381. </li><!--/li-->
  382. <li data-thumb="asset/img/example/cache.png">
  383. <a href="example/chord2.html"><img src="asset/img/example/cache.png">
  384. <span><strong>多系列和弦图</strong><br/>多维图例选择</span></a>
  385. </li><!--/li-->
  386. <li data-thumb="asset/img/example/cache.png">
  387. <a href="example/chord3.html"><img src="asset/img/example/cache.png">
  388. <span><strong>标准和弦图</strong><br/>数据格式,排序</span></a>
  389. </li><!--/li-->
  390. <li data-thumb="asset/img/example/cache.png">
  391. <a href="example/chord4.html"><img src="asset/img/example/cache.png">
  392. <span><strong>非缎带和弦图</strong><br/>数据格式,排序</span></a>
  393. </li><!--/li-->
  394. <li data-thumb="asset/img/example/cache.png">
  395. <a href="example/webkit-dep2.html"><img src="asset/img/example/cache.png">
  396. <span><strong>复杂关系网络</strong><br/>Webkit内核依赖</span></a>
  397. </li><!--/li-->
  398. <li data-thumb="asset/img/example/cache.png">
  399. <a href="example/chord.html"><img src="asset/img/example/cache.png">
  400. <span><strong>和弦图</strong><br/>多级控制,个性化填充、标签文本、线条样式等</span></a>
  401. </li><!--/li-->
  402. </ul>
  403. </div>
  404. </div>
  405. </div>
  406. <div>
  407. <h3>力导向布局图<a name="force"> </a></h3>
  408. <div class="section">
  409. <div class="thumb3">
  410. <ul class="slides">
  411. <li data-thumb="asset/img/example/cache.png">
  412. <a href="example/force1.html"><img src="asset/img/example/cache.png">
  413. <span><strong>简单关系网络</strong><br/>数据格式</span></a>
  414. </li><!--/li-->
  415. <li data-thumb="asset/img/example/cache.png">
  416. <a href="example/force2.html"><img src="asset/img/example/cache.png">
  417. <span><strong>树状关系网络</strong><br/>数据格式</span></a>
  418. </li><!--/li-->
  419. <li data-thumb="asset/img/example/cache.png">
  420. <a href="example/force4.html"><img src="asset/img/example/cache.png">
  421. <span><strong>树状关系网络</strong><br/>数据格式</span></a>
  422. </li><!--/li-->
  423. <li data-thumb="asset/img/example/cache.png">
  424. <a href="example/webkit-dep.html"><img src="asset/img/example/cache.png">
  425. <span><strong>复杂关系网络</strong><br/>Webkit内核依赖</span></a>
  426. </li><!--/li-->
  427. <li data-thumb="asset/img/example/cache.png">
  428. <a href="example/force.html"><img src="asset/img/example/cache.png">
  429. <span><strong>力导向布局</strong><br/>个性化,节点样式,线条样式</span></a>
  430. </li><!--/li-->
  431. </ul>
  432. </div>
  433. </div>
  434. </div>
  435. <div>
  436. <h3>地图<a name="map"> </a></h3>
  437. <div class="section">
  438. <div class="thumb4">
  439. <ul class="slides">
  440. <li data-thumb="asset/img/example/cache.png">
  441. <a href="example/map1.html"><img src="asset/img/example/cache.png">
  442. <span><strong>标准地图</strong><br/>中国地图,多系列,值域漫游</span></a>
  443. </li><!--/li-->
  444. <li data-thumb="asset/img/example/cache.png">
  445. <a href="example/map2.html"><img src="asset/img/example/cache.png">
  446. <span><strong>标准地图</strong><br/>中国地图,地域选择器</span></a>
  447. </li><!--/li-->
  448. <li data-thumb="asset/img/example/cache.png">
  449. <a href="example/map3.html"><img src="asset/img/example/cache.png">
  450. <span><strong>标准地图</strong><br/>事件响应,切换,全国34个省市自治区</span></a>
  451. </li><!--/li-->
  452. <li data-thumb="asset/img/example/cache.png">
  453. <a href="example/map4.html"><img src="asset/img/example/cache.png">
  454. <span><strong>标准地图</strong><br/>世界地图,值域漫游</span></a>
  455. </li><!--/li-->
  456. <li data-thumb="asset/img/example/cache.png">
  457. <a href="example/map5.html"><img src="asset/img/example/cache.png">
  458. <span><strong>标准地图</strong><br/>世界地图,地域选择器</span></a>
  459. </li><!--/li-->
  460. <li data-thumb="asset/img/example/cache.png">
  461. <a href="example/mix5.html"><img src="asset/img/example/cache.png">
  462. <span><strong>多地图</strong><br/>数据驱动,省市级下钻</span></a>
  463. </li><!--/li-->
  464. <li data-thumb="asset/img/example/cache.png">
  465. <a href="example/map20.html"><img src="asset/img/example/cache.png">
  466. <span><strong>地图扩展</strong><br/>标准geoJson格式扩展地图-全国主要城市</span></a>
  467. </li><!--/li-->
  468. <li data-thumb="asset/img/example/cache.png">
  469. <a href="example/map6.html"><img src="asset/img/example/cache.png">
  470. <span><strong>地图扩展</strong><br/>标准geoJson格式扩展地图类型-香港</span></a>
  471. </li><!--/li-->
  472. <li data-thumb="asset/img/example/cache.png">
  473. <a href="example/map7.html"><img src="asset/img/example/cache.png">
  474. <span><strong>地图扩展</strong><br/>标准geoJson格式扩展地图类型-美国</span></a>
  475. </li><!--/li-->
  476. <li data-thumb="asset/img/example/cache.png">
  477. <a href="example/map13.html"><img src="asset/img/example/cache.png">
  478. <span><strong>地图扩展</strong><br/>标准geoJson格式扩展地图类型-大洲</span></a>
  479. </li><!--/li-->
  480. <li data-thumb="asset/img/example/bmap1.png">
  481. <a href="../extension/BMap/doc/BMap.html"><img src="asset/img/example/bmap1.png" >
  482. <span><strong>ECharts扩展</strong><br/>百度地图扩展BMap</span></a>
  483. </li><!--/li-->
  484. <li data-thumb="asset/img/example/bmap2.png">
  485. <a href="../extension/BMap/doc/example.html"><img src="asset/img/example/bmap2.png" >
  486. <span><strong>ECharts扩展</strong><br/>百度地图扩展BMap</span></a>
  487. </li><!--/li-->
  488. <li data-thumb="asset/img/example/cache.png">
  489. <a href="example/map10.html"><img src="asset/img/example/cache.png">
  490. <span><strong>地图标线</strong><br/>markLine<br/>多系列</span></a>
  491. </li><!--/li-->
  492. <li data-thumb="asset/img/example/cache.png">
  493. <a href="example/map9.html"><img src="asset/img/example/cache.png">
  494. <span><strong>地图标注</strong><br/>markPoint<br/>值域漫游</span></a>
  495. </li><!--/li-->
  496. <li data-thumb="asset/img/example/cache.png">
  497. <a href="example/map8.html"><img src="asset/img/example/cache.png">
  498. <span><strong>子区域模式</strong><br/>子区域模式使用,值域漫游</span></a>
  499. </li><!--/li-->
  500. <li data-thumb="asset/img/example/cache.png">
  501. <a href="example/map11.html"><img src="asset/img/example/cache.png">
  502. <span><strong>地图标线</strong><br/>markLine<br/>炫光特效,模拟百度迁徙</span></a>
  503. </li><!--/li-->
  504. <li data-thumb="asset/img/example/cache.png">
  505. <a href="example/map21.html"><img src="asset/img/example/cache.png">
  506. <span><strong>地图标线</strong><br/>markLine<br/>炫光特效,不等弧度</span></a>
  507. </li><!--/li-->
  508. <li data-thumb="asset/img/example/cache.png">
  509. <a href="example/map12.html"><img src="asset/img/example/cache.png">
  510. <span><strong>地图标线</strong><br/>markLine<br/>炫光特效,中国铁路干线</span></a>
  511. </li><!--/li-->
  512. <li data-thumb="asset/img/example/cache.png">
  513. <a href="example/map22.html"><img src="asset/img/example/cache.png">
  514. <span><strong>地图标线</strong><br/>markLine<br/>大规模标线 + 边捆绑</span></a>
  515. </li><!--/li-->
  516. <li data-thumb="asset/img/example/cache.png">
  517. <a href="example/map15.html"><img src="asset/img/example/cache.png">
  518. <span><strong>地图标注</strong><br/>大规模炫光特效,百度人气</span></a>
  519. </li><!--/li-->
  520. <li data-thumb="asset/img/example/cache.png">
  521. <a href="example/map16.html"><img src="asset/img/example/cache.png">
  522. <span><strong>地图扩展</strong><br/>SVG扩展-人体组成</span></a>
  523. </li><!--/li-->
  524. <li data-thumb="asset/img/example/cache.png">
  525. <a href="example/map17.html"><img src="asset/img/example/cache.png">
  526. <span><strong>地图扩展</strong><br/>SVG扩展-足球场</span></a>
  527. </li><!--/li-->
  528. <li data-thumb="asset/img/example/cache.png">
  529. <a href="example/map18.html"><img src="asset/img/example/cache.png">
  530. <span><strong>地图扩展</strong><br/>SVG扩展-室内空间数据分析</span></a>
  531. </li><!--/li-->
  532. <li data-thumb="asset/img/example/cache.png">
  533. <a href="example/map14.html"><img src="asset/img/example/cache.png">
  534. <span><strong>搭配时间轴</strong><br/>时空维度数据展现</span></a>
  535. </li><!--/li-->
  536. <li data-thumb="asset/img/example/cache.png">
  537. <a href="example/map19.html"><img src="asset/img/example/cache.png">
  538. <span><strong>搭配时间轴,地图扩展</strong><br/>2014世界杯进球还原</span></a>
  539. </li><!--/li-->
  540. <li data-thumb="asset/img/example/cache.png">
  541. <a href="example/map.html"><img src="asset/img/example/cache.png">
  542. <span><strong>地图</strong><br/>多级控制,个性化填充、标签文本、线条样式等</span></a>
  543. </li><!--/li-->
  544. <li data-thumb="asset/img/example/cache.png">
  545. <a href="example/dataRange2.html"><img src="asset/img/example/cache.png">
  546. <span><strong>值域控件</strong><br/>自定义不等距分割</span></a>
  547. </li><!--/li-->
  548. </ul>
  549. </div>
  550. </div>
  551. </div>
  552. <div>
  553. <h3>仪表盘<a name="gauge"> </a></h3>
  554. <div class="section">
  555. <div class="thumb4">
  556. <ul class="slides">
  557. <li data-thumb="asset/img/example/gauge1.png">
  558. <a href="example/gauge1.html"><img src="asset/img/example/gauge1.png">
  559. <span><strong>标准仪表盘</strong><br/>个性化</span></a>
  560. </li><!--/li-->
  561. <li data-thumb="asset/img/example/cache.png">
  562. <a href="example/gauge2.html"><img src="asset/img/example/cache.png">
  563. <span><strong>标准仪表盘</strong><br/>个性化</span></a>
  564. </li><!--/li-->
  565. <li data-thumb="asset/img/example/cache.png">
  566. <a href="example/gauge3.html"><img src="asset/img/example/cache.png">
  567. <span><strong>标准仪表盘</strong><br/>个性化</span></a>
  568. </li><!--/li-->
  569. <li data-thumb="asset/img/example/cache.png">
  570. <a href="example/gauge4.html"><img src="asset/img/example/cache.png">
  571. <span><strong>多仪表盘</strong><br/>个性化</span></a>
  572. </li><!--/li-->
  573. <li data-thumb="asset/img/example/cache.png">
  574. <a href="example/gauge5.html"><img src="asset/img/example/cache.png">
  575. <span><strong>多仪表盘</strong><br/>个性化</span></a>
  576. </li><!--/li-->
  577. <li data-thumb="asset/img/example/cache.png">
  578. <a href="example/gauge.html"><img src="asset/img/example/cache.png">
  579. <span><strong>标准仪表盘</strong><br/>个性化</span></a>
  580. </li><!--/li-->
  581. </ul>
  582. </div>
  583. </div>
  584. </div>
  585. <div>
  586. <h3>漏斗图<a name="funnel"> </a></h3>
  587. <div class="section">
  588. <div class="thumb4">
  589. <ul class="slides">
  590. <li data-thumb="asset/img/example/funnel1.png">
  591. <a href="example/funnel1.html"><img src="asset/img/example/funnel1.png">
  592. <span><strong>标准漏斗图</strong><br/>个性化</span></a>
  593. </li><!--/li-->
  594. <li data-thumb="asset/img/example/cache.png">
  595. <a href="example/funnel2.html"><img src="asset/img/example/cache.png">
  596. <span><strong>多漏斗图</strong><br/>个性化</span></a>
  597. </li><!--/li-->
  598. <li data-thumb="asset/img/example/cache.png">
  599. <a href="example/funnel3.html"><img src="asset/img/example/cache.png">
  600. <span><strong>多漏斗图</strong><br/>个性化,排序</span></a>
  601. </li><!--/li-->
  602. <li data-thumb="asset/img/example/cache.png">
  603. <a href="example/funnel4.html"><img src="asset/img/example/cache.png">
  604. <span><strong>多漏斗图</strong><br/>个性化,水平对齐样式</span></a>
  605. </li><!--/li-->
  606. <li data-thumb="asset/img/example/cache.png">
  607. <a href="example/funnel.html"><img src="asset/img/example/cache.png">
  608. <span><strong>标准漏斗图</strong><br/>个性化</span></a>
  609. </li><!--/li-->
  610. </ul>
  611. </div>
  612. </div>
  613. </div>
  614. <div>
  615. <h3>热力图<a name="heatmap"> </a></h3>
  616. <div class="section">
  617. <div class="thumb4">
  618. <ul class="slides">
  619. <li data-thumb="asset/img/example/cache.png">
  620. <a href="example/heatmap.html"><img src="asset/img/example/cache.png">
  621. <span><strong>热力图</strong><br/>个性化</span></a>
  622. </li><!--/li-->
  623. <li data-thumb="asset/img/example/cache.png">
  624. <a href="example/heatmap2.html"><img src="asset/img/example/cache.png">
  625. <span><strong>热力图</strong></span></a>
  626. </li><!--/li-->
  627. <li data-thumb="asset/img/example/cache.png">
  628. <a href="example/heatmap_map.html"><img src="asset/img/example/cache.png">
  629. <span><strong>热力图</strong><br/>结合地图</span></a>
  630. </li><!--/li-->
  631. </ul>
  632. </div>
  633. </div>
  634. </div>
  635. <div>
  636. <h3>事件河流图<a name="eventRiver"> </a></h3>
  637. <div class="section">
  638. <div class="thumb4">
  639. <ul class="slides">
  640. <li data-thumb="asset/img/example/cache.png">
  641. <a href="example/eventRiver1.html"><img src="asset/img/example/cache.png">
  642. <span><strong>事件河流图</strong><br/>个性化</span></a>
  643. </li><!--/li-->
  644. <li data-thumb="asset/img/example/cache.png">
  645. <a href="example/eventRiver2.html"><img src="asset/img/example/cache.png">
  646. <span><strong>事件河流图</strong><br/>个性化</span></a>
  647. </li><!--/li-->
  648. </ul>
  649. </div>
  650. </div>
  651. </div>
  652. <div>
  653. <h3>韦恩图<a name="venn"> </a></h3>
  654. <div class="section">
  655. <div class="thumb4">
  656. <ul class="slides">
  657. <li data-thumb="asset/img/example/cache.png">
  658. <a href="example/venn.html"><img src="asset/img/example/cache.png">
  659. <span><strong>韦恩图</strong><br/>个性化</span></a>
  660. </li><!--/li-->
  661. </ul>
  662. </div>
  663. </div>
  664. </div>
  665. <div>
  666. <h3>矩形树图<a name="treemap"> </a></h3>
  667. <div class="section">
  668. <div class="thumb4">
  669. <ul class="slides">
  670. <li data-thumb="asset/img/example/cache.png">
  671. <a href="example/treemap.html"><img src="asset/img/example/cache.png">
  672. <span><strong>矩形树图</strong><br/>最简配置</span></a>
  673. </li><!--/li-->
  674. <li data-thumb="asset/img/example/cache.png">
  675. <a href="example/treemap1.html"><img src="asset/img/example/cache.png">
  676. <span><strong>矩形树图</strong><br/>数据下钻</span></a>
  677. </li><!--/li-->
  678. <li data-thumb="asset/img/example/cache.png">
  679. <a href="example/treemap2.html"><img src="asset/img/example/cache.png">
  680. <span><strong>矩形树图</strong><br/>个性化</span></a>
  681. </li><!--/li-->
  682. </ul>
  683. </div>
  684. </div>
  685. </div>
  686. <div>
  687. <h3>树图<a name="tree"> </a></h3>
  688. <div class="section">
  689. <div class="thumb4">
  690. <ul class="slides">
  691. <li data-thumb="asset/img/example/cache.png">
  692. <a href="example/tree.html"><img src="asset/img/example/cache.png">
  693. <span><strong>树图</strong><br/>最简配置</span></a>
  694. </li><!--/li-->
  695. <li data-thumb="asset/img/example/cache.png">
  696. <a href="example/tree2.html"><img src="asset/img/example/cache.png">
  697. <span><strong>树图</strong><br/>冰桶挑战</span></a>
  698. </li><!--/li-->
  699. <li data-thumb="asset/img/example/cache.png">
  700. <a href="example/tree1.html"><img src="asset/img/example/cache.png">
  701. <span><strong>树图</strong><br/>个性化</span></a>
  702. </li><!--/li-->
  703. </ul>
  704. </div>
  705. </div>
  706. </div>
  707. <div>
  708. <h3>字符云<a name="wordCloud"> </a></h3>
  709. <div class="section">
  710. <div class="thumb4">
  711. <ul class="slides">
  712. <li data-thumb="asset/img/example/cache.png">
  713. <a href="example/wordCloud.html"><img src="asset/img/example/cache.png">
  714. <span><strong>字符云</strong></a>
  715. </li><!--/li-->
  716. </ul>
  717. </div>
  718. </div>
  719. </div>
  720. <div>
  721. <h3>混搭<a name="mix"> </a></h3>
  722. <div class="section">
  723. <div class="thumb4">
  724. <ul class="slides">
  725. <li data-thumb="asset/img/example/cache.png">
  726. <a href="example/mix1.html"><img src="asset/img/example/cache.png">
  727. <span><strong>折柱混搭</strong><br/>双数值轴</span></a>
  728. </li><!--/li-->
  729. <li data-thumb="asset/img/example/cache.png">
  730. <a href="example/mix6.html"><img src="asset/img/example/cache.png">
  731. <span><strong>折柱混搭</strong><br/>数据驱动,模拟范围图</span></a>
  732. </li><!--/li-->
  733. <li data-thumb="asset/img/example/cache.png">
  734. <a href="example/mix2.html"><img src="asset/img/example/cache.png">
  735. <span><strong>柱状饼混搭</strong><br/>数据驱动,饼图中心定义</span></a>
  736. </li><!--/li-->
  737. <li data-thumb="asset/img/example/cache.png">
  738. <a href="example/mix4.html"><img src="asset/img/example/cache.png">
  739. <span><strong>折线散点混搭</strong><br/>数值轴与类目轴坐标同步</span></a>
  740. </li><!--/li-->
  741. <li data-thumb="asset/img/example/cache.png">
  742. <a href="example/mix7.html"><img src="asset/img/example/cache.png">
  743. <span><strong>散饼图</strong><br/>用饼图代替气泡图中的散点,多系列</span></a>
  744. </li><!--/li-->
  745. <li data-thumb="asset/img/example/cache.png">
  746. <a href="example/mix10.html"><img src="asset/img/example/cache.png">
  747. <span><strong>折线K线混搭</strong><br/>双数值轴,多系列</span></a>
  748. </li><!--/li-->
  749. <li data-thumb="asset/img/example/cache.png">
  750. <a href="example/mix12.html"><img src="asset/img/example/cache.png">
  751. <span><strong>折线饼图混搭</strong><br/>趋势,百分比高效混合模式</span></a>
  752. </li><!--/li-->
  753. <li data-thumb="asset/img/example/cache.png">
  754. <a href="example/mix3.html"><img src="asset/img/example/cache.png">
  755. <span><strong>地图饼图混搭</strong><br/>地图作为地域选择器</span></a>
  756. </li><!--/li-->
  757. <li data-thumb="asset/img/example/cache.png">
  758. <a href="example/mix9.html"><img src="asset/img/example/cache.png">
  759. <span><strong>多图联动</strong><br/>简单connect,图例,工具箱共享,多系列</span></a>
  760. </li><!--/li-->
  761. <li data-thumb="asset/img/example/cache.png">
  762. <a href="example/mix8.html"><img src="asset/img/example/cache.png">
  763. <span><strong>多图联动</strong><br/>直角系多图联动,多系列</span></a>
  764. </li><!--/li-->
  765. <li data-thumb="asset/img/example/cache.png">
  766. <a href="example/mix11.html"><img src="asset/img/example/cache.png">
  767. <span><strong>商业BI类图表</strong><br/>仪表盘、嵌套漏斗图</span></a>
  768. </li><!--/li-->
  769. </ul>
  770. </div>
  771. </div>
  772. </div>
  773. <div>
  774. <h3>组件<a name="component"> </a></h3>
  775. <div class="section">
  776. <div class="thumb3">
  777. <ul class="slides">
  778. <li data-thumb="asset/img/example/cache.png">
  779. <a href="example/axis.html"><img src="asset/img/example/cache.png">
  780. <span><strong>坐标系</strong><br/>多级控制,个性化标签文字、间隔线样式等</span></a>
  781. </li><!--/li-->
  782. <li data-thumb="asset/img/doc/legend.png">
  783. <a href="example/legend.html"><img src="asset/img/doc/legend.png">
  784. <span><strong>图例</strong><br/>个性化</span></a>
  785. </li><!--/li-->
  786. <li data-thumb="asset/img/example/cache.png">
  787. <a href="example/dataZoom1.html"><img src="asset/img/example/cache.png">
  788. <span><strong>数据区域缩放</strong><br/>基本使用</span></a>
  789. </li><!--/li-->
  790. <li data-thumb="asset/img/example/cache.png">
  791. <a href="example/dataZoom.html"><img src="asset/img/example/cache.png">
  792. <span><strong>数据区域控件</strong><br/>个性化布局,数据阴影、背景、拖拽手柄样式等</span></a>
  793. </li><!--/li-->
  794. <li data-thumb="asset/img/example/cache.png">
  795. <a href="example/tooltip.html"><img src="asset/img/example/cache.png">
  796. <span><strong>提示框</strong><br/>多级控制,个性化文字样式、边框、背景等</span></a>
  797. </li><!--/li-->
  798. <li data-thumb="asset/img/example/cache.png">
  799. <a href="example/dataRange.html"><img src="asset/img/example/cache.png">
  800. <span><strong>值域控件</strong><br/>个性化布局,背景、拖拽手柄样式等</span></a>
  801. </li><!--/li-->
  802. </ul>
  803. </div>
  804. </div>
  805. </div>
  806. <div>
  807. <h3>其他<a name="other"> </a></h3>
  808. <div class="section">
  809. <div class="thumb4">
  810. <ul class="slides">
  811. <li data-thumb="asset/img/example/cache.png">
  812. <a href="example/dynamicLineBar.html"><img src="asset/img/example/cache.png">
  813. <span><strong>动态数据</strong><br/>折线图、柱状图</span></a>
  814. </li><!--/li-->
  815. <li data-thumb="asset/img/example/cache.png">
  816. <a href="example/dynamicScatterK.html"><img src="asset/img/example/cache.png">
  817. <span><strong>动态数据</strong><br/>散点图、K线图</span></a>
  818. </li><!--/li-->
  819. <li data-thumb="asset/img/example/cache.png">
  820. <a href="example/dynamicPieRadar.html"><img src="asset/img/example/cache.png">
  821. <span><strong>动态数据</strong><br/>饼图、雷达图</span></a>
  822. </li><!--/li-->
  823. <li data-thumb="asset/img/example/cache.png">
  824. <a href="example/loading.html"><img src="asset/img/example/cache.png">
  825. <span><strong>过渡动画</strong><br/>加载中,Loading</span></a>
  826. </li><!--/li-->
  827. <li data-thumb="asset/img/example/import.png">
  828. <a href="example/www/index.html"><img src="asset/img/example/import.png">
  829. <span><strong>单文件引入</strong><br/>模块化单文件echarts.js</span></a>
  830. </li><!--/li-->
  831. <li data-thumb="asset/img/example/import.png">
  832. <a href="example/www2/index.html"><img src="asset/img/example/import.png">
  833. <span><strong>单文件引入</strong><br/>标签式(非模块化)单文件echarts-all.js</span></a>
  834. </li><!--/li-->
  835. <li data-thumb="asset/img/example/cache.png">
  836. <a href="example/event.html"><img src="asset/img/example/cache.png">
  837. <span><strong>事件交互</strong><br/>可捕获的用户交互和数据变化事件,实现图表与外界的联动</span></a>
  838. </li><!--/li-->
  839. </ul>
  840. </div>
  841. </div>
  842. </div>
  843. <div>
  844. <h3>主题<a name="theme"> </a></h3>
  845. <p>主题预览 <a href='example/theme.html' target="_blank">ECharts Theme »</a>,主题定制调试工具 <a href='example/themeDesigner.html' target="_blank">ECharts Theme Designer »</a></p>
  846. <p><small>ps:别太依赖代码编辑区,没做本地缓存,页面刷新就没了,建议使用一个本地编辑器编辑主题,只用代码区作为主题定制调试工具。主题写好试试顶部的SaveAsImage(IE8-不支持),会把所有图表合并到一张图中,这是默认样式,期待与我们联系,show出你的主题,让你的设计成为ECharts内置甚至默认主题随时有可能,我们将为您献上一份小礼品同时你的名字将被永留在贡献者名单中。</small></p>
  847. <a href="example/theme.html" target="_blank"><img src="asset/img/example/theme.png" style="max-width:100%"></a>
  848. <div>
  849. </div>
  850. <h3>专题<a name="topic"></a></h3>
  851. <p><small>专题页没做低版本IE兼容性处理,请用IE9+、chrome、safari、firefox或opear等现代浏览器。</small></p>
  852. <ul>
  853. <li><a href="example/topic/aqi-china/index.html" target="_blank">中国主要城市空气质量实况 </a> by <a href="http://weibo.com/wfsr" target="_blank">大佛</a>(百度) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
  854. <li><a href="example/topic/10-me-china/index.html" target="_blank">中国经济十年时空漫游(2002-2011)</a> by 于博(新华社) · 吴楚茵(南方都市报) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
  855. <li><a href="example/topic/24-population-china/index.html" target="_blank">中国人口流动大潮(1987-2011)</a> by 孟立昕(腾讯)· 王飞宇(证券时报) · 颜冬(视觉中国) · <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</li>
  856. <li><a href="http://hijiangtao.github.io/variety-show-hot-spot-vis/" target="_blank">融合社交网络数据挖掘的综艺节目可视化评价系统 </a> by <a href="http://hijiangtao.github.io/variety-show-hot-spot-vis/about/" target="_blank">Data.BIT团队</a>(北京理工大学软件学院)</li>
  857. <li><a href="http://echarts.baidu.com/doc/example/topic/sino-japanese-war-1895/index.html" target="_blank">甲午之殇:纪念甲午战争120周年 </a> by <a href="http://weibo.com/u/3798120772" target="_blank">付建海</a>(CSDN开源夏令营)</li>
  858. <li><a href="http://www.thinkgis.cn/public/sina/" target="_blank">2014新浪微博签到数据信息图</a> by <a href="http://www.weibo.com/u/1707284737" target="_blank">ThinkingGIS </a></li>
  859. </ul>
  860. </div>
  861. </div>
  862. </div>
  863. </div> <!-- /container -->
  864. <footer id="footer"></footer>
  865. <!-- Le javascript
  866. ================================================== -->
  867. <!-- Placed at the end of the document so the pages load faster -->
  868. <script src="./asset/js/jquery.min.js"></script>
  869. <script type="text/javascript" src="./asset/js/echartsHome.js"></script>
  870. <script src="./asset/js/bootstrap.min.js"></script>
  871. <script type="text/javascript">
  872. $(function (){
  873. var section = $('[class=section]');
  874. function loadImage(i) {
  875. setTimeout(function (){
  876. var list = $('div>ul>li>a', section[i]);
  877. var nav = $('ol>li>img', section[i]);
  878. var href;
  879. var src;
  880. if (list.length > 0) {
  881. for (var j = 0, k = list.length; j < k; j++) {
  882. list[j].target = '_blank';
  883. href = list[j].href.slice(list[j].href.lastIndexOf('/') + 1, -5);
  884. src = list[j].firstChild.src.replace(
  885. 'cache', href
  886. );
  887. list[j].firstChild.alt = 'ECharts ' + href;
  888. list[j].firstChild.src = src;
  889. }
  890. }
  891. }, i * 100);
  892. }
  893. for (var i = 0, l = section.length; i < l; i++) {
  894. loadImage(i);
  895. }
  896. var chartsTypeNav = document.getElementById('chartsTypeNav');
  897. function _scroll() {
  898. var navHeight = chartsTypeNav.offsetHeight;
  899. var viewHeight = document.documentElement.clientHeight;
  900. var scrollHeight = document.documentElement.scrollTop
  901. || document.body.scrollTop;
  902. var offsetHeight = document.body.offsetHeight;
  903. var footHole = offsetHeight - scrollHeight - viewHeight;
  904. var maxHeight = viewHeight - (230 - footHole) - 80;
  905. if (footHole < 320 && maxHeight < navHeight) {
  906. // 见footer
  907. //chartsTypeNav.style.marginTop = footHole - 150 + 'px';
  908. chartsTypeNav.style.marginTop = maxHeight - navHeight + 'px';
  909. }
  910. else {
  911. // 未见footer
  912. chartsTypeNav.style.marginTop = 'auto';
  913. }
  914. var len = offsetList.length;
  915. if (scrollHeight > offsetList[len - 3].offsetTop) {
  916. navDom[len - 2].style.backgroundColor = '#3E98C5';
  917. $(navDom[len - 2]).children('a')[0].style.color = '#fff';
  918. }
  919. else {
  920. for (var i = 0; i < len - 1; i++) {
  921. if (Math.abs(scrollHeight - offsetList[i].offsetTop) < 280 && navDom[i]) {
  922. navDom[i].style.backgroundColor = '#3E98C5';
  923. $(navDom[i]).children('a')[0].style.color = '#fff';
  924. }
  925. else {
  926. navDom[i].style.backgroundColor = 'transparent';
  927. $(navDom[i]).children('a')[0].style.color = '#3E98C5';
  928. }
  929. }
  930. }
  931. }
  932. var offsetList = [];
  933. var navDom = $('#chartsTypeNav>ul>li');
  934. function _resize() {
  935. offsetList = [];
  936. $('h3').each(function(idx, dom){
  937. offsetList[idx] = {
  938. name : dom.childNodes[1].name,
  939. offsetTop : dom.childNodes[1].offsetTop
  940. };
  941. });
  942. offsetList.push({
  943. name : 'topic',
  944. offsetTop : 100000
  945. })
  946. setTimeout(_scroll, 500);
  947. }
  948. function scroll2Pos (idx) {
  949. return function() {
  950. $("body,html").animate(
  951. {scrollTop: offsetList[idx].offsetTop + 30},
  952. 500
  953. );
  954. return false;
  955. }
  956. }
  957. $('#chartsTypeNav>ul>li>a').each(function(idx, dom){
  958. $(dom).on('click', scroll2Pos(idx));
  959. })
  960. $(window).on('scroll', _scroll);
  961. $(window).on('resize', _resize);
  962. _resize();
  963. });
  964. </script>
  965. </body>
  966. </html>