import{u as o}from"./app-6cfc96e4.js";import{p as i,r as s,I as l}from"./index-5df52834.js";const f=Vue.defineComponent({__name:"Pie",setup(u){const{isDark:r}=i(),a=Vue.computed(()=>r.value?"dark":"light"),e=Vue.ref(null),{setOptions:c,resize:n}=s(e,{theme:a});return c({tooltip:{trigger:"item"},legend:{icon:"circle",right:!0},series:[{name:"Github信息",type:"pie",top:"20%",radius:"80%",center:["40%","50%"],color:["#e6a23c","#f56c6c","#53a7ff"],data:[{value:400,name:"watchers"},{value:1600,name:"forks"},{value:7200,name:"star"}]}]},{name:"click",callback:t=>{}},{type:"zrender",name:"click",callback:t=>{}}),Vue.watch(()=>o().getSidebarStatus,()=>{l(600).then(()=>n())}),(t,p)=>(Vue.openBlock(),Vue.createElementBlock("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{f as _};
