import{bE as o,r as e,j as c,bF as f,bG as m,bH as b,bI as p,bJ as E,bK as u,bL as h,bM as d,bN as y}from"./index-CKIL6d0V.js";o([f,m,b,p,E,u]);let a=null;const w=e.memo(n=>{const{option:r}=n,t=e.useRef(null),i=s=>{a=h(t.current),a||(a=d(t.current)),a.setOption(s),window.addEventListener("onresize",()=>{a.resize()})};e.useEffect(()=>{i(r)});const l={width:"100%",height:"100%"};return c.jsx("div",{style:l,ref:t})});w.displayName="GaugeCharts";o([u,y]);const x=e.memo(n=>{const{option:r}=n,t=e.useRef(null),i=l=>{let s=h(t.current);s||(s=d(t.current)),s.setOption(l),window.addEventListener("onresize",()=>{s.resize()})};return e.useEffect(()=>{i(r)}),c.jsx("div",{style:{width:"100%",height:"100%"},ref:t})});x.displayName="ScatterCharts";export{w as G,x as S};
