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 u={class:"chart",ref:"chart"},f=r({__name:"Charts",props:{options:{type:Object,default:()=>{}}},setup(s){const e=s,{proxy:o}=d(),a=()=>{_(()=>{const t=n(o.$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",u,null,512))}});const b=m(f,[["__scopeId","data-v-0b6aa9b0"]]);export{b as default};
