(window.webpackJsonp=window.webpackJsonp||[]).push([[295],{1143:function(t,e,o){var content=o(1217);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(122).default)("38e98834",content,!0,{sourceMap:!1})},1216:function(t,e,o){"use strict";o(1143)},1217:function(t,e,o){var r=o(121)(!1);r.push([t.i,".chart[data-v-f3f53b94]{height:400px}",""]),t.exports=r},1324:function(t,e,o){"use strict";o.r(e);o(152),o(153);var r=o(70),n=o(370),c=o(393),l=o(391);Object(r.a)([n.a,c.a,l.a]);var d={props:{chartData:{type:Object,default:function(){return{tipos:[]}},required:!0},title:{type:String,required:!1,default:void 0}},data:function(){return{updateCount:0}},computed:{chartOption:function(){return{legend:{},title:{text:this.title},tooltip:{trigger:"item"},xAxis:{type:"value"},yAxis:{type:"category",data:["Elemento danif.","Semi refletivos","Inst. inadequada","Ausencia peças"]},grid:{left:"1%",right:"4%",bottom:"3%",containLabel:!0},color:["#007355","#F5821F","#666666","#4DB848"],series:[{type:"bar",data:this.chartData.reprovados}]}}},watch:{chartData:function(){this.updateCount++}},methods:{getChartSerie:function(t){return console.log("getChartSerie()=>",t),t.toLowerCase().includes("elementosdanificados")?(console.log("getChartSerie()=>",t),0):t.toLowerCase().includes("semirefletivos")?1:t.toLowerCase().includes("instalacaoinadequada")?2:t.toLowerCase().includes("ausenciapecas")?3:4}}},f=(o(1216),o(42)),component=Object(f.a)(d,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("b-card",[o("v-chart",{key:t.updateCount,staticClass:"chart",attrs:{option:t.chartOption,autoresize:""}})],1)}),[],!1,null,"f3f53b94",null);e.default=component.exports}}]);
//# sourceMappingURL=8c720b0-1.2.11.js.map