(window.webpackJsonp=window.webpackJsonp||[]).push([[816],{1794:function(t,e,o){var content=o(2482);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(122).default)("1e235319",content,!0,{sourceMap:!1})},2481:function(t,e,o){"use strict";o(1794)},2482:function(t,e,o){var r=o(121)(!1);r.push([t.i,".chart[data-v-051b2a44]{height:50vh}",""]),t.exports=r},3076:function(t,e,o){"use strict";o.r(e);var r=o(2),n=o(70),l=o(836),c=o(394),m=o(370),h=o(2617),d=o(393),v=o(391),y=o(3171),x=o(2618),f=o(403);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(2481),o(42)),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=aa47c74-1.2.11.js.map