webpackJsonp([33],{"+FHo":function(t,e){},Qdel:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("zxxV"),n={props:{dataList:{type:Array,default:[]},title:{type:String,default:""},areaList:{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.chart||a.a(this.$refs.chart),e=this.dataList.map(function(t){return[t.name,t.value]}),i={title:{text:this.title+"数",textStyle:{fontSize:14,fontWeight:400,color:"#444444"},top:0,left:30},grid:{left:"60",right:"30",bottom:"65",top:"48"},legend:{data:[this.title+"总数"],top:0,right:30},xAxis:[{type:"category",nameLocation:"center",axisLabel:{formatter:function(t){if(t.length>5){for(var e=0,i=[];e<t.length;)i.push(t.slice(e,e+5)),e+=5;return i.join("\n")}return t}}}],yAxis:[{type:"value"}],series:[{data:e,type:"bar",name:this.title+"总数",label:{show:!0,position:"top"},itemStyle:{color:"#4495E6"},barWidth:28}]};t.setOption(i),this.chart=t}}},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 s=i("C7Lr")(n,r,!1,function(t){i("+FHo")},"data-v-1b4384c6",null);e.default=s.exports}});
//# sourceMappingURL=33.f8f900dceb6b3d75ba4a.1626919428218.js.map