Merge branch 'master' of http://192.168.0.105:10010/r/jfptweb-publicSecurity
| | |
| | | data: mapData |
| | | }, |
| | | //地图中闪烁的点 |
| | | // { |
| | | // // name: 'Top 5', |
| | | // type: 'effectScatter', |
| | | // coordinateSystem: 'geo', |
| | | // data: convertData(mapData[n].sort(function (a, b) { |
| | | // return b.value - a.value; |
| | | // }).slice(0, 20)), |
| | | // symbolSize: function (val) { |
| | | // return val[2] / 10; |
| | | // }, |
| | | // showEffectOn: 'render', |
| | | // rippleEffect: { |
| | | // brushType: 'stroke' |
| | | // }, |
| | | // hoverAnimation: true, |
| | | // label: { |
| | | // normal: { |
| | | // formatter: '{b}', |
| | | // position: 'right', |
| | | // show: true |
| | | // } |
| | | // }, |
| | | // itemStyle: { |
| | | // normal: { |
| | | // color: colors[colorIndex][n], |
| | | // shadowBlur: 10, |
| | | // shadowColor: colors[colorIndex][n] |
| | | // } |
| | | // }, |
| | | // zlevel: 1 |
| | | // }, |
| | | { |
| | | // name: 'Top 5', |
| | | type: 'effectScatter', |
| | | coordinateSystem: 'geo', |
| | | data: convertData(mapData[n].sort(function (a, b) { |
| | | return b.value - a.value; |
| | | }).slice(0, 20)), |
| | | symbolSize: function (val) { |
| | | return val[2] / 10; |
| | | }, |
| | | showEffectOn: 'render', |
| | | rippleEffect: { |
| | | brushType: 'stroke' |
| | | }, |
| | | hoverAnimation: true, |
| | | label: { |
| | | normal: { |
| | | formatter: '{b}', |
| | | position: 'right', |
| | | show: false |
| | | } |
| | | }, |
| | | itemStyle: { |
| | | normal: { |
| | | color: colors[colorIndex][n], |
| | | shadowBlur: 10, |
| | | shadowColor: colors[colorIndex][n] |
| | | } |
| | | }, |
| | | zlevel: 1 |
| | | }, |
| | | //柱状图 |
| | | { |
| | | zlevel: 1.5, |