webpackJsonp([123],{tqu3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),n=i("exGp"),l=i.n(n),c=i("5i7M"),s={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:1192}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){var t=this;return l()(r.a.mark(function e(){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.chart&&t.chart.destroy(),t.chart=new c.a({container:t.id,height:359,forceFit:!0,width:t.width,padding:[20,40,80,80]}),t.chart.data(t.charData,{bizDate:{alias:"日期"},addNum:{alias:"今日添加人数"},clickNum:{alias:"今日点击人数"},clickTimes:{alias:"今日点击人次"}}),t.chart.axis("bizDate",{line:{style:{stroke:"#606266",lineDash:[3,3]}},tickLine:{style:{fill:"#E4E7ED",lineDash:[3,3]}},label:{style:{fill:"#606266"}}}),t.chart.legend({custom:!0,position:"top-left",items:[{name:"今日添加人数",value:"addNum",marker:{symbol:"line",style:{stroke:"#4B74E8",lineWidth:12,lineHeight:8}}},{name:"今日点击人次",value:"clickTimes",marker:{symbol:"line",style:{stroke:"#D6B38C",lineWidth:12,lineHeight:8}}},{name:"今日点击人数",value:"clickNum",marker:{symbol:"line",style:{stroke:"#14C9C9",lineWidth:12,lineHeight:8}}}]}),t.chart.line().position("bizDate*addNum").color("#4B74E8"),t.chart.line().position("bizDate*clickTimes").color("#D6B38C"),t.chart.line().position("bizDate*clickNum").color("#14C9C9"),t.chart.removeInteraction("legend-filter"),t.chart.render();case 10:case"end":return e.stop()}},e,t)}))()}}},o={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]},h=i("VU/8")(s,o,!1,null,null,null);e.default=h.exports}});