We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我调用省地图是这样调用的 在series 里增加type: 'map', map: '海南' 两个值 而effectScatter中的coordinateSystem只有geo 这种,是不是series 里的 type:map 不能使用effectScatter,而geo类型的地图才能使用effectScatter呢?但是我geo 没能调用海南省地图,只能调用china 地图,请麻烦解答一下好吗?
{ name: 'Top 5', type: 'effectScatter', coordinateSystem: 'geo', data: [ { name:'海口市', value:[110.35,20.02,279] } ], 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: '#f4e925', shadowBlur: 10, shadowColor: '#333' } }, zlevel: 1 }
我设置 effectScatter的data 为这个,没有任何用啊,我看事例是根据坐标输出effectScatter 效果,以下的data设置在geo china地图上面是有显示的,而在series里type:map 这种图标不能显示 data: [ { name:'海口市', value:[110.35,20.02,279] } ],
option = { series: [ { type: 'map', map: '海南', label: { normal:{ show: true, textStyle:{ color:'#1b1b1b' } }, emphasis: { show: false } }, data:[ {name: '海口', value: 279} ], center:[109.7,19.3], zoom:8, itemStyle: { normal:{areaColor:'#ffffff', borderColor:'rgba(100,149,237,1)', borderWidth:0.5}, label:{show:true} } }, { name: 'Top 5', type: 'effectScatter', coordinateSystem: 'geo', data: [ { name:'海口市', value:[110.35,20.02,279] } ], 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: '#f4e925', shadowBlur: 10, shadowColor: '#333' } }, zlevel: 1 } ] }
The text was updated successfully, but these errors were encountered:
可以的
Sorry, something went wrong.
No branches or pull requests
问题简述 (One-line summary)
我调用省地图是这样调用的
在series 里增加type: 'map', map: '海南' 两个值
而effectScatter中的coordinateSystem只有geo 这种,是不是series 里的 type:map 不能使用effectScatter,而geo类型的地图才能使用effectScatter呢?但是我geo 没能调用海南省地图,只能调用china 地图,请麻烦解答一下好吗?
{
name: 'Top 5',
type: 'effectScatter',
coordinateSystem: 'geo',
data: [
{
name:'海口市',
value:[110.35,20.02,279]
}
],
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: '#f4e925',
shadowBlur: 10,
shadowColor: '#333'
}
},
zlevel: 1
}
我设置 effectScatter的data 为这个,没有任何用啊,我看事例是根据坐标输出effectScatter 效果,以下的data设置在geo china地图上面是有显示的,而在series里type:map 这种图标不能显示
data: [
{
name:'海口市',
value:[110.35,20.02,279]
}
],
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
期望结果 (Expected behaviour)
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: