Bez popisu

sourceChannel.js 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. //part 1 //投诉类别月统计 对接完毕
  2. part_2();
  3. //
  4. function part_1() {
  5. var part_1 = echarts.init(document.getElementById('part_1'));
  6. part_1.setOption({
  7. title: {
  8. text: ''
  9. },
  10. tooltip: {
  11. trigger: 'axis'
  12. },
  13. legend: {
  14. x: 'center',
  15. data: ['']
  16. },
  17. textStyle: {
  18. fontSize: 36
  19. },
  20. radar: [{
  21. indicator: [{
  22. text: '咨询',
  23. max: 9999
  24. },
  25. {
  26. text: '投诉',
  27. max: 9999
  28. },
  29. {
  30. text: '求助',
  31. max: 9999
  32. },
  33. {
  34. text: '表扬',
  35. max: 9999
  36. },
  37. {
  38. text: '建议',
  39. max: 9999
  40. },
  41. {
  42. text: '其它',
  43. max: 9999
  44. }
  45. ],
  46. splitArea: {
  47. areaStyle: {
  48. color: ['rgba(114, 172, 209, 0.1)',
  49. 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
  50. 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
  51. 'rgba(114, 172, 209, 0.6)'
  52. ],
  53. shadowColor: 'rgba(0, 0, 0, 0.3)',
  54. shadowBlur: 10
  55. }
  56. },
  57. center: ['50%', '50%'],
  58. radius: 300
  59. }],
  60. series: [{
  61. type: 'radar',
  62. tooltip: {
  63. trigger: 'item'
  64. },
  65. itemStyle: {
  66. normal: {
  67. areaStyle: {
  68. type: 'default'
  69. }
  70. }
  71. },
  72. data: [{
  73. value: [2032, 604, 16, 83, 87, 25],
  74. name: '业务类型',
  75. areaStyle: {
  76. normal: {
  77. color: 'rgba(255, 255, 255, 0.0)'
  78. }
  79. }
  80. }]
  81. }]
  82. });
  83. }
  84. function part_2() {
  85. var part_2 = echarts.init(document.getElementById('part_2'));
  86. part_2.setOption({
  87. title: {
  88. text: ''
  89. },
  90. tooltip: {
  91. trigger: 'axis'
  92. },
  93. legend: {
  94. x: 'center',
  95. data: ['']
  96. },
  97. textStyle: {
  98. fontSize: 36
  99. },
  100. radar: [{
  101. indicator: [{
  102. text: '咨询',
  103. max: 99999
  104. },
  105. {
  106. text: '投诉',
  107. max: 99999
  108. },
  109. {
  110. text: '求助',
  111. max: 99999
  112. },
  113. {
  114. text: '表扬',
  115. max: 99999
  116. },
  117. {
  118. text: '建议',
  119. max: 99999
  120. },
  121. {
  122. text: '其它',
  123. max: 99999
  124. }
  125. ],
  126. splitArea: {
  127. areaStyle: {
  128. color: ['rgba(114, 172, 209, 0.1)',
  129. 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
  130. 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
  131. 'rgba(114, 172, 209, 0.6)'
  132. ],
  133. shadowColor: 'rgba(0, 0, 0, 0.3)',
  134. shadowBlur: 10
  135. }
  136. },
  137. center: ['50%', '50%'],
  138. radius: 300
  139. }],
  140. series: [{
  141. type: 'radar',
  142. tooltip: {
  143. trigger: 'item'
  144. },
  145. itemStyle: {
  146. normal: {
  147. areaStyle: {
  148. type: 'default'
  149. }
  150. }
  151. },
  152. data: [{
  153. value: [65926, 8611, 428, 1532, 1776, 736],
  154. name: '业务类型',
  155. areaStyle: {
  156. normal: {
  157. color: 'rgba(255, 255, 255, 0.0)'
  158. }
  159. }
  160. }]
  161. }]
  162. });
  163. }
  164. function part_3() {
  165. var part_3 = echarts.init(document.getElementById('part_3'));
  166. part_3.setOption({
  167. title: {
  168. text: ''
  169. },
  170. tooltip: {
  171. trigger: 'axis'
  172. },
  173. legend: {
  174. x: 'center',
  175. data: ['']
  176. },
  177. textStyle: {
  178. fontSize: 36
  179. },
  180. radar: [{
  181. indicator: [{
  182. text: '咨询',
  183. max: 999999
  184. },
  185. {
  186. text: '投诉',
  187. max: 999999
  188. },
  189. {
  190. text: '求助',
  191. max: 999999
  192. },
  193. {
  194. text: '表扬',
  195. max: 999999
  196. },
  197. {
  198. text: '建议',
  199. max: 999999
  200. },
  201. {
  202. text: '其它',
  203. max: 999999
  204. }
  205. ],
  206. splitArea: {
  207. areaStyle: {
  208. color: ['rgba(114, 172, 209, 0.1)',
  209. 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
  210. 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
  211. 'rgba(114, 172, 209, 0.6)'
  212. ],
  213. shadowColor: 'rgba(0, 0, 0, 0.3)',
  214. shadowBlur: 10
  215. }
  216. },
  217. center: ['50%', '50%'],
  218. radius: 300
  219. }],
  220. series: [{
  221. type: 'radar',
  222. tooltip: {
  223. trigger: 'item'
  224. },
  225. itemStyle: {
  226. normal: {
  227. areaStyle: {
  228. type: 'default'
  229. }
  230. }
  231. },
  232. data: [{
  233. value: [725186, 94721, 931, 16852, 27236, 5632],
  234. name: '业务类型',
  235. areaStyle: {
  236. normal: {
  237. color: 'rgba(255, 255, 255, 0.0)'
  238. }
  239. }
  240. }]
  241. }]
  242. });
  243. }