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