This commit is contained in:
parent
10cdd3ae82
commit
d32f766095
|
@ -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 + '%')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue