webpackJsonp([30],{"75WE":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i("4YfN"),a=i.n(r),h=i("OTcb"),n=i.n(h),o={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null},height:{type:Number,default:null},value:{type:String,default:null}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},100)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy();var t={container:this.id,width:this.width};this.height&&(t=a()({},t,{height:this.height})),this.chart=new n.a.Chart(t),this.chart.source(this.charData),this.chart.area().position("keyword*"+this.value).color("white").shape("smooth"),this.chart.line().position("keyword*"+this.value).color("white").shape("smooth"),this.chart.guide().regionFilter({top:!0,start:["min",0],end:["max","min"],color:"#18a1cd"}),this.chart.guide().regionFilter({top:!0,start:["min","max"],end:["max",0],color:"#FF4D4F"}),this.chart.guide().region({top:!1,start:[2e3,"max"],end:[2016,"min"]}),this.chart.render()}}},s={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var c=i("C7Lr")(o,s,!1,function(t){i("oOOu")},"data-v-3d3bc60f",null);e.default=c.exports},oOOu:function(t,e){}});