var data = ["65","35"] option = { series: [ { radius: ['0%', '90%'], center: ['50%', '50%'], type: 'pie', startAngle:-270, clockWise:false, /*标签*/ label: { show: false, }, data: [{ value:data[0], itemStyle:{ color: '#fff', borderColor: 'green' } },{ value:data[1], itemStyle:{ color:'rgba(65,105,225,0)', }, label: { }, }], }, ] };