import{aP as r,a as i,r as s,a1 as n,aQ as l,o as d,aR as m,p,i as u,bc as c}from"./index.0d073eaa.js";import{C as f}from"./index.abdcab42.js";import"./index.78efd931.js";/* empty css              */import{u as h}from"./useECharts.2ee81223.js";import"./index.aa6b7013.js";import"./index.1d29734e.js";import"./Col.a2eadc78.js";import"./useFlexGapSupport.474c31b7.js";import"./useRefs.e81831e2.js";import"./PlusOutlined.64d8e001.js";const g=i({components:{Card:f},props:{loading:Boolean,width:{type:String,default:"100%"},height:{type:String,default:"400px"}},setup(e){const a=s(null),{setOptions:t}=h(a);return n(()=>e.loading,()=>{e.loading||t({legend:{bottom:0,data:["Visits","Sales"]},tooltip:{},radar:{radius:"60%",splitNumber:8,indicator:[{name:"2017"},{name:"2017"},{name:"2018"},{name:"2019"},{name:"2020"},{name:"2021"}]},series:[{type:"radar",symbolSize:0,areaStyle:{shadowBlur:0,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1},data:[{value:[90,50,86,40,50,20],name:"Visits",itemStyle:{color:"#9f8ed7"}},{value:[70,75,70,76,20,85],name:"Sales",itemStyle:{color:"#1edec5"}}]}]})},{immediate:!0}),{chartRef:a}}});function y(e,a,t,S,w,C){const o=l("Card");return d(),m(o,{title:"\u9500\u552E\u7EDF\u8BA1",loading:e.loading},{default:p(()=>[u("div",{ref:"chartRef",style:c({width:e.width,height:e.height})},null,4)]),_:1},8,["loading"])}var z=r(g,[["render",y]]);export{z as default};
