webpackJsonp([43],{JkvT:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=e("OTcb"),i=e.n(a),n={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()},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,height:200}),this.chart.source(this.charData,{value:{formatter:function(t){return t.toFixed(2)}}}),this.chart.line().position("keyword*value"),this.chart.render()}}},h={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]},u=e("C7Lr")(n,h,!1,null,null,null);r.default=u.exports}});