饼图在一步获取数据时提示Error: Inavlid data provider.echarts 饼配置项内容和展示

我通过一下js代码获取动态数据 —————————————————————— $ .ajax({ url : "${pageContext.request.contextPath }/all_ProECharts_hand/getCharts/"+fangxiangid, type : "GET", success : function(result) { if (result.code == 101) { var data = result.data.charts; var legend = result.data.charts.legend; legend = legend.substr(0, legend.length - 1); var newdata = []; for(var i=0;i<data.name.length;i++){ newdata.push([data.value[i],data.name[i]]); } console.log(legend); console.log(tojson(newdata)); myChart.setOption({ series: [{ // 根据名字对应到相应的系列 name: '志愿信息', data: tojson(newdata) }] }); } } }); ———————————————————————————————— 获得的数据是一下类型:[{"value":13,"name":"无所谓"},{"value":68,"name":"网络应用开发"},{"value":29,"name":"网络设计实施"},{"value":2,"name":"网络安全管理"},{"value":2,"name":"综合布线设计"},{"value":3,"name":"云计算"}] 但是就是无法设置值

配置项如下
      option = {
				    title : {
				        text: '分方向学生报名信息',
				        x:'center'
				    },
				    tooltip : {
				        trigger: 'item',
				        formatter: "{a} <br/>{b} : {c} ({d}%)"
				    },
				    toolbox: {
				        show : true,
				        feature : {
				            mark : {show: true},
				            dataView : {show: true, readOnly: false},
				            magicType : {
				                show: true,
				                type: ['pie', 'funnel']
				            },
				            restore : {show: true},
				            saveAsImage : {show: true}
				        }
				    },
				    calculable : true,
				    series : [
				        {
				            name:'志愿信息',
				            type:'pie',
				            radius : [30, 110],
				            center : ['50%', '50%'],
				            roseType : 'area',
				            data:[]
				        }
				    ]
				};
    
截图如下