饼状图
<div id="yewuyuan"></div>
dataPic('yewuyuan');
function dataPic(x){
var my=$("#my").val();
var you=$("#you").val();
var pieEchart = echarts.init(document.getElementById(x));
// 指定图表的配置项和数据
var pieoption = {
title : {
text: '回款比例图',
x:'left',
textStyle:{
color:'#FFFFFF',
fontSize:25
}
},
tooltip : {
trigger: 'item',
formatter: "{a} <br/>{b} : {c} 元"
},
legend: {
orient : 'vertical'