import{i as r}from"./index.1703796278973314.js";import{d as a,m as c,o as i,x as p,V as _,S as d}from"./vue.1703796278973.js";import{_ as m}from"./_plugin-vue_export-helper.1703796278973.js";const u={class:"chart",ref:"chart"},f=a({__name:"Chart",props:{options:{type:Object,default:()=>{}}},setup(o){const e=o,{proxy:s}=d(),n=()=>{_(()=>{const t=r(s.$refs.chart);t.setOption(e.options),window.addEventListener("resize",function(){t.resize()})})};return c(()=>e.options,()=>n(),{immediate:!0,deep:!0}),(t,h)=>(i(),p("div",u,null,512))}});const v=m(f,[["__scopeId","data-v-55655293"]]);export{v as default};
