(window.webpackJsonp=window.webpackJsonp||[]).push([[366],{1058:function(t,e,o){var content=o(1349);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(121).default)("7318653a",content,!0,{sourceMap:!1})},1348:function(t,e,o){"use strict";o(1058)},1349:function(t,e,o){var r=o(120)(!1);r.push([t.i,".chart[data-v-051b2a44]{height:50vh}",""]),t.exports=r},1529:function(t,e,o){"use strict";o.r(e);var r=o(1),n=o(65),l=o(810),c=o(384),m=o(365),h=o(1407),d=o(385),v=o(382),y=o(1409),x=o(1408),f=o(463);Object(n.a)([l.a,c.a,m.a,h.a,d.a,v.a,y.a,x.a]);var A={name:"ModeloDesempenho",components:{VChart:f.b},provide:Object(r.a)({},f.a,"light"),props:{tipoAtivo:{type:String,default:function(){return"E"}}},data:function(){return{campanhas:["Cadastro - Nov/21","Monitoração - Nov/22","Monitoração - Nov/23","Monitoração - Nov/24","Monitoração - Nov/25"],avaliacoes:[.5,1.5,2.5,1.5,2.5],marcadores:[],series:[],limites:[1,1,1,1.1,1.1]}},computed:{option:function(){return{title:{subtext:"Campanhas - 2021 à 2025"},tooltip:{trigger:"axis",axisPointer:{type:"cross"}},toolbox:{show:!0,feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!1,data:this.campanhas,nameTextStyle:{fontSize:10}},yAxis:{type:"value",axisLabel:{formatter:"{value}"},axisPointer:{snap:!0},max:3,maxInterval:3,minInterval:3},visualMap:{show:!1,dimension:0,pieces:[{lt:100,color:"gray"},{gte:1e3,color:"red"},{gt:1e3,lte:1000.99,color:"orange"},{gte:2e3,color:"green"}]},series:this.series}}},mounted:function(){this.marcadores=[],this.marcadores.push([{name:"Ruim/Ausente\r\nSubstituir",yAxis:0,itemStyle:{color:"rgba(255, 173, 177, 0.4)"}},{yAxis:1}]),"V"!==this.tipoAtivo&&this.marcadores.push([{name:"Regular\r\nMonitorar",yAxis:1,itemStyle:{color:"rgba(249, 231, 159, 0.6)"}},{yAxis:2}]),this.marcadores.push([{name:"Bom\r\nMonitorar",yAxis:2,itemStyle:{color:"rgba(226, 240, 217, 0.7)"}},{yAxis:3}]),this.series.push({name:"Avaliações",type:"line",smooth:!0,symbol:"rect",data:this.avaliacoes,markArea:{silent:!0,label:{position:["91%","50%"]},data:this.marcadores}}),"V"===this.tipoAtivo&&null!=this.limites&&this.series.push({name:"Limites (mcd/lx/m²)",type:"line",symbol:"none",data:this.limites,lineStyle:{color:"red"}})}},M=(o(1348),o(37)),component=Object(M.a)(A,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("v-chart",{staticClass:"chart",attrs:{option:t.option}})}),[],!1,null,"051b2a44",null);e.default=component.exports}}]);
//# sourceMappingURL=deeac7d-1.2.10.js.map