This commit is contained in:
guange 2019-01-18 19:07:23 +08:00
parent 10cdd3ae82
commit d32f766095
1 changed files with 3 additions and 3 deletions

View File

@ -493,10 +493,10 @@ $(function(){
position : 'center', position : 'center',
formatter : function (params){ formatter : function (params){
console.log(params) console.log(params)
if(params.name == "女性"){ if(params.name == "华为支持度"){
return "女性"+":"+(params.percent + '%') return "华为支持度"+":"+(params.percent + '%')
}else{ }else{
return "男性"+":"+(params.percent + '%') return "小米支持度"+":"+(params.percent + '%')
} }
}, },
}, },