This commit is contained in:
parent
10cdd3ae82
commit
d32f766095
|
@ -493,10 +493,10 @@ $(function(){
|
|||
position : 'center',
|
||||
formatter : function (params){
|
||||
console.log(params)
|
||||
if(params.name == "女性"){
|
||||
return "女性"+":"+(params.percent + '%')
|
||||
if(params.name == "华为支持度"){
|
||||
return "华为支持度"+":"+(params.percent + '%')
|
||||
}else{
|
||||
return "男性"+":"+(params.percent + '%')
|
||||
return "小米支持度"+":"+(params.percent + '%')
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue