2021SC@SDUSC
本次分析的是report-ui\src\views\report\bigscreen\designer\map中的代码
series: [
{
type: 'map',
map: 'china',
aspectScale: 0.75,
label: {
normal: {
position: 'right',
show: true,
color: '#53D9FF',
fontSize: 20
},
emphasis: {
show: true,
},
},
itemStyle: {
normal: {
areaColor: {
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [{
offset: 0,
color: '#073684'
}, {
offset: 1,
color: '#061E3D'
}],
},
borderColor: '#215495',
borderWidth: 1,
},
emphasis: {
areaColor: {
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [{
offset: 0,
color: '#073684'
}, {
offset: 1,
color: '#2B91B7'
}],
},
}
},
data: data,
},
{
type: 'effectScatter',
coordinateSystem: 'geo',
rippleEffect: {
brushType: 'stroke'
},
showEffectOn: 'render',
itemStyle: {
normal: {
color: {
type: 'radial',
x: 0.5,
y: 0.5,
r: