import{i as r}from"./index.df40fc31.js";import{g as i,h as l,x as c,o as u,c as d,a as p,_ as f}from"./index.df7b46f6.js";const m={class:"app-container"},_=i({__name:"index",setup(h){const a=l();let s={color:["#03acd1","#04cab7","#03c781","#fce348","#fc2d8a","#0292fe"],title:{text:"\u7F51\u7EDC/\u5B89\u5168\u8BBE\u5907",textStyle:{fontSize:16},padding:0,top:35,left:"center"},tooltip:{show:!0,formatter:"{b}:{d}%"},legend:{orient:"vertical",icon:"circle",padding:0,bottom:"center",right:120,itemWidth:14,itemHeight:14,itemGap:21,textStyle:{fontSize:14}},series:[{name:"\u7F51\u7EDC\u5B89\u5168\u8BBE\u5907",type:"pie",center:["50%","50%"],top:"2%",left:"0%",radius:["0%","70%"],avoidLabelOverlap:!1,clockwise:!1,startAngle:160,roseType:"area",label:{show:!0,position:"outside",formatter:"{b}:{c}"},labelLine:{show:!0,length:30,length2:10,smooth:!0},itemStyle:{borderColor:"rgba(0,0,0,.1)",borderWidth:0},data:[{value:1048,name:"IDS"},{value:735,name:"VPN"},{value:580,name:"\u4EA4\u6362\u673A"},{value:484,name:"\u9632\u706B\u5899"},{value:300,name:" WAF"},{value:600,name:" \u5821\u5792\u673A"}].sort((e,o)=>o.value-e.value),emphasis:{scale:!0,scaleSize:10,itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},t;const n=()=>{const e=r(a.value);return e.setOption(s),e};return c(()=>{t=n(),window.addEventListener("resize",function(){t&&t.resize()})}),(e,o)=>(u(),d("div",m,[p("div",{ref_key:"chartsRef",ref:a,class:"app-echarts"},null,512)]))}});const y=f(_,[["__scopeId","data-v-22993628"]]);export{y as default};
