751df86c0b78b661c6db6b79d9a24a3f1bd0c6d7.svn-base 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. <!DOCTYPE html>
  2. <html lang="en">
  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. <script src="./www/js/echarts.js"></script>
  21. <script src="../asset/js/codemirror.js"></script>
  22. <script src="../asset/js/javascript.js"></script>
  23. <link href="../asset/css/codemirror.css" rel="stylesheet">
  24. <link href="../asset/css/monokai.css" rel="stylesheet">
  25. <style type="text/css">
  26. .CodeMirror {
  27. height: 550px;
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <!-- Fixed navbar -->
  33. <div class="navbar navbar-default navbar-fixed-top" role="navigation" id="head"></div>
  34. <div class="container-fluid">
  35. <div class="row-fluid example">
  36. <div id="sidebar-code" class="col-md-4">
  37. <div class="well sidebar-nav">
  38. <div class="nav-header"><a href="javascript:;" onclick="autoResize()" class="glyphicon glyphicon-resize-full" id ="icon-resize" ></a>option</div>
  39. <textarea id="code" name="code">
  40. option = {
  41. backgroundColor: '#1b1b1b',
  42. color: ['gold','aqua','lime'],
  43. title : {
  44. text: '模拟迁徙',
  45. subtext:'数据纯属虚构',
  46. x:'center',
  47. textStyle : {
  48. color: '#fff'
  49. }
  50. },
  51. tooltip : {
  52. trigger: 'item',
  53. formatter: '{b}'
  54. },
  55. legend: {
  56. orient: 'vertical',
  57. x:'left',
  58. data:['北京 Top10', '上海 Top10', '广州 Top10'],
  59. selectedMode: 'single',
  60. selected:{
  61. '上海 Top10' : false,
  62. '广州 Top10' : false
  63. },
  64. textStyle : {
  65. color: '#fff'
  66. }
  67. },
  68. toolbox: {
  69. show : true,
  70. orient : 'vertical',
  71. x: 'right',
  72. y: 'center',
  73. feature : {
  74. mark : {show: true},
  75. dataView : {show: true, readOnly: false},
  76. restore : {show: true},
  77. saveAsImage : {show: true}
  78. }
  79. },
  80. dataRange: {
  81. min : 0,
  82. max : 100,
  83. calculable : true,
  84. color: ['#ff3333', 'orange', 'yellow','lime','aqua'],
  85. textStyle:{
  86. color:'#fff'
  87. }
  88. },
  89. series : [
  90. {
  91. name: '全国',
  92. type: 'map',
  93. roam: true,
  94. hoverable: false,
  95. mapType: 'china',
  96. itemStyle:{
  97. normal:{
  98. borderColor:'rgba(100,149,237,1)',
  99. borderWidth:0.5,
  100. areaStyle:{
  101. color: '#1b1b1b'
  102. }
  103. }
  104. },
  105. data:[],
  106. markLine : {
  107. smooth:true,
  108. symbol: ['none', 'circle'],
  109. symbolSize : 1,
  110. itemStyle : {
  111. normal: {
  112. color:'#fff',
  113. borderWidth:1,
  114. borderColor:'rgba(30,144,255,0.5)'
  115. }
  116. },
  117. data : [
  118. [{name:'北京'},{name:'包头'}],
  119. [{name:'北京'},{name:'北海'}],
  120. [{name:'北京'},{name:'广州'}],
  121. [{name:'北京'},{name:'郑州'}],
  122. [{name:'北京'},{name:'长春'}],
  123. [{name:'北京'},{name:'长治'}],
  124. [{name:'北京'},{name:'重庆'}],
  125. [{name:'北京'},{name:'长沙'}],
  126. [{name:'北京'},{name:'成都'}],
  127. [{name:'北京'},{name:'常州'}],
  128. [{name:'北京'},{name:'丹东'}],
  129. [{name:'北京'},{name:'大连'}],
  130. [{name:'北京'},{name:'东营'}],
  131. [{name:'北京'},{name:'延安'}],
  132. [{name:'北京'},{name:'福州'}],
  133. [{name:'北京'},{name:'海口'}],
  134. [{name:'北京'},{name:'呼和浩特'}],
  135. [{name:'北京'},{name:'合肥'}],
  136. [{name:'北京'},{name:'杭州'}],
  137. [{name:'北京'},{name:'哈尔滨'}],
  138. [{name:'北京'},{name:'舟山'}],
  139. [{name:'北京'},{name:'银川'}],
  140. [{name:'北京'},{name:'衢州'}],
  141. [{name:'北京'},{name:'南昌'}],
  142. [{name:'北京'},{name:'昆明'}],
  143. [{name:'北京'},{name:'贵阳'}],
  144. [{name:'北京'},{name:'兰州'}],
  145. [{name:'北京'},{name:'拉萨'}],
  146. [{name:'北京'},{name:'连云港'}],
  147. [{name:'北京'},{name:'临沂'}],
  148. [{name:'北京'},{name:'柳州'}],
  149. [{name:'北京'},{name:'宁波'}],
  150. [{name:'北京'},{name:'南京'}],
  151. [{name:'北京'},{name:'南宁'}],
  152. [{name:'北京'},{name:'南通'}],
  153. [{name:'北京'},{name:'上海'}],
  154. [{name:'北京'},{name:'沈阳'}],
  155. [{name:'北京'},{name:'西安'}],
  156. [{name:'北京'},{name:'汕头'}],
  157. [{name:'北京'},{name:'深圳'}],
  158. [{name:'北京'},{name:'青岛'}],
  159. [{name:'北京'},{name:'济南'}],
  160. [{name:'北京'},{name:'太原'}],
  161. [{name:'北京'},{name:'乌鲁木齐'}],
  162. [{name:'北京'},{name:'潍坊'}],
  163. [{name:'北京'},{name:'威海'}],
  164. [{name:'北京'},{name:'温州'}],
  165. [{name:'北京'},{name:'武汉'}],
  166. [{name:'北京'},{name:'无锡'}],
  167. [{name:'北京'},{name:'厦门'}],
  168. [{name:'北京'},{name:'西宁'}],
  169. [{name:'北京'},{name:'徐州'}],
  170. [{name:'北京'},{name:'烟台'}],
  171. [{name:'北京'},{name:'盐城'}],
  172. [{name:'北京'},{name:'珠海'}],
  173. [{name:'上海'},{name:'包头'}],
  174. [{name:'上海'},{name:'北海'}],
  175. [{name:'上海'},{name:'广州'}],
  176. [{name:'上海'},{name:'郑州'}],
  177. [{name:'上海'},{name:'长春'}],
  178. [{name:'上海'},{name:'重庆'}],
  179. [{name:'上海'},{name:'长沙'}],
  180. [{name:'上海'},{name:'成都'}],
  181. [{name:'上海'},{name:'丹东'}],
  182. [{name:'上海'},{name:'大连'}],
  183. [{name:'上海'},{name:'福州'}],
  184. [{name:'上海'},{name:'海口'}],
  185. [{name:'上海'},{name:'呼和浩特'}],
  186. [{name:'上海'},{name:'合肥'}],
  187. [{name:'上海'},{name:'哈尔滨'}],
  188. [{name:'上海'},{name:'舟山'}],
  189. [{name:'上海'},{name:'银川'}],
  190. [{name:'上海'},{name:'南昌'}],
  191. [{name:'上海'},{name:'昆明'}],
  192. [{name:'上海'},{name:'贵阳'}],
  193. [{name:'上海'},{name:'兰州'}],
  194. [{name:'上海'},{name:'拉萨'}],
  195. [{name:'上海'},{name:'连云港'}],
  196. [{name:'上海'},{name:'临沂'}],
  197. [{name:'上海'},{name:'柳州'}],
  198. [{name:'上海'},{name:'宁波'}],
  199. [{name:'上海'},{name:'南宁'}],
  200. [{name:'上海'},{name:'北京'}],
  201. [{name:'上海'},{name:'沈阳'}],
  202. [{name:'上海'},{name:'秦皇岛'}],
  203. [{name:'上海'},{name:'西安'}],
  204. [{name:'上海'},{name:'石家庄'}],
  205. [{name:'上海'},{name:'汕头'}],
  206. [{name:'上海'},{name:'深圳'}],
  207. [{name:'上海'},{name:'青岛'}],
  208. [{name:'上海'},{name:'济南'}],
  209. [{name:'上海'},{name:'天津'}],
  210. [{name:'上海'},{name:'太原'}],
  211. [{name:'上海'},{name:'乌鲁木齐'}],
  212. [{name:'上海'},{name:'潍坊'}],
  213. [{name:'上海'},{name:'威海'}],
  214. [{name:'上海'},{name:'温州'}],
  215. [{name:'上海'},{name:'武汉'}],
  216. [{name:'上海'},{name:'厦门'}],
  217. [{name:'上海'},{name:'西宁'}],
  218. [{name:'上海'},{name:'徐州'}],
  219. [{name:'上海'},{name:'烟台'}],
  220. [{name:'上海'},{name:'珠海'}],
  221. [{name:'广州'},{name:'北海'}],
  222. [{name:'广州'},{name:'郑州'}],
  223. [{name:'广州'},{name:'长春'}],
  224. [{name:'广州'},{name:'重庆'}],
  225. [{name:'广州'},{name:'长沙'}],
  226. [{name:'广州'},{name:'成都'}],
  227. [{name:'广州'},{name:'常州'}],
  228. [{name:'广州'},{name:'大连'}],
  229. [{name:'广州'},{name:'福州'}],
  230. [{name:'广州'},{name:'海口'}],
  231. [{name:'广州'},{name:'呼和浩特'}],
  232. [{name:'广州'},{name:'合肥'}],
  233. [{name:'广州'},{name:'杭州'}],
  234. [{name:'广州'},{name:'哈尔滨'}],
  235. [{name:'广州'},{name:'舟山'}],
  236. [{name:'广州'},{name:'银川'}],
  237. [{name:'广州'},{name:'南昌'}],
  238. [{name:'广州'},{name:'昆明'}],
  239. [{name:'广州'},{name:'贵阳'}],
  240. [{name:'广州'},{name:'兰州'}],
  241. [{name:'广州'},{name:'拉萨'}],
  242. [{name:'广州'},{name:'连云港'}],
  243. [{name:'广州'},{name:'临沂'}],
  244. [{name:'广州'},{name:'柳州'}],
  245. [{name:'广州'},{name:'宁波'}],
  246. [{name:'广州'},{name:'南京'}],
  247. [{name:'广州'},{name:'南宁'}],
  248. [{name:'广州'},{name:'南通'}],
  249. [{name:'广州'},{name:'北京'}],
  250. [{name:'广州'},{name:'上海'}],
  251. [{name:'广州'},{name:'沈阳'}],
  252. [{name:'广州'},{name:'西安'}],
  253. [{name:'广州'},{name:'石家庄'}],
  254. [{name:'广州'},{name:'汕头'}],
  255. [{name:'广州'},{name:'青岛'}],
  256. [{name:'广州'},{name:'济南'}],
  257. [{name:'广州'},{name:'天津'}],
  258. [{name:'广州'},{name:'太原'}],
  259. [{name:'广州'},{name:'乌鲁木齐'}],
  260. [{name:'广州'},{name:'温州'}],
  261. [{name:'广州'},{name:'武汉'}],
  262. [{name:'广州'},{name:'无锡'}],
  263. [{name:'广州'},{name:'厦门'}],
  264. [{name:'广州'},{name:'西宁'}],
  265. [{name:'广州'},{name:'徐州'}],
  266. [{name:'广州'},{name:'烟台'}],
  267. [{name:'广州'},{name:'盐城'}]
  268. ],
  269. },
  270. geoCoord: {
  271. '上海': [121.4648,31.2891],
  272. '东莞': [113.8953,22.901],
  273. '东营': [118.7073,37.5513],
  274. '中山': [113.4229,22.478],
  275. '临汾': [111.4783,36.1615],
  276. '临沂': [118.3118,35.2936],
  277. '丹东': [124.541,40.4242],
  278. '丽水': [119.5642,28.1854],
  279. '乌鲁木齐': [87.9236,43.5883],
  280. '佛山': [112.8955,23.1097],
  281. '保定': [115.0488,39.0948],
  282. '兰州': [103.5901,36.3043],
  283. '包头': [110.3467,41.4899],
  284. '北京': [116.4551,40.2539],
  285. '北海': [109.314,21.6211],
  286. '南京': [118.8062,31.9208],
  287. '南宁': [108.479,23.1152],
  288. '南昌': [116.0046,28.6633],
  289. '南通': [121.1023,32.1625],
  290. '厦门': [118.1689,24.6478],
  291. '台州': [121.1353,28.6688],
  292. '合肥': [117.29,32.0581],
  293. '呼和浩特': [111.4124,40.4901],
  294. '咸阳': [108.4131,34.8706],
  295. '哈尔滨': [127.9688,45.368],
  296. '唐山': [118.4766,39.6826],
  297. '嘉兴': [120.9155,30.6354],
  298. '大同': [113.7854,39.8035],
  299. '大连': [122.2229,39.4409],
  300. '天津': [117.4219,39.4189],
  301. '太原': [112.3352,37.9413],
  302. '威海': [121.9482,37.1393],
  303. '宁波': [121.5967,29.6466],
  304. '宝鸡': [107.1826,34.3433],
  305. '宿迁': [118.5535,33.7775],
  306. '常州': [119.4543,31.5582],
  307. '广州': [113.5107,23.2196],
  308. '廊坊': [116.521,39.0509],
  309. '延安': [109.1052,36.4252],
  310. '张家口': [115.1477,40.8527],
  311. '徐州': [117.5208,34.3268],
  312. '德州': [116.6858,37.2107],
  313. '惠州': [114.6204,23.1647],
  314. '成都': [103.9526,30.7617],
  315. '扬州': [119.4653,32.8162],
  316. '承德': [117.5757,41.4075],
  317. '拉萨': [91.1865,30.1465],
  318. '无锡': [120.3442,31.5527],
  319. '日照': [119.2786,35.5023],
  320. '昆明': [102.9199,25.4663],
  321. '杭州': [119.5313,29.8773],
  322. '枣庄': [117.323,34.8926],
  323. '柳州': [109.3799,24.9774],
  324. '株洲': [113.5327,27.0319],
  325. '武汉': [114.3896,30.6628],
  326. '汕头': [117.1692,23.3405],
  327. '江门': [112.6318,22.1484],
  328. '沈阳': [123.1238,42.1216],
  329. '沧州': [116.8286,38.2104],
  330. '河源': [114.917,23.9722],
  331. '泉州': [118.3228,25.1147],
  332. '泰安': [117.0264,36.0516],
  333. '泰州': [120.0586,32.5525],
  334. '济南': [117.1582,36.8701],
  335. '济宁': [116.8286,35.3375],
  336. '海口': [110.3893,19.8516],
  337. '淄博': [118.0371,36.6064],
  338. '淮安': [118.927,33.4039],
  339. '深圳': [114.5435,22.5439],
  340. '清远': [112.9175,24.3292],
  341. '温州': [120.498,27.8119],
  342. '渭南': [109.7864,35.0299],
  343. '湖州': [119.8608,30.7782],
  344. '湘潭': [112.5439,27.7075],
  345. '滨州': [117.8174,37.4963],
  346. '潍坊': [119.0918,36.524],
  347. '烟台': [120.7397,37.5128],
  348. '玉溪': [101.9312,23.8898],
  349. '珠海': [113.7305,22.1155],
  350. '盐城': [120.2234,33.5577],
  351. '盘锦': [121.9482,41.0449],
  352. '石家庄': [114.4995,38.1006],
  353. '福州': [119.4543,25.9222],
  354. '秦皇岛': [119.2126,40.0232],
  355. '绍兴': [120.564,29.7565],
  356. '聊城': [115.9167,36.4032],
  357. '肇庆': [112.1265,23.5822],
  358. '舟山': [122.2559,30.2234],
  359. '苏州': [120.6519,31.3989],
  360. '莱芜': [117.6526,36.2714],
  361. '菏泽': [115.6201,35.2057],
  362. '营口': [122.4316,40.4297],
  363. '葫芦岛': [120.1575,40.578],
  364. '衡水': [115.8838,37.7161],
  365. '衢州': [118.6853,28.8666],
  366. '西宁': [101.4038,36.8207],
  367. '西安': [109.1162,34.2004],
  368. '贵阳': [106.6992,26.7682],
  369. '连云港': [119.1248,34.552],
  370. '邢台': [114.8071,37.2821],
  371. '邯郸': [114.4775,36.535],
  372. '郑州': [113.4668,34.6234],
  373. '鄂尔多斯': [108.9734,39.2487],
  374. '重庆': [107.7539,30.1904],
  375. '金华': [120.0037,29.1028],
  376. '铜川': [109.0393,35.1947],
  377. '银川': [106.3586,38.1775],
  378. '镇江': [119.4763,31.9702],
  379. '长春': [125.8154,44.2584],
  380. '长沙': [113.0823,28.2568],
  381. '长治': [112.8625,36.4746],
  382. '阳泉': [113.4778,38.0951],
  383. '青岛': [120.4651,36.3373],
  384. '韶关': [113.7964,24.7028]
  385. }
  386. },
  387. {
  388. name: '北京 Top10',
  389. type: 'map',
  390. mapType: 'china',
  391. data:[],
  392. markLine : {
  393. smooth:true,
  394. effect : {
  395. show: true,
  396. scaleSize: 1,
  397. period: 30,
  398. color: '#fff',
  399. shadowBlur: 10
  400. },
  401. itemStyle : {
  402. normal: {
  403. borderWidth:1,
  404. lineStyle: {
  405. type: 'solid',
  406. shadowBlur: 10
  407. }
  408. }
  409. },
  410. data : [
  411. [{name:'北京'}, {name:'上海',value:95}],
  412. [{name:'北京'}, {name:'广州',value:90}],
  413. [{name:'北京'}, {name:'大连',value:80}],
  414. [{name:'北京'}, {name:'南宁',value:70}],
  415. [{name:'北京'}, {name:'南昌',value:60}],
  416. [{name:'北京'}, {name:'拉萨',value:50}],
  417. [{name:'北京'}, {name:'长春',value:40}],
  418. [{name:'北京'}, {name:'包头',value:30}],
  419. [{name:'北京'}, {name:'重庆',value:20}],
  420. [{name:'北京'}, {name:'常州',value:10}]
  421. ]
  422. },
  423. markPoint : {
  424. symbol:'emptyCircle',
  425. symbolSize : function (v){
  426. return 10 + v/10
  427. },
  428. effect : {
  429. show: true,
  430. shadowBlur : 0
  431. },
  432. itemStyle:{
  433. normal:{
  434. label:{show:false}
  435. },
  436. emphasis: {
  437. label:{position:'top'}
  438. }
  439. },
  440. data : [
  441. {name:'上海',value:95},
  442. {name:'广州',value:90},
  443. {name:'大连',value:80},
  444. {name:'南宁',value:70},
  445. {name:'南昌',value:60},
  446. {name:'拉萨',value:50},
  447. {name:'长春',value:40},
  448. {name:'包头',value:30},
  449. {name:'重庆',value:20},
  450. {name:'常州',value:10}
  451. ]
  452. }
  453. },
  454. {
  455. name: '上海 Top10',
  456. type: 'map',
  457. mapType: 'china',
  458. data:[],
  459. markLine : {
  460. smooth:true,
  461. effect : {
  462. show: true,
  463. scaleSize: 1,
  464. period: 30,
  465. color: '#fff',
  466. shadowBlur: 10
  467. },
  468. itemStyle : {
  469. normal: {
  470. borderWidth:1,
  471. lineStyle: {
  472. type: 'solid',
  473. shadowBlur: 10
  474. }
  475. }
  476. },
  477. data : [
  478. [{name:'上海'},{name:'包头',value:95}],
  479. [{name:'上海'},{name:'昆明',value:90}],
  480. [{name:'上海'},{name:'广州',value:80}],
  481. [{name:'上海'},{name:'郑州',value:70}],
  482. [{name:'上海'},{name:'长春',value:60}],
  483. [{name:'上海'},{name:'重庆',value:50}],
  484. [{name:'上海'},{name:'长沙',value:40}],
  485. [{name:'上海'},{name:'北京',value:30}],
  486. [{name:'上海'},{name:'丹东',value:20}],
  487. [{name:'上海'},{name:'大连',value:10}]
  488. ]
  489. },
  490. markPoint : {
  491. symbol:'emptyCircle',
  492. symbolSize : function (v){
  493. return 10 + v/10
  494. },
  495. effect : {
  496. show: true,
  497. shadowBlur : 0
  498. },
  499. itemStyle:{
  500. normal:{
  501. label:{show:false}
  502. },
  503. emphasis: {
  504. label:{position:'top'}
  505. }
  506. },
  507. data : [
  508. {name:'包头',value:95},
  509. {name:'昆明',value:90},
  510. {name:'广州',value:80},
  511. {name:'郑州',value:70},
  512. {name:'长春',value:60},
  513. {name:'重庆',value:50},
  514. {name:'长沙',value:40},
  515. {name:'北京',value:30},
  516. {name:'丹东',value:20},
  517. {name:'大连',value:10}
  518. ]
  519. }
  520. },
  521. {
  522. name: '广州 Top10',
  523. type: 'map',
  524. mapType: 'china',
  525. data:[],
  526. markLine : {
  527. smooth:true,
  528. effect : {
  529. show: true,
  530. scaleSize: 1,
  531. period: 30,
  532. color: '#fff',
  533. shadowBlur: 10
  534. },
  535. itemStyle : {
  536. normal: {
  537. borderWidth:1,
  538. lineStyle: {
  539. type: 'solid',
  540. shadowBlur: 10
  541. }
  542. }
  543. },
  544. data : [
  545. [{name:'广州'},{name:'福州',value:95}],
  546. [{name:'广州'},{name:'太原',value:90}],
  547. [{name:'广州'},{name:'长春',value:80}],
  548. [{name:'广州'},{name:'重庆',value:70}],
  549. [{name:'广州'},{name:'西安',value:60}],
  550. [{name:'广州'},{name:'成都',value:50}],
  551. [{name:'广州'},{name:'常州',value:40}],
  552. [{name:'广州'},{name:'北京',value:30}],
  553. [{name:'广州'},{name:'北海',value:20}],
  554. [{name:'广州'},{name:'海口',value:10}]
  555. ]
  556. },
  557. markPoint : {
  558. symbol:'emptyCircle',
  559. symbolSize : function (v){
  560. return 10 + v/10
  561. },
  562. effect : {
  563. show: true,
  564. shadowBlur : 0
  565. },
  566. itemStyle:{
  567. normal:{
  568. label:{show:false}
  569. },
  570. emphasis: {
  571. label:{position:'top'}
  572. }
  573. },
  574. data : [
  575. {name:'福州',value:95},
  576. {name:'太原',value:90},
  577. {name:'长春',value:80},
  578. {name:'重庆',value:70},
  579. {name:'西安',value:60},
  580. {name:'成都',value:50},
  581. {name:'常州',value:40},
  582. {name:'北京',value:30},
  583. {name:'北海',value:20},
  584. {name:'海口',value:10}
  585. ]
  586. }
  587. }
  588. ]
  589. };
  590. </textarea>
  591. </div><!--/.well -->
  592. </div><!--/span-->
  593. <div id="graphic" class="col-md-8">
  594. <div id="main" class="main" style="height: 530px;"></div>
  595. <div>
  596. <button type="button" class="btn btn-sm btn-success" onclick="refresh(true)">刷 新</button>
  597. <span class="text-primary">切换主题</span>
  598. <select id="theme-select"></select>
  599. <span id='wrong-message' style="color:red"></span>
  600. </div>
  601. </div><!--/span-->
  602. </div><!--/row-->
  603. </div><!--/.fluid-container-->
  604. <footer id="footer"></footer>
  605. <!-- Le javascript
  606. ================================================== -->
  607. <!-- Placed at the end of the document so the pages load faster -->
  608. <script src="../asset/js/jquery.min.js"></script>
  609. <script type="text/javascript" src="../asset/js/echartsHome.js"></script>
  610. <script src="../asset/js/bootstrap.min.js"></script>
  611. <script src="../asset/js/echartsExample.js"></script>
  612. </body>
  613. </html>