(window.webpackJsonp=window.webpackJsonp||[]).push([[291],{1143:function(t,e,o){var content=o(1219);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(122).default)("4100a5d5",content,!0,{sourceMap:!1})},1218:function(t,e,o){"use strict";o(1143)},1219:function(t,e,o){var r=o(121)(!1);r.push([t.i,".chart[data-v-f3f53b94]{height:400px}",""]),t.exports=r},1326: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(1218),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=b3c6fe1-1.2.11.js.map