map.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing,
  13. * software distributed under the License is distributed on an
  14. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. * KIND, either express or implied. See the License for the
  16. * specific language governing permissions and limitations
  17. * under the License.
  18. */
  19. export default {
  20. visualMap: {
  21. show: true,
  22. min: 0,
  23. max: 1500,
  24. right: 50,
  25. top: 'middle',
  26. text:['高','低']
  27. // orient: 'horizontal'
  28. },
  29. selectedMode: 'single',
  30. series : [
  31. {
  32. name: 'iphone3',
  33. type: 'map',
  34. map: 'china',
  35. showLegendSymbol: true,
  36. label: {
  37. normal: {
  38. show: false
  39. },
  40. emphasis: {
  41. show: false
  42. }
  43. },
  44. data:[
  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. {name: '湖北',value: 500},
  62. {name: '广西',value: 500},
  63. {name: '甘肃',value: 500},
  64. {name: '山西',value: 500},
  65. {name: '内蒙古',value: 500},
  66. {name: '陕西',value: 500},
  67. {name: '吉林',value: 500},
  68. {name: '福建',value: 500},
  69. {name: '贵州',value: 500},
  70. {name: '广东',value: 500},
  71. {name: '青海',value: 500},
  72. {name: '西藏',value: 500},
  73. {name: '四川',value: 500},
  74. {name: '宁夏',value: 500},
  75. {name: '海南',value: 500},
  76. {name: '台湾',value: 500},
  77. {name: '香港',value: 500},
  78. {name: '澳门',value: 500}
  79. ]
  80. },
  81. {
  82. name: 'iphone4',
  83. type: 'map',
  84. mapType: 'china',
  85. showLegendSymbol: true,
  86. label: {
  87. normal: {
  88. show: false
  89. },
  90. emphasis: {
  91. show: false
  92. }
  93. },
  94. data:[
  95. {name: '北京',value: 500},
  96. {name: '天津',value: 500},
  97. {name: '上海',value: 500},
  98. {name: '重庆',value: 500},
  99. {name: '河北',value: 500},
  100. {name: '安徽',value: 500},
  101. {name: '新疆',value: 500},
  102. {name: '浙江',value: 500},
  103. {name: '江西',value: 500},
  104. {name: '山西',value: 500},
  105. {name: '内蒙古',value: 500},
  106. {name: '吉林',value: 500},
  107. {name: '福建',value: 500},
  108. {name: '广东',value: 500},
  109. {name: '西藏',value: 500},
  110. {name: '四川',value: 500},
  111. {name: '宁夏',value: 500},
  112. {name: '香港',value: 500},
  113. {name: '澳门',value: 500}
  114. ]
  115. },
  116. {
  117. name: 'iphone5',
  118. type: 'map',
  119. mapType: 'china',
  120. showLegendSymbol: true,
  121. label: {
  122. normal: {
  123. show: false
  124. },
  125. emphasis: {
  126. show: false
  127. }
  128. },
  129. data:[
  130. {name: '北京',value: 500},
  131. {name: '天津',value: 500},
  132. {name: '上海',value: 500},
  133. {name: '广东',value: 500},
  134. {name: '台湾',value: 500},
  135. {name: '香港',value: 500},
  136. {name: '澳门',value: 500}
  137. ]
  138. }
  139. ]
  140. };