import{d as l,f as t,r as c,o as u,a2 as d,a3 as m,a4 as p}from"./vue-vendor-CxLCUzY4.js";import{u as f}from"./index-B_2CoVdl.js";import{useECharts as h}from"./useECharts-DCjNtWia.js";import"./echarts-DjaBQeb6.js";import{an as g}from"./renderers-qdWQN0CG.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useTimeout-CB9F1PLu.js";const A=l({__name:"gauge",props:{data:{}},setup(o){const a=o,v=t([]),s=t(null),{setOptions:r,echarts:i}=h(s),w=t(!1),{createMessage:_}=f(),e=c({series:[{type:"gauge",progress:{show:!0,width:18},axisLine:{lineStyle:{width:18}},axisTick:{show:!0},splitLine:{length:15,lineStyle:{width:2,color:"#999"}},axisLabel:{distance:25,color:"#999",fontSize:15},anchor:{show:!0,showAbove:!0,size:25,itemStyle:{borderWidth:10}},title:{},detail:{valueAnimation:!0,fontSize:50,formatter:"{value}%",offsetCenter:[0,"80%"]},data:[{value:70,name:"本地磁盘"}]}]});function n(){e.series[0].data[0].name=a.data.name,e.series[0].data[0].value=a.data.restPPT,r(e)}return u(()=>{i.use(g),n()}),(x,y)=>(d(),m("div",null,[p("div",{ref_key:"chartRef",ref:s,style:{width:"100%",height:"400px"}},null,512)]))}});export{A as default};
