radar.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. {
  2. "title": {
  3. "text": "多雷达图"
  4. },
  5. "tooltip": {
  6. "trigger": "axis"
  7. },
  8. "legend": {
  9. "x": "center",
  10. "data": [
  11. "某软件",
  12. "某主食手机",
  13. "某水果手机",
  14. "降水量",
  15. "蒸发量"
  16. ]
  17. },
  18. "radar": [
  19. {
  20. "indicator": [
  21. {
  22. "text": "品牌",
  23. "max": 100
  24. },
  25. {
  26. "text": "内容",
  27. "max": 100
  28. },
  29. {
  30. "text": "可用性",
  31. "max": 100
  32. },
  33. {
  34. "text": "功能",
  35. "max": 100
  36. }
  37. ],
  38. "center": [
  39. "25%",
  40. "40%"
  41. ],
  42. "radius": 80
  43. },
  44. {
  45. "indicator": [
  46. {
  47. "text": "外观",
  48. "max": 100
  49. },
  50. {
  51. "text": "拍照",
  52. "max": 100
  53. },
  54. {
  55. "text": "系统",
  56. "max": 100
  57. },
  58. {
  59. "text": "性能",
  60. "max": 100
  61. },
  62. {
  63. "text": "屏幕",
  64. "max": 100
  65. }
  66. ],
  67. "radius": 80,
  68. "center": [
  69. "50%",
  70. "60%"
  71. ]
  72. },
  73. {
  74. "indicator": [
  75. {
  76. "text": "1月",
  77. "max": 100
  78. },
  79. {
  80. "text": "2月",
  81. "max": 100
  82. },
  83. {
  84. "text": "3月",
  85. "max": 100
  86. },
  87. {
  88. "text": "4月",
  89. "max": 100
  90. },
  91. {
  92. "text": "5月",
  93. "max": 100
  94. },
  95. {
  96. "text": "6月",
  97. "max": 100
  98. },
  99. {
  100. "text": "7月",
  101. "max": 100
  102. },
  103. {
  104. "text": "8月",
  105. "max": 100
  106. },
  107. {
  108. "text": "9月",
  109. "max": 100
  110. },
  111. {
  112. "text": "10月",
  113. "max": 100
  114. },
  115. {
  116. "text": "11月",
  117. "max": 100
  118. },
  119. {
  120. "text": "12月",
  121. "max": 100
  122. }
  123. ],
  124. "center": [
  125. "75%",
  126. "40%"
  127. ],
  128. "radius": 80
  129. }
  130. ],
  131. "series": [
  132. {
  133. "type": "radar",
  134. "tooltip": {
  135. "trigger": "item"
  136. },
  137. "itemStyle": {
  138. "normal": {
  139. "areaStyle": {
  140. "type": "default"
  141. }
  142. }
  143. },
  144. "data": [
  145. {
  146. "value": [
  147. 60,
  148. 73,
  149. 85,
  150. 40
  151. ],
  152. "name": "某软件"
  153. }
  154. ]
  155. },
  156. {
  157. "type": "radar",
  158. "radarIndex": 1,
  159. "data": [
  160. {
  161. "value": [
  162. 85,
  163. 90,
  164. 90,
  165. 95,
  166. 95
  167. ],
  168. "name": "某主食手机"
  169. },
  170. {
  171. "value": [
  172. 95,
  173. 80,
  174. 95,
  175. 90,
  176. 93
  177. ],
  178. "name": "某水果手机"
  179. }
  180. ]
  181. },
  182. {
  183. "type": "radar",
  184. "radarIndex": 2,
  185. "itemStyle": {
  186. "normal": {
  187. "areaStyle": {
  188. "type": "default"
  189. }
  190. }
  191. },
  192. "data": [
  193. {
  194. "name": "降水量",
  195. "value": [
  196. 2.6,
  197. 5.9,
  198. 9,
  199. 26.4,
  200. 28.7,
  201. 70.7,
  202. 75.6,
  203. 82.2,
  204. 48.7,
  205. 18.8,
  206. 6,
  207. 2.3
  208. ]
  209. },
  210. {
  211. "name": "蒸发量",
  212. "value": [
  213. 2,
  214. 4.9,
  215. 7,
  216. 23.2,
  217. 25.6,
  218. 76.7,
  219. 35.6,
  220. 62.2,
  221. 32.6,
  222. 20,
  223. 6.4,
  224. 3.3
  225. ]
  226. }
  227. ]
  228. }
  229. ]
  230. }