webpackJsonp([35],{"/zoV":function(t,e){},"56CL":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("zxxV"),a={props:{dataList:{type:Array,default:[]},colorList:{type:Array,default:[]}},watch:{dataList:function(t){t.length>0&&this.init()}},data:function(){return{chart:null}},mounted:function(){this.init()},methods:{init:function(){var t=this,e=this.chart||n.a(this.$refs.chart),i={tooltip:{trigger:"item"},legend:{left:"center",bottom:"24",itemWidth:12,itemHeight:12,itemGap:12,orient:"horizontal",textStyle:{color:"#666666",fontSize:12,height:12,padding:[2,20,0,0]}},series:[{type:"pie",radius:["60%","100%"],left:"center",height:200,width:584,minAngle:5,bottom:100,top:50,label:{alignTo:"edge",edgeDistance:10,minMargin:5,margin:"15%",formatter:function(t){return"{a|"+t.name+"}\n{a|"+Math.round(t.percent)+"% "+t.value+"辆}"},rich:{a:{color:"#333333",fontSize:14,fontWeight:500}}},labelLine:{lineStyle:{color:"#B3B3B3"},length:15,length2:15},labelLayout:function(t){var i=t.labelRect.x<e.getWidth()/2,n=t.labelLinePoints;return n[2][0]=i?t.labelRect.x:t.labelRect.x+t.labelRect.width,{labelLinePoints:n}},itemStyle:{color:function(e){return t.colorList.find(function(t){return t.name===e.name}).color||"#333333"}},data:this.dataList}]};e.setOption(i),this.chart=e}}},r={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"main"},[e("div",{ref:"chart",staticClass:"chart"})])},staticRenderFns:[]};var o=i("C7Lr")(a,r,!1,function(t){i("/zoV")},"data-v-014c97f8",null);e.default=o.exports}});
//# sourceMappingURL=35.1867a7f010856acb3889.1626919428218.js.map