| | |
| | | res.series.push({ |
| | | name: "分局预警占比", |
| | | type: "pie", |
| | | clockWise: true, |
| | | clockwise: true, |
| | | z: 2, |
| | | hoverAnimation: false, |
| | | emphasis: { |
| | | scale: false |
| | | }, |
| | | // hoverAnimation: false, |
| | | radius: [83 - i * 12 + '%', 78 - i * 12 + '%'], |
| | | center: ["30%", "50%"], |
| | | labelLine: { |
| | |
| | | label: { |
| | | show: false |
| | | }, |
| | | hoverAnimation: false |
| | | emphasis: { |
| | | scale: false |
| | | } |
| | | // hoverAnimation: false |
| | | } |
| | | ] |
| | | }); |
| | |
| | | axisLabel: { |
| | | interval: 0, |
| | | inside: false, |
| | | textStyle: { |
| | | color: "#fff", |
| | | fontSize: 8 |
| | | }, |
| | | color: "#fff", |
| | | fontSize: 8, |
| | | // textStyle: { |
| | | |
| | | // }, |
| | | show: true |
| | | }, |
| | | data: optionData.yAxis |
| | |
| | | zoom: 1.14, |
| | | top: '10%', |
| | | label: { |
| | | normal: { |
| | | show: false, |
| | | textStyle: { |
| | | color: '#fff' |
| | | } |
| | | }, |
| | | show: false, |
| | | color: '#fff', |
| | | emphasis: { |
| | | textStyle: { |
| | | color: '#fff' |
| | |
| | | |
| | | roam: true, |
| | | itemStyle: { |
| | | normal: { |
| | | areaColor: 'rgba(0,255,255,.02)', |
| | | borderColor: '#00ffff', |
| | | borderWidth: 1.5, |
| | | shadowColor: '#00ffff', |
| | | shadowOffsetX: 0, |
| | | shadowOffsetY: 4, |
| | | shadowBlur: 10, |
| | | }, |
| | | emphasis: { |
| | | areaColor: 'rgba(0,255,255,.02)', |
| | | borderColor: '#00ffff', |
| | | borderWidth: 1.5, |
| | | shadowColor: '#00ffff', |
| | | shadowOffsetX: 0, |
| | | shadowOffsetY: 4, |
| | | shadowBlur: 10, |
| | | |
| | | }, |
| | | emphasis: { |
| | | itemStyle: { |
| | | color: 'transparent', //悬浮背景 |
| | | textStyle: { |
| | | color: '#fff' |
| | |
| | | // aspectScale: 0.75, //长宽比 |
| | | zoom: 1.14, |
| | | label: { |
| | | normal: { |
| | | show: false, |
| | | textStyle: { |
| | | color: '#fff' |
| | | } |
| | | }, |
| | | emphasis: { |
| | | textStyle: { |
| | | color: '#fff' |
| | | } |
| | | show: false, |
| | | color: '#fff' |
| | | }, |
| | | emphasis: { |
| | | label: { |
| | | color: '#fff' |
| | | } |
| | | }, |
| | | top: '10%', |
| | | roam: true, |
| | | itemStyle: { |
| | | normal: { |
| | | areaColor: 'rgba(0,255,255,.02)', |
| | | borderColor: '#00ffff', |
| | | borderWidth: 1.5, |
| | | shadowColor: '#00ffff', |
| | | shadowOffsetX: 0, |
| | | shadowOffsetY: 4, |
| | | shadowBlur: 10, |
| | | }, |
| | | emphasis: { |
| | | areaColor: 'rgba(0,255,255,.02)', |
| | | borderColor: '#00ffff', |
| | | borderWidth: 1.5, |
| | | shadowColor: '#00ffff', |
| | | shadowOffsetX: 0, |
| | | shadowOffsetY: 4, |
| | | shadowBlur: 10, |
| | | |
| | | }, |
| | | emphasis: { |
| | | itemStyle: { |
| | | areaColor: 'transparent', //悬浮背景 |
| | | textStyle: { |
| | | color: '#fff' |
| | |
| | | symbol: 'image://' + symbolUrl, |
| | | symbolSize: [30, 30], |
| | | label: { |
| | | normal: { |
| | | show: false, |
| | | textStyle: { |
| | | color: '#fff', |
| | | fontSize: 9, |
| | | }, |
| | | // formatter(value) { |
| | | // return value.data.value[0] |
| | | // } |
| | | } |
| | | show: false, |
| | | color: '#fff', |
| | | fontSize: 9, |
| | | }, |
| | | itemStyle: { |
| | | normal: { |
| | | color: '#FF0000', //标志颜色 |
| | | } |
| | | color: '#FF0000', //标志颜色 |
| | | }, |
| | | data: geoData, |
| | | showEffectOn: 'render', |
| | |
| | | brushType: 'stroke' |
| | | }, |
| | | hoverAnimation: true, |
| | | emphasis: { |
| | | scale: true |
| | | }, |
| | | zlevel: 1 |
| | | } |
| | | ] |