investHome2.js 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223
  1. let app = new Vue({
  2. el: '#app',
  3. data() {
  4. return {
  5. year: '2022',
  6. time: '',
  7. timer: '',
  8. mapName: 'shanxi',
  9. geoCoordMap: {},
  10. config1: {
  11. number: [100],
  12. content: '{nt}个',
  13. },
  14. storageRecordConfig: {
  15. header: [],
  16. headerBGC: '#05507b33',
  17. oddRowBGC: '#05507b33',
  18. evenRowBGC: '',
  19. headerHeight: '40',
  20. rowNum: 4,
  21. align: ['center'],
  22. data: [
  23. ['工程建设项目'],
  24. ['施工图设计'],
  25. ['工程建设项目'],
  26. ['施工图设计'],
  27. ['工程建设项目'],
  28. ],
  29. },
  30. companyList: [
  31. { name: '山西焦煤' },
  32. { name: '晋能控股' },
  33. { name: '华新燃气' },
  34. { name: '山西建投' },
  35. { name: '潞安化工' },
  36. { name: '华远陆港' },
  37. { name: '航产集团' },
  38. { name: '大地控股' },
  39. { name: '国新能源' },
  40. { name: '汾酒集团' },
  41. { name: '云时代' },
  42. { name: '神农科技' },
  43. { name: '华阳新材' },
  44. { name: '华舰体育' },
  45. { name: '交控集团' },
  46. { name: '文旅集团' },
  47. { name: '水控集团' },
  48. { name: '太重集团' },
  49. ],
  50. }
  51. },
  52. created() {
  53. this.time = formatDate()
  54. this.timer = setInterval(() => {
  55. this.time = formatDate()
  56. }, 1000)
  57. },
  58. beforeDestroy() {
  59. if (this.timer) {
  60. clearInterval(this.timer);
  61. }
  62. },
  63. mounted() {
  64. // 左侧图表
  65. setTimeout(() => {
  66. this.initChartL1()
  67. this.initChartL2()
  68. this.initChartL3()
  69. this.initChartL4()
  70. this.initChartR1()
  71. this.initChartR2()
  72. this.initChartR3()
  73. this.initChartR4()
  74. }, 0)
  75. },
  76. methods: {
  77. convertData(data) {
  78. var res = []
  79. for (var i = 0; i < data.length; i++) {
  80. var geoCoord = this.geoCoordMap[data[i].name]
  81. if (geoCoord) {
  82. res.push({
  83. name: data[i].name,
  84. value: geoCoord.concat(data[i].value),
  85. })
  86. }
  87. }
  88. return res
  89. },
  90. initChinaChart() {
  91. var data = [
  92. { name: '吕梁市', value: 150 },
  93. { name: '大同市', value: 190 },
  94. { name: '忻州市', value: 140 },
  95. { name: '朔州市', value: 160 },
  96. { name: '晋中市', value: 100 },
  97. { name: '太原市', value: 300 },
  98. { name: '临汾市', value: 190 },
  99. { name: '长治市', value: 100 },
  100. { name: '晋城市', value: 280 },
  101. { name: '运城市', value: 180 },
  102. { name: '阳泉市', value: 110 },
  103. ]
  104. var moveLine = {
  105. normal: [
  106. {
  107. fromName: '太原市',
  108. toName: '吕梁市',
  109. coords: [
  110. [112.3352, 37.9413],
  111. [111.3574, 37.7325],
  112. ],
  113. },
  114. {
  115. fromName: '太原市',
  116. toName: '忻州市',
  117. coords: [
  118. [112.3352, 37.9413],
  119. [112.4561, 38.8971],
  120. ],
  121. },
  122. {
  123. fromName: '太原市',
  124. toName: '临汾市',
  125. coords: [
  126. [112.3352, 37.9413],
  127. [111.4783, 36.1615],
  128. ],
  129. },
  130. {
  131. fromName: '太原市',
  132. toName: '阳泉市',
  133. coords: [
  134. [112.3352, 37.9413],
  135. [113.4778, 38.0951],
  136. ],
  137. },
  138. {
  139. fromName: '太原市',
  140. toName: '晋中市',
  141. coords: [
  142. [112.3352, 37.9413],
  143. [112.7747, 37.37],
  144. ],
  145. },
  146. {
  147. fromName: '太原市',
  148. toName: '运城市',
  149. coords: [
  150. [112.3352, 37.9413],
  151. [111.1487, 35.2002],
  152. ],
  153. },
  154. {
  155. fromName: '太原市',
  156. toName: '大同市',
  157. coords: [
  158. [112.3352, 37.9413],
  159. [113.7854, 39.8035],
  160. ],
  161. },
  162. {
  163. fromName: '太原市',
  164. toName: '晋城市',
  165. coords: [
  166. [112.3352, 37.9413],
  167. [112.7856, 35.6342],
  168. ],
  169. },
  170. {
  171. fromName: '太原市',
  172. toName: '长治市',
  173. coords: [
  174. [112.3352, 37.9413],
  175. [112.8625, 36.4746],
  176. ],
  177. },
  178. {
  179. fromName: '太原市',
  180. toName: '朔州市',
  181. coords: [
  182. [112.3352, 37.9413],
  183. [113.0713, 39.6991],
  184. ],
  185. },
  186. ],
  187. }
  188. /*获取地图数据*/
  189. let myChart = echarts.init(this.$refs['echarts-map'])
  190. echarts.registerMap('shanxi', {
  191. type: 'FeatureCollection',
  192. features: [
  193. {
  194. type: 'Feature',
  195. id: '1409',
  196. properties: { name: '忻州市', cp: [112.4561, 38.8971], childNum: 14 },
  197. geometry: {
  198. type: 'Polygon',
  199. coordinates: [
  200. '@@Vx@lnbn¦WlnnUšmš°š²VšV‚VVVnUn„ºlz@l„„@Jƒ@kXWVXl@Lƒa@„ƒKUL„ŽlbnKlLnK‚LnKÆXn°šbVV@bUVl°Un@LnaVJUbW@UX²l‚@ČwlVVIšWnkÆa°„„anV‚Kn°™UW¯@™aVUVk@Un@„aV@ValwUanmWU„k@WVUUanaVwnLVl°@nk@mVU@UVK@w„LVKVU@ƒ„K@UUKVUV@@bnL„a‚V„aôšlIXmlKX_°KVV@bVV„@šzV`kblI„V„Ul‚šL@bnV@V„Ċll„„VlIXW@k„a‚U²blKšVnIlJ„albXXlWVn°JnšnL@l@XlJlaX@„X˜W²@l_VmnKšU„blU@mnkVK„¯@U@ƒma@kX¥VƒmakkƒLƒa@aƒ@WIUUVXWWnk@a°a@kkm@kUUmJm@WUUUIk`m@V—kaWWkX™KmƒXk¯ƒ@WKƒLkak@±bƒw@ƒaƒa@akaƒ@ma¯@ƒL—KÇÅkKWbkmġ™±ÅUƒLUK™VVkƒm¯LUVVbƒ„UwUW¯bm„ƒULƒxWJ—@ƒklmkUm@@KnwVkVK@akwƒ@@a¯bƒKkn›VUI™b¯mmbk@UbmKUL@xUUƒ@klmLUŽlVXI‚VVVUVUœU`mLXVWbXnW`Ų°xmŽxU@mĉƒƒwU@mbU@UƒmbkVW¦kJ™@ƒX@`¯Im@UlUVVnb@bWJXnmbƒJUU™UUaƒ@UamIkaƒxƒ@@x@b',
  201. ],
  202. encodeOffsets: [[113614, 39657]],
  203. },
  204. },
  205. {
  206. type: 'Feature',
  207. id: '1411',
  208. properties: { name: '吕梁市', cp: [111.3574, 37.7325], childNum: 13 },
  209. geometry: {
  210. type: 'Polygon',
  211. coordinates: [
  212. '@@@a@w„@„wlbnJVb„@VbšVVV„InaWmXI@a‚aUmVUVkn@°J@_„Wš@lIX¥lUnaV„V@naV@„xĊ„n‚V@‚wn¯wƱX_WmXaWUnKV_V›VUUUUWJkUVnKlk¯™@@kmKUaŁ±KkU@WmI@WUIlUUmVwXƒ‚w@ƒUlUVwœV‚@„Lnb‚W@anU@UšaVkô@l»n@na˜JnUÈLVaƃUUVm„VKVƒ²L@mU_lK@UVWkU‚a@a@U¯aUaƒÑóÑUb™„ƒKk@@aƒk¯mVaUwVƒÑkWUmK@UUKmXUWÝwUa™LUU@aWJUUU@Ua݄U@WL@VKVaVI@WnU@alIVKƒƒ@kIƒmIkJ@™m@ƒ™@@_™K@xƒ@kaW@U„@Vmn@ŽUK@mIƒJUXV¤XXWlkKƒkkK@XmJVakImJU@ó™¯LWKUV@nUVƒLkxmKkLma@kXKmmƒLƒab™LmK@V@mXVÆUxƒX@`nL„aV@@VmLUVnLlLš˜„b@„šŽ°²nx@b‚VUxlb@V¯bUV@zV‚XVĊXVx@lVn@VnnmŽUš@LlJXVƒz¯VWVXbšV@bmn™VUVk„Çþń@XVxmbUlV„Uln„W„@„Xl‚@VLXÒ@bÞJ°¦„L˜ò„@nU‚b@°„X@ŽXbmVU„V„nb@x‚x',
  213. ],
  214. encodeOffsets: [[113614, 39657]],
  215. },
  216. },
  217. {
  218. type: 'Feature',
  219. id: '1410',
  220. properties: { name: '临汾市', cp: [111.4783, 36.1615], childNum: 17 },
  221. geometry: {
  222. type: 'Polygon',
  223. coordinates: [
  224. '@@nW‚@@UnLšK‚a„b„KnnWL@lnblKnLlw„KVU@mVUXL°KôšV@nIlJUbnI@WlL„llLXkWWU£VW„InJ‚@VL@nm@UVƒX@lb„@@wšL@`‚@„šn@V@lw„@n„VmVX„WmwnUlƒœa@_lK„wVlUn°xVKVXXWlUšVVI@K@K„n°KœwlVlU@kna@V_„Wn‚m„UVm@kXml_@m„LlKXw°m@_ôJVUV@X™l@UaV@Va°I„lk»VwUkVmwUmmVn@V¯@KƒU—wmK@U¯wUVÝ@mJƒU—nWK™@@UnKVa„_lykUmKÛnm@™x@ƒUUlwVk™ƒXW@ƒa@Uƒ@@K@ƒkIV™nammVakUlƒ@wX@@kƒ™¯@ƒVVbml@„„°UbULmlVbnbÅK±VƒKVXUJWa@ULWaUU@@U@aWK@UkxUKƒLUUUJ±UkL@V±kk@kam@UV@l@LWl@n@VVUx„LlUUx@VUV™U@aƒIUl™L@°mLU‚ƒbkUUaWUUaUU@aWK—LWJ@bUL@VUVVbU@m@a@kmKmnĉlUK™XƒWUblb—xmIkƒƒU@xWb@lkšVx™LXŽmzVV@bklVVUzm˜@bk„@Vx@xlŽU„@lUbVnl@„Wxnl@n@ŽUbV„mL‚mƒb@`X@lUX@@xlnkLWaUJnnWV™Vn@l„@bULVV@l™V@XnJVX',
  225. ],
  226. encodeOffsets: [[113063, 37784]],
  227. },
  228. },
  229. {
  230. type: 'Feature',
  231. id: '1407',
  232. properties: { name: '晋中市', cp: [112.7747, 37.37], childNum: 11 },
  233. geometry: {
  234. type: 'Polygon',
  235. coordinates: [
  236. '@@@šlInJ„lJ„@‚„ULkJ@bmV@XUJUb‚L@UXKV@ރVbV@VVXI@bVVšKVbÞxVXnWVL@VnLV‚lX„ÒUŽVxUb°n„l@bl@„LšƒVaô҄ÒVb°b@VnLnnV@lmn@lb„U„V@„‚JœUVV‚Xkl@lUzmJ@xšXkl‚bUn„JVšUb„nU‚lb„V@nlLX@lakšV`Ub°š@XVJnU‚L²KlxnI@KV@lbUbVV„KnVl@„zlm@Uš@nŽšI@WUaVl@@mVU„@XkW@ƒnkVKVƒ„_Vw„y@knwVa‚@XalU„@šVnml@„X@V„L‚KVaÞbnnlJšI„mVKn„VVVInVlU„@„m@™mXK@UmyUI@mWUUakamw@wUwmLkakwVƒmK™w@wUam£y@am_ƒW@™UU@knmm„amU@WUa@knw@ƒUUUUV@nƒJm@mVUkKVUUUkKmwƒKULƒKUImV@lUn™nŽm@mbUK@°™bUnmbUmkkƒWUb@am@UXkK@a±@™V™@ĉř„V‚UXVxUVkLWl¯@@bULUlm@@nm`—XƒlWakIkm›VUbUL@Vm@kIƒ@@Kšm@—VaX‚I@W@aU@kUƒVU_™KƒbƒJkkǎ™b@nkKmL™wÅW@kVUUƒVU@WUIƒJmIXmma@_kyVaUUlkUm@ƒkU›x¯Lƒm@L@LUJ™UkVWXUWUL¯wVmUkƒxkL@`›bk„mVnxƒXUWUnmƒƒ@kxU@',
  237. ],
  238. encodeOffsets: [[114087, 37682]],
  239. },
  240. },
  241. {
  242. type: 'Feature',
  243. id: '1408',
  244. properties: { name: '运城市', cp: [111.1487, 35.2002], childNum: 13 },
  245. geometry: {
  246. type: 'Polygon',
  247. coordinates: [
  248. '@@„Vl„nJ˜wkaVa„XšWVLĊknmnL‚l@@bn‚V@UaVU@UVK@aXI˜KXL@bVVVbXVVblV„aVnK@¯šKVk„J@bšVVU@UVwkVƒKVwUUm@@Xk@K@kVUn@lbl@²l@UlK²VVIVV„KVLlw@VXL@b@VV@VŽXbVK‚@XbVIUW„L‚U²ÆLmaUankVKVaƒ¯@ƒnkUa„U°@„š‚n@@kWa„UVaXUW@IXKVw@U™ƒ„™WU@W@@UUƒU@mn@ƒ`m@UUULkUmJ™IUƒ@@UƒK@U@›anƒ™ak_@wmKUwmakV™kmK™V™k¯b™wƒ`kwUIÇx¯»ÇaŃmn@@™mƒmUkV@wkKW@kxmL™UkĉLÝk™xÝw¯lóVU„mV@ĀVVX¦W¤kz@`Vx°„²ĸ‚š@„Ul@x„êĸNJ°¤V„VlXLWnXxmV@nUl@„',
  249. ],
  250. encodeOffsets: [[113232, 36597]],
  251. },
  252. },
  253. {
  254. type: 'Feature',
  255. id: '1402',
  256. properties: { name: '大同市', cp: [113.7854, 39.8035], childNum: 8 },
  257. geometry: {
  258. type: 'Polygon',
  259. coordinates: [
  260. '@@²£šyl@Ȑ˜Ė@bĸŽĢbĸ„˜X„a‚KŤnn@ŎôllÈx„nVnÞDŽV@b‚nXllL°KšbVb@J@b—„‚„@ŽU„„xlKXLlKlXk„@Ulk„JlkUƒVKXUƒÇVIVm@_nǚLšašl‚w„VnU@UUwma@aƒaÝaLmUk@@Wƒ@U@@X™wVWÝUUUk@@VmLƒKV»nwUw™aUL@`mzƒJUIVƒUaUw™KUaVIlJôanÑlLVUn@ša„@VV„@@UUwVK°Vn_lJÆLœéW@UUUÅ@»lm@aÞIVwXW˜UUkkm@U@aƒU@mwU£VWU_kWmƒXwW_°yUkkK@UÇK@kkUVymóK—U@KWIƒbUak@mJ@bkbmLkŽ™UmƒkVU„W¦@lnb@„@Vƒ°ULml@nkVƒa™VmLUnk`±@—XƒWW@kbǦXŽ¯„WxI@xmbmxXlWV„„@bŎUz@J‚b@bÞb™ŽU@Wbk@ƒxk@WX¯VۙƒWÝbÝUkVUU@alI@a@akLWa™m@U¯UUmÇL@K@aU@¯VUkƒKmX@`@œkJ@nV‚Ub@lbVÆXVW„ULU`VbkLUV@XWl@bXJ˜@VbV@Vl',
  261. ],
  262. encodeOffsets: [[115335, 41209]],
  263. },
  264. },
  265. {
  266. type: 'Feature',
  267. id: '1404',
  268. properties: { name: '长治市', cp: [112.8625, 36.4746], childNum: 12 },
  269. geometry: {
  270. type: 'Polygon',
  271. coordinates: [
  272. '@@Uk™Lky@I‚JVa@mÞaWšy@_W@_WƒXVlUVwš@nw°K@m„UƒVaƒmVkU@mmmnLVUmKXa™U@IlKVUnK@UmWkX@WV_Vƒ@akU@a„KWIXyƒIUVmUn™Ua@WaXUVKVmkUWVkUƒLU@@VƒbƒKbƒIUmƒ@mbVL—x›WUUkn±V¯wƒbÅJUbmLkbmKÅKƒbVnUbƒV™KUb™KUbmLKmƒb™aƒKkUm@UŽnn‚VnxUVlUxl¼ƒk¯JUbU@Vbk@WšU@UVóI@`¯nWxkLƒK@nk`Wn@lUnƒVnm‚ƒXU`@mb@lkV@„VnklVVUblz@`nbWnnJ„IVJ@XUVV„UV@lÆXšxnKlL@mšaȍll„I„ašLV`„UlVV@@b@XJWUb@˜™n@L„@lJn@@UVKVaœUlnlJXb„k˜Wn_@mn@VkVK@a°@XklKVUUwVWUšƒĊƚ@šU²@@blLVWn@@bVa„XllVnnaVmša@¯VLnan@‚šmVm@knUVJ',
  273. ],
  274. encodeOffsets: [[116269, 37637]],
  275. },
  276. },
  277. {
  278. type: 'Feature',
  279. id: '1406',
  280. properties: { name: '朔州市', cp: [113.0713, 39.6991], childNum: 5 },
  281. geometry: {
  282. type: 'Polygon',
  283. coordinates: [
  284. '@@XXWVXVWnnlnn@èƼ@„„xlš„ŽV„nblšššVŽÈUVl‚š@„blnœL܃ĊmUkU@Ua‚—@WI@aXk@WVUlKUaV_VKXƒWUUÅka@VaU@mlI@›@_nW„LVl°UV@@b@LÈKVn°V@VšnXblK@b@bkJ@bVVlUÞVÞa„Xܚ°UXWl@„wl@XaV@šÝa@aa@IVyƍ@aƒƒXUWknwna@w‚JXw°ƒWÈ¥kI@W@kmKm™¯IUmkXWWkaƒbkImJ™UkL±aVƒb@lWXkJƒUkƒĉkƒ@UmU@a™KkƒVƒUkJlaU_™yƒ@UU@aUU¯LW`kLWnkJó™ƒbUƒbmK@aU@UVVL@VƒL@„UVULƒK@xUL@VUV@nml¯@UkmKUxmbVbUV@XƒlXVmnVbkxUbU@ƒbm@@VUlUVšb°@VX¯šm‚',
  285. ],
  286. encodeOffsets: [[114615, 40562]],
  287. },
  288. },
  289. {
  290. type: 'Feature',
  291. id: '1405',
  292. properties: { name: '晋城市', cp: [112.7856, 35.6342], childNum: 6 },
  293. geometry: {
  294. type: 'Polygon',
  295. coordinates: [
  296. '@@lV„Lšb„an‚LnKVašLVašL„UVaUm„aÆLnLlanKVaÆI„a°x²UlmVVœX˜wUKna„@Vn„J‚a„L„a@UV@@alUkKVKnkmmVwUk„w@ƒ™@kxWUXƒW@@mƒk@aUa@a¯aƒLkKmwkUm@kL@K@aWIXmƒVƒXƒWkUVakL@UVKƒw@aUK@UUKmLU@¯n™KUwVƒUIWJUWmka™@UXƒJƒk@UkmW@kLWKVƒx@bmI@VUaVU@a¯@UUmVKmX@±`kÝKVxUL±akL@V™bƒLkKmVƒ@XWVUbƒVXb@lm@@lW@@xk„lVUbnnmbUšlJ@„@L„@@V„b@‚WXš„UlkxVV@„šwn@ÜmnLlVkzƒ`UbmL@Vš@XL˜m„VnIÞ@VU°x@VnL˜x„V@LU°',
  297. ],
  298. encodeOffsets: [[115223, 36895]],
  299. },
  300. },
  301. {
  302. type: 'Feature',
  303. id: '1401',
  304. properties: { name: '太原市', cp: [112.3352, 37.9413], childNum: 5 },
  305. geometry: {
  306. type: 'Polygon',
  307. coordinates: [
  308. '@@„@VV@wVKnLVal@na°nšaVJœUlm„L°a@b„@lx@bULUlmx@Ln@lVkn„l˜@XI„w‚K„Vnƒ°aVXVx„ƒUaVU°K„nUlšUVL„KÆVš²Ģ‚lnXalLÈƘL„KUaVkUanmWU™a@WwkUWU¯y¯Ñ@anIl@@aVU„m„I„ymUƒLUUVakaU@@LmJkw±LKmVUI@W¯™VaU_l™kbW@kK@mƒUkaVƒmVaU™ƒIVmalk™W@wnIVy@klkWUU›VI@ƒƒUƒVkam@knU@mmmK@bblVUX@VkLV`@n±KU„ULƒ‚UnVVńUbÇKmV—Imbm@k¼ó@Ul™b@VmV@bXmaƒK@›UUxkV‚V@„xW„UxVnkVVJ@XnJ@XlV²LƂVbnL@lš@°',
  309. ],
  310. encodeOffsets: [[114503, 39134]],
  311. },
  312. },
  313. {
  314. type: 'Feature',
  315. id: '1403',
  316. properties: { name: '阳泉市', cp: [113.4778, 38.0951], childNum: 3 },
  317. geometry: {
  318. type: 'Polygon',
  319. coordinates: [
  320. '@@°@nb„@lb@b„b„b‚@„x²al@lb„KXU@m‚kUWkkmUUƒVwV@XUW@™naVklKXblKnL‚ƒnLVanImaXKlL„ašV@U@KUKW„alƒXK@£WKXUV@VU„ƒUUVW„_V™@W@@K„@šƒUƒƒIWmXUmƒULƒn™JkImmÝaUbLƒK@UƒWk@mn™Uƒ@kVWb@Ubmx@lƒzUxƒ`U„ULml@„XWlƒ@UV@nk@U‚Vb@X™Jm™@@Vknƒyk@ƒzƒJƒnUV@bk@mJ@b°Ò°zXVlVXx‚@šbXVmnVbUlVb',
  321. ],
  322. encodeOffsets: [[115864, 39336]],
  323. },
  324. },
  325. ],
  326. UTF8Encoding: true,
  327. })
  328. var mapFeatures = echarts.getMap(this.mapName).geoJson.features
  329. mapFeatures.forEach(v => {
  330. // 地区名称
  331. var name = v.properties.name
  332. // 地区经纬度
  333. this.geoCoordMap[name] = v.properties.cp
  334. })
  335. myChart.setOption({
  336. tooltip: {
  337. padding: 15,
  338. enterable: true,
  339. transitionDuration: 1,
  340. formatter: (params, ticket, callback) => {
  341. let tipHtml = `
  342. <div class="tooltip-cont">
  343. <p>新开工:<span>工程建设项目</span></p>
  344. <p>总投资额:<span>${params.data.value}亿</span></p>
  345. <p>当前阶段:<span>可论证阶段</span></p>
  346. <p>时间节点:<span>2021.10-2022.10</span></p>
  347. </div>`
  348. return tipHtml
  349. },
  350. },
  351. visualMap: {
  352. min: 0,
  353. max: 300,
  354. right: 0,
  355. bottom: 0,
  356. text: ['高', '低'],
  357. textStyle: {
  358. color: '#f1f1f1'
  359. },
  360. realtime: false,
  361. calculable: true,
  362. inRange: {
  363. color: ['lightskyblue', '#2754b7']
  364. }
  365. },
  366. geo: {
  367. show: true,
  368. map: 'shanxi',
  369. layoutCenter: ['50%', '50%'], //地图位置
  370. layoutSize: '100%',
  371. label: {
  372. normal: {
  373. show: false,
  374. },
  375. emphasis: {
  376. show: false,
  377. },
  378. },
  379. roam: false,
  380. itemStyle: {
  381. normal: {
  382. areaColor: '#1946a8',
  383. shadowColor: '#1946a8',
  384. borderWidth: 1, //设置外层边框
  385. borderColor: '#1946a8',
  386. shadowOffsetX: 10,
  387. shadowOffsetY: 5,
  388. shadowBlur: 2,
  389. },
  390. emphasis: {
  391. areaColor: '#1946a8',
  392. borderColor: '#d4bc1d',
  393. borderWidth: 2, //设置外层边框
  394. },
  395. },
  396. },
  397. series: [
  398. {
  399. name: '散点',
  400. type: 'scatter',
  401. coordinateSystem: 'geo',
  402. data: this.convertData(data),
  403. symbolSize: function (val) {
  404. return 10
  405. },
  406. label: {
  407. normal: {
  408. formatter: '{b}',
  409. position: [10, 10],
  410. fontSize: 15,
  411. fontWeight: 600,
  412. fontStyle: 'italic',
  413. color: '#fff',
  414. show: true,
  415. },
  416. emphasis: {
  417. show: true,
  418. },
  419. },
  420. itemStyle: {
  421. normal: {
  422. color: '#000',
  423. borderWidth: 2,
  424. borderColor: '#fff',
  425. },
  426. },
  427. },
  428. {
  429. type: 'map',
  430. map: this.mapName,
  431. geoIndex: 0,
  432. aspectScale: 0.75, //长宽比
  433. showLegendSymbol: true, // 存在legend时显示
  434. label: {
  435. normal: {
  436. show: true,
  437. },
  438. emphasis: {
  439. show: false,
  440. textStyle: {
  441. color: '#fff',
  442. },
  443. },
  444. },
  445. roam: true,
  446. itemStyle: {
  447. normal: {
  448. areaColor: '#031525',
  449. borderColor: '#3B5077',
  450. },
  451. emphasis: {
  452. areaColor: '#2B91B7',
  453. },
  454. },
  455. animation: false,
  456. data: data,
  457. },
  458. {
  459. name: '点',
  460. type: 'scatter',
  461. coordinateSystem: 'geo',
  462. zlevel: 6,
  463. },
  464. {
  465. name: 'Top 5',
  466. type: 'effectScatter',
  467. coordinateSystem: 'geo',
  468. data: this.convertData(
  469. data
  470. .sort(function (a, b) {
  471. return b.value - a.value
  472. })
  473. .slice(0, 5)
  474. ),
  475. symbolSize: function (val) {
  476. return 15
  477. },
  478. showEffectOn: 'render',
  479. rippleEffect: {
  480. brushType: 'stroke',
  481. },
  482. hoverAnimation: true,
  483. label: {
  484. normal: {
  485. formatter: '{b}',
  486. position: 'left',
  487. show: false,
  488. },
  489. },
  490. itemStyle: {
  491. normal: {
  492. color: 'yellow',
  493. shadowBlur: 10,
  494. shadowColor: 'yellow',
  495. },
  496. },
  497. zlevel: 1000,
  498. },
  499. {
  500. name: '线路',
  501. type: 'lines',
  502. zlevel: 2,
  503. effect: {
  504. show: true,
  505. period: 4, //箭头指向速度,值越小速度越快
  506. trailLength: 0.02, //特效尾迹长度[0,1]值越大,尾迹越长重
  507. symbol: 'arrow', //箭头图标
  508. symbolSize: 5, //图标大小
  509. },
  510. lineStyle: {
  511. normal: {
  512. color: '#00FFFF',
  513. width: 1,
  514. type: 'dashed',
  515. opacity: 0.5, //尾迹线条透明度
  516. curveness: -0.3, //尾迹线条曲直度
  517. },
  518. },
  519. data: moveLine.normal,
  520. },
  521. ],
  522. })
  523. },
  524. initChartL1() {
  525. let myChart = echarts.init(this.$refs['echartL1'])
  526. let option = {
  527. title: {
  528. text: '储备项目产业分布',
  529. x: 'center',
  530. y: '87%',
  531. textStyle: {
  532. color: 'rgba(255,255,255,0.6)',
  533. fontSize: 12,
  534. },
  535. },
  536. tooltip: {
  537. trigger: 'item',
  538. },
  539. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  540. legend: {
  541. icon: 'circle',
  542. top: 'bottom',
  543. orient: 'vertical',
  544. right: '1%',
  545. textStyle: {
  546. color: '#9DB9EB',
  547. },
  548. },
  549. series: [
  550. {
  551. name: '',
  552. type: 'pie',
  553. radius: ['70%', '50%'],
  554. itemStyle: {
  555. normal: {
  556. label: {
  557. show: false,
  558. },
  559. },
  560. },
  561. labelLine: {
  562. show: false
  563. },
  564. data: [
  565. { value: 1048, name: '煤炭' },
  566. { value: 735, name: '火电' },
  567. { value: 580, name: '焦化' },
  568. { value: 484, name: '风电' },
  569. ],
  570. },
  571. ],
  572. }
  573. myChart.setOption(option)
  574. tools.loopShowTooltip(myChart, option, {
  575. nterval: 2000,
  576. loopSeries: true,
  577. })
  578. },
  579. initChartL2() {
  580. let myChart = echarts.init(this.$refs['echartL2'])
  581. var value = 0.45;
  582. var data = [value];
  583. let option = {
  584. backgroundColor: 'transparent',
  585. title: [
  586. {
  587. text: '450.12亿',
  588. x: '38%',
  589. y: '80%',
  590. textStyle: {
  591. fontSize: 24,
  592. fontWeight: 'bold',
  593. color: '#2CB7E0',
  594. lineHeight: 16,
  595. textAlign: 'center',
  596. },
  597. }
  598. ],
  599. series: [
  600. {
  601. type: 'liquidFill',
  602. radius: '70%',
  603. center: ['50%', '40%'],
  604. color: [
  605. {
  606. type: 'linear',
  607. x: 0,
  608. y: 0,
  609. x2: 0,
  610. y2: 1,
  611. colorStops: [
  612. {
  613. offset: 0,
  614. color: '#446bf5',
  615. },
  616. {
  617. offset: 1,
  618. color: '#2ca3e2',
  619. },
  620. ],
  621. globalCoord: false,
  622. },
  623. ],
  624. data: [value, value], // data个数代表波浪数
  625. backgroundStyle: {
  626. borderWidth: 1,
  627. color: 'RGBA(51, 66, 127, 0.7)',
  628. },
  629. label: {
  630. normal: {
  631. textStyle: {
  632. fontSize: 30,
  633. color: '#fff',
  634. },
  635. },
  636. },
  637. outline: {
  638. // show: false
  639. borderDistance: 0,
  640. itemStyle: {
  641. borderWidth: 2,
  642. borderColor: 'transparent',
  643. },
  644. },
  645. },
  646. ],
  647. }
  648. myChart.setOption(option)
  649. },
  650. initChartL3() {
  651. let myChart = echarts.init(this.$refs['echartL3'])
  652. let option = {
  653. tooltip: {
  654. trigger: 'axis',
  655. axisPointer: {
  656. type: 'shadow',
  657. },
  658. },
  659. grid: {
  660. top: '22%',
  661. right: '5%',
  662. left: '10%',
  663. bottom: '25%',
  664. },
  665. xAxis: {
  666. data: ['总投资收益率', '销售利润率'],
  667. axisLine: {
  668. show: true, //隐藏X轴轴线
  669. lineStyle: {
  670. color: '#005094',
  671. width: 1,
  672. },
  673. },
  674. axisTick: {
  675. show: true, //隐藏X轴刻度
  676. },
  677. axisLabel: {
  678. show: true,
  679. rotate: 15,
  680. textStyle: {
  681. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  682. fontSize: 12,
  683. },
  684. },
  685. },
  686. yAxis: [
  687. {
  688. type: 'value',
  689. splitLine: {
  690. show: true,
  691. lineStyle: {
  692. color: '#68b4dd66',
  693. type: 'dashed',
  694. },
  695. },
  696. axisLine: {
  697. show: false
  698. },
  699. axisLabel: {
  700. show: true,
  701. formatter: '{value}',
  702. textStyle: {
  703. color: 'rgba(250,250,250,0.6)',
  704. },
  705. },
  706. nameTextStyle: {
  707. color: '#ebf8ac',
  708. fontSize: 16,
  709. },
  710. },
  711. ],
  712. series: [
  713. {
  714. name: '',
  715. type: 'bar',
  716. barWidth: 15,
  717. itemStyle: {
  718. normal: {
  719. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  720. {
  721. offset: 0,
  722. color: '#69c0ff',
  723. },
  724. {
  725. offset: 1,
  726. color: '#082550',
  727. },
  728. ]),
  729. },
  730. },
  731. data: [10, 20],
  732. markLine: {
  733. symbol: ['none', 'none'],
  734. data: [
  735. {
  736. name: '生存线',
  737. yAxis: 10,
  738. lineStyle: {
  739. color: '#FF8F0A',
  740. },
  741. label: {
  742. formatter: '{b}',
  743. position: 'middle',
  744. color: '#FF8F0A',
  745. fontSize: 12,
  746. },
  747. },
  748. {
  749. name: '发展线',
  750. yAxis: 15,
  751. lineStyle: {
  752. color: '#00EEA2',
  753. },
  754. label: {
  755. formatter: '{b}',
  756. position: 'middle',
  757. color: '#00EEA2',
  758. fontSize: 12,
  759. },
  760. },
  761. ],
  762. label: {
  763. distance: [50, 0],
  764. },
  765. },
  766. },
  767. ],
  768. }
  769. myChart.setOption(option)
  770. tools.loopShowTooltip(myChart, option, {
  771. nterval: 2000,
  772. loopSeries: true,
  773. })
  774. },
  775. initChartL4() {
  776. let myChart = echarts.init(this.$refs['echartL4'])
  777. let option = {
  778. title: {
  779. text: '储备项目产业分布',
  780. x: 'center',
  781. y: '87%',
  782. textStyle: {
  783. color: 'rgba(255,255,255,0.6)',
  784. fontSize: 12,
  785. },
  786. },
  787. tooltip: {
  788. trigger: 'item',
  789. },
  790. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  791. legend: {
  792. icon: 'circle',
  793. top: 'bottom',
  794. orient: 'vertical',
  795. right: '1%',
  796. textStyle: {
  797. color: '#9DB9EB',
  798. },
  799. },
  800. series: [
  801. {
  802. name: '',
  803. type: 'pie',
  804. radius: ['70%', '50%'],
  805. itemStyle: {
  806. normal: {
  807. label: {
  808. show: false,
  809. },
  810. },
  811. },
  812. labelLine: {
  813. show: false,
  814. },
  815. data: [
  816. { value: 1048, name: '煤炭' },
  817. { value: 735, name: '火电' },
  818. { value: 580, name: '焦化' },
  819. { value: 484, name: '风电' },
  820. ],
  821. },
  822. ],
  823. }
  824. myChart.setOption(option)
  825. tools.loopShowTooltip(myChart, option, {
  826. nterval: 2000,
  827. loopSeries: true,
  828. })
  829. },
  830. initChartR1() {
  831. let myChart = echarts.init(this.$refs['echartR1'])
  832. let option = {
  833. title: {
  834. text: '储备项目产业分布',
  835. x: '15%',
  836. y: '87%',
  837. textStyle: {
  838. color: 'rgba(255,255,255,0.6)',
  839. fontSize: 12,
  840. },
  841. },
  842. tooltip: {
  843. trigger: 'item',
  844. },
  845. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  846. legend: {
  847. icon: 'circle',
  848. top: 'bottom',
  849. orient: 'vertical',
  850. right: '1%',
  851. textStyle: {
  852. color: '#9DB9EB',
  853. },
  854. },
  855. series: [
  856. {
  857. name: '',
  858. type: 'pie',
  859. radius: ['60%', '40%'],
  860. center: ['40%', '45%'],
  861. itemStyle: {
  862. normal: {
  863. label: {
  864. show: false,
  865. },
  866. },
  867. },
  868. labelLine: {
  869. show: false,
  870. },
  871. data: [
  872. { value: 1048, name: '煤炭' },
  873. { value: 735, name: '火电' },
  874. { value: 580, name: '焦化' },
  875. { value: 484, name: '风电' },
  876. ],
  877. },
  878. ],
  879. }
  880. myChart.setOption(option)
  881. tools.loopShowTooltip(myChart, option, {
  882. nterval: 2000,
  883. loopSeries: true,
  884. })
  885. },
  886. initChartR2() {
  887. let myChart = echarts.init(this.$refs['echartR2'])
  888. let option = {
  889. title: {
  890. text: '储备项目产业分布',
  891. x: '15%',
  892. y: '87%',
  893. textStyle: {
  894. color: 'rgba(255,255,255,0.6)',
  895. fontSize: 12,
  896. },
  897. },
  898. tooltip: {
  899. trigger: 'item',
  900. },
  901. color: ['#6682f5', '#8ba2ff', '#69c0ff', '#43ede3'],
  902. legend: {
  903. icon: 'circle',
  904. top: 'bottom',
  905. orient: 'vertical',
  906. right: '1%',
  907. textStyle: {
  908. color: '#9DB9EB',
  909. },
  910. },
  911. series: [
  912. {
  913. name: '',
  914. type: 'pie',
  915. radius: ['60%', '40%'],
  916. center: ['40%', '45%'],
  917. itemStyle: {
  918. normal: {
  919. label: {
  920. show: false,
  921. },
  922. },
  923. },
  924. labelLine: {
  925. show: false,
  926. },
  927. data: [
  928. { value: 1048, name: '煤炭' },
  929. { value: 735, name: '火电' },
  930. { value: 580, name: '焦化' },
  931. { value: 484, name: '风电' },
  932. ],
  933. },
  934. ],
  935. }
  936. myChart.setOption(option)
  937. tools.loopShowTooltip(myChart, option, {
  938. nterval: 2000,
  939. loopSeries: true,
  940. })
  941. },
  942. initChartR3() {
  943. let myChart = echarts.init(this.$refs['echartR3'])
  944. let option = {
  945. title: {
  946. text: '固定资产项目',
  947. textStyle: {
  948. color: '#69C0FF',
  949. },
  950. top: '10',
  951. left: '10'
  952. },
  953. textStyle: {
  954. color: '#fff',
  955. },
  956. tooltip: {
  957. trigger: "axis",
  958. axisPointer: {
  959. lineStyle: {
  960. type: 'dashed',
  961. width: 2,
  962. color: '#4B941A'
  963. },
  964. animation: true
  965. }
  966. },
  967. grid: {
  968. show: false
  969. },
  970. yAxis: {
  971. data: ['批量备案', '特别监管'],
  972. splitLine: {
  973. show: true,
  974. lineStyle: {
  975. color: '#68b4dd66',
  976. type: 'dashed',
  977. },
  978. },
  979. axisLine: {
  980. show: false
  981. },
  982. axisLabel: {
  983. show: true,
  984. formatter: '{value}',
  985. textStyle: {
  986. color: 'rgba(250,250,250,0.6)',
  987. },
  988. },
  989. nameTextStyle: {
  990. color: '#ebf8ac',
  991. fontSize: 16,
  992. },
  993. },
  994. xAxis: {
  995. data: ['项目储备', '项目立项', '项目可研', '可研论证', '投资决策'],
  996. axisLine: {
  997. show: true, //隐藏X轴轴线
  998. lineStyle: {
  999. color: '#005094',
  1000. width: 1,
  1001. },
  1002. },
  1003. axisTick: {
  1004. show: false, //隐藏X轴刻度
  1005. },
  1006. axisLabel: {
  1007. show: true,
  1008. textStyle: {
  1009. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  1010. fontSize: 12,
  1011. },
  1012. },
  1013. },
  1014. series: [
  1015. {
  1016. name: '',
  1017. type: 'scatter',
  1018. symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  1019. symbolSize: function (data) {
  1020. return Math.sqrt(data[2]) * 0.5;
  1021. },
  1022. label: {
  1023. emphasis: {
  1024. show: true,
  1025. formatter: function (param) {
  1026. return param.data[2];
  1027. },
  1028. position: 'top'
  1029. }
  1030. },
  1031. itemStyle: {
  1032. normal: {
  1033. color: 'red'
  1034. }
  1035. },
  1036. data: [
  1037. ['项目储备', '批量备案', 200],
  1038. ['项目立项', '批量备案', 1500],
  1039. ['项目可研', '批量备案', 2000],
  1040. ['可研论证', '批量备案', 2500],
  1041. ['投资决策', '批量备案', 3000],
  1042. ['福建', '批量备案', 3500],
  1043. ]
  1044. },
  1045. {
  1046. name: '',
  1047. type: 'scatter',
  1048. symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  1049. symbolSize: function (data) {
  1050. return Math.sqrt(data[2]) * 0.5;
  1051. },
  1052. label: {
  1053. emphasis: {
  1054. show: true,
  1055. formatter: function (param) {
  1056. return param.data[2];
  1057. },
  1058. position: 'top'
  1059. }
  1060. },
  1061. itemStyle: {
  1062. normal: {
  1063. color: '#C94C15'
  1064. }
  1065. },
  1066. data: [
  1067. ['项目储备', '特别监管', 1400],
  1068. ['项目立项', '特别监管', 1500],
  1069. ['项目可研', '特别监管', 5500],
  1070. ['可研论证', '特别监管', 500],
  1071. ]
  1072. }
  1073. ]
  1074. }
  1075. myChart.setOption(option)
  1076. tools.loopShowTooltip(myChart, option, {
  1077. nterval: 2000,
  1078. loopSeries: true,
  1079. })
  1080. },
  1081. initChartR4() {
  1082. let myChart = echarts.init(this.$refs['echartR4'])
  1083. let option = {
  1084. title: {
  1085. text: '股权投资项目',
  1086. textStyle: {
  1087. color: '#69C0FF',
  1088. },
  1089. top: '10',
  1090. left: '10'
  1091. },
  1092. textStyle: {
  1093. color: '#fff',
  1094. },
  1095. tooltip: {
  1096. trigger: "axis",
  1097. axisPointer: {
  1098. lineStyle: {
  1099. type: 'dashed',
  1100. width: 2,
  1101. color: '#4B941A'
  1102. },
  1103. animation: true
  1104. }
  1105. },
  1106. grid: {
  1107. show: false
  1108. },
  1109. yAxis: {
  1110. data: ['批量备案', '特别监管'],
  1111. splitLine: {
  1112. show: true,
  1113. lineStyle: {
  1114. color: '#68b4dd66',
  1115. type: 'dashed',
  1116. },
  1117. },
  1118. axisLine: {
  1119. show: false
  1120. },
  1121. axisLabel: {
  1122. show: true,
  1123. formatter: '{value}',
  1124. textStyle: {
  1125. color: 'rgba(250,250,250,0.6)',
  1126. },
  1127. },
  1128. nameTextStyle: {
  1129. color: '#ebf8ac',
  1130. fontSize: 16,
  1131. },
  1132. },
  1133. xAxis: {
  1134. data: ['项目储备', '项目立项', '项目可研', '可研论证', '投资决策'],
  1135. axisLine: {
  1136. show: true, //隐藏X轴轴线
  1137. lineStyle: {
  1138. color: '#005094',
  1139. width: 1,
  1140. },
  1141. },
  1142. axisTick: {
  1143. show: false, //隐藏X轴刻度
  1144. },
  1145. axisLabel: {
  1146. show: true,
  1147. textStyle: {
  1148. color: 'rgba(255,255,255,0.6)', //X轴文字颜色
  1149. fontSize: 12,
  1150. },
  1151. },
  1152. },
  1153. series: [
  1154. {
  1155. name: '',
  1156. type: 'scatter',
  1157. symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  1158. symbolSize: function (data) {
  1159. return Math.sqrt(data[2]) * 0.5;
  1160. },
  1161. label: {
  1162. emphasis: {
  1163. show: true,
  1164. formatter: function (param) {
  1165. return param.data[2];
  1166. },
  1167. position: 'top'
  1168. }
  1169. },
  1170. itemStyle: {
  1171. normal: {
  1172. color: 'red'
  1173. }
  1174. },
  1175. data: [
  1176. ['项目储备', '批量备案', 200],
  1177. ['项目立项', '批量备案', 1500],
  1178. ['项目可研', '批量备案', 2000],
  1179. ['可研论证', '批量备案', 2500],
  1180. ['投资决策', '批量备案', 3000],
  1181. ['福建', '批量备案', 3500],
  1182. ]
  1183. },
  1184. {
  1185. name: '',
  1186. type: 'scatter',
  1187. symbol: 'circle',//'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  1188. symbolSize: function (data) {
  1189. return Math.sqrt(data[2]) * 0.5;
  1190. },
  1191. label: {
  1192. emphasis: {
  1193. show: true,
  1194. formatter: function (param) {
  1195. return param.data[2];
  1196. },
  1197. position: 'top'
  1198. }
  1199. },
  1200. itemStyle: {
  1201. normal: {
  1202. color: '#C94C15'
  1203. }
  1204. },
  1205. data: [
  1206. ['项目储备', '特别监管', 1400],
  1207. ['项目立项', '特别监管', 1500],
  1208. ['项目可研', '特别监管', 5500],
  1209. ['可研论证', '特别监管', 500],
  1210. ]
  1211. }
  1212. ]
  1213. }
  1214. myChart.setOption(option)
  1215. tools.loopShowTooltip(myChart, option, {
  1216. nterval: 2000,
  1217. loopSeries: true,
  1218. })
  1219. }
  1220. },
  1221. })