map.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. module.exports = {
  2. visualMap: {
  3. show: true,
  4. min: 0,
  5. max: 1500,
  6. right: 50,
  7. top: 'middle',
  8. text:['高','低']
  9. // orient: 'horizontal'
  10. },
  11. selectedMode: 'single',
  12. series : [
  13. {
  14. name: 'iphone3',
  15. type: 'map',
  16. map: 'china',
  17. showLegendSymbol: true,
  18. label: {
  19. normal: {
  20. show: false
  21. },
  22. emphasis: {
  23. show: false
  24. }
  25. },
  26. data:[
  27. {name: '北京',value: 500},
  28. {name: '天津',value: 500},
  29. {name: '上海',value: 500},
  30. {name: '重庆',value: 500},
  31. {name: '河北',value: 500},
  32. {name: '河南',value: 500},
  33. {name: '云南',value: 500},
  34. {name: '辽宁',value: 500},
  35. {name: '黑龙江',value: 500},
  36. {name: '湖南',value: 500},
  37. {name: '安徽',value: 500},
  38. {name: '山东',value: 500},
  39. {name: '新疆',value: 500},
  40. {name: '江苏',value: 500},
  41. {name: '浙江',value: 500},
  42. {name: '江西',value: 500},
  43. {name: '湖北',value: 500},
  44. {name: '广西',value: 500},
  45. {name: '甘肃',value: 500},
  46. {name: '山西',value: 500},
  47. {name: '内蒙古',value: 500},
  48. {name: '陕西',value: 500},
  49. {name: '吉林',value: 500},
  50. {name: '福建',value: 500},
  51. {name: '贵州',value: 500},
  52. {name: '广东',value: 500},
  53. {name: '青海',value: 500},
  54. {name: '西藏',value: 500},
  55. {name: '四川',value: 500},
  56. {name: '宁夏',value: 500},
  57. {name: '海南',value: 500},
  58. {name: '台湾',value: 500},
  59. {name: '香港',value: 500},
  60. {name: '澳门',value: 500}
  61. ]
  62. },
  63. {
  64. name: 'iphone4',
  65. type: 'map',
  66. mapType: 'china',
  67. showLegendSymbol: true,
  68. label: {
  69. normal: {
  70. show: false
  71. },
  72. emphasis: {
  73. show: false
  74. }
  75. },
  76. data:[
  77. {name: '北京',value: 500},
  78. {name: '天津',value: 500},
  79. {name: '上海',value: 500},
  80. {name: '重庆',value: 500},
  81. {name: '河北',value: 500},
  82. {name: '安徽',value: 500},
  83. {name: '新疆',value: 500},
  84. {name: '浙江',value: 500},
  85. {name: '江西',value: 500},
  86. {name: '山西',value: 500},
  87. {name: '内蒙古',value: 500},
  88. {name: '吉林',value: 500},
  89. {name: '福建',value: 500},
  90. {name: '广东',value: 500},
  91. {name: '西藏',value: 500},
  92. {name: '四川',value: 500},
  93. {name: '宁夏',value: 500},
  94. {name: '香港',value: 500},
  95. {name: '澳门',value: 500}
  96. ]
  97. },
  98. {
  99. name: 'iphone5',
  100. type: 'map',
  101. mapType: 'china',
  102. showLegendSymbol: true,
  103. label: {
  104. normal: {
  105. show: false
  106. },
  107. emphasis: {
  108. show: false
  109. }
  110. },
  111. data:[
  112. {name: '北京',value: 500},
  113. {name: '天津',value: 500},
  114. {name: '上海',value: 500},
  115. {name: '广东',value: 500},
  116. {name: '台湾',value: 500},
  117. {name: '香港',value: 500},
  118. {name: '澳门',value: 500}
  119. ]
  120. }
  121. ]
  122. };