webpackJsonp([22],{W80s:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("WR23"),i=n.n(r),s={name:"bar",props:{id:String},data:function(){return{chart1:null,data:[{genre:"Sports",sold:275},{genre:"Strategy",sold:115},{genre:"Action",sold:120},{genre:"Shooter",sold:350},{genre:"Other",sold:150}]}},computed:{isCollapse:function(){return this.$store.state.sys.isCollapse}},watch:{isCollapse:{handler:function(){var t=this;setTimeout(function(){t.chart1.forceFit()},400)}}},methods:{_chart1:function(){this.chart1=new i.a.Chart({container:this.id,forceFit:!0,padding:[20,20,95,40],height:350}),this.chart1.source(this.data),this.chart1.interval().position("genre*sold").color("genre"),this.chart1.render()}},mounted:function(){var t=this;this.$nextTick(function(){t._chart1()})}},o={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]},a=n("VU/8")(s,o,!1,null,null,null);e.default=a.exports}});