webpackJsonp([45],{jqYk:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r("tBDB"),a=r.n(i),n={name:"memberAgeChart",data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new a.a.Chart({container:this.id,width:this.width,forceFit:!0}),this.chart.source(this.charData),this.chart.scale("value",{min:0}),this.chart.scale("keyword",{range:[0,1]}),this.chart.tooltip({crosshairs:{type:"line"}}),this.chart.line().position("keyword*value"),this.chart.point().position("keyword*value").size(4).shape("circle").style({stroke:"#fff",lineWidth:1}),this.chart.render()}}},h={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]},s=r("C7Lr")(n,h,!1,null,null,null);e.default=s.exports}});