提交 0f8357c0 authored 作者: quanlili's avatar quanlili

修改类型的权重级

上级 53cff664
...@@ -517,6 +517,31 @@ var mapOption = { ...@@ -517,6 +517,31 @@ var mapOption = {
} }
}, },
series: [{ series: [{
name: '散点',
type: 'scatter',
coordinateSystem: 'geo',
data: [],
symbolSize: function(val) {
return val[2] / 10;
},
label: {
normal: {
//color: 'yellow',
formatter: '{b}',
position: 'center',
align:"center",
show: true
},
emphasis: {
show: true
}
},
itemStyle: {
normal: {
color: '#05C3F9'
}
}
},{
name: '气泡', name: '气泡',
type: 'scatter', type: 'scatter',
coordinateSystem: 'geo', coordinateSystem: 'geo',
...@@ -544,61 +569,13 @@ var mapOption = { ...@@ -544,61 +569,13 @@ var mapOption = {
} }
}, },
}, },
// label: {
// normal: {
// color: '#04BFFC',
// //formatter: '{b}',
// formatter:function(params){
// return '{white|'+params.value[2]+'}\n'+'{name|'+params.name+'}'
// },
// rich: {
// 'white': {
// color:"#fff",
// height:18,
// align:'center',
// },
// 'name':{
// color:"yellow",
// height:20,
// align:'right'
// }
// },
// position: 'center',
// show: true
// }
// },
itemStyle: { itemStyle: {
normal: { normal: {
color: '#F62157', //标志颜色 color: '#F62157', //标志颜色
} }
}, },
zlevel: 1 zlevel: 1
},{ }]
name: '散点',
type: 'scatter',
coordinateSystem: 'geo',
data: [],
symbolSize: function(val) {
return val[2] / 10;
},
label: {
normal: {
//color: 'yellow',
formatter: '{b}',
position: 'center',
align:"center",
show: true
},
emphasis: {
show: true
}
},
itemStyle: {
normal: {
color: '#05C3F9'
}
}
},]
}; };
export default { export default {
name: "chart", name: "chart",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论