webpackJsonp([40],{JWGL:function(t,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=a("tBDB"),i=a.n(e),n=a("9r/T"),h={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null}},mounted:function(){var t=this;Object(n.setTimeout)(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new i.a.Chart({container:this.id,width:this.width}),this.chart.source(this.charData,{"新增会员":{formatter:function(t){return t+"%"}}}),this.chart.scale("sales",{tickInterval:20}),this.chart.interval().position("keyword*新增会员").size(40),this.chart.render()}}},c={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var s=a("C7Lr")(h,c,!1,function(t){a("dGyM")},"data-v-1c09009f",null);r.default=s.exports},dGyM:function(t,r){}});