import"./index.2809c208.js";import{_ as u,r as h,a7 as p,x,o as _,c as m,q as g,s as v,l as b}from"./index.064676a5.js";import{ai as y,aj as f}from"./linkSeriesData.e74eae00.js";const w=o=>(g("data-v-14fba62b"),o=o(),v(),o),A={class:"EchartsBox"},I=w(()=>b("div",{id:"myChart2"},null,-1)),S=[I],k={__name:"EchartsHNT",props:{heightArr:{type:Array,default:()=>[]}},setup(o){const s=o;let l=h([]),d=h([]);return p(()=>{console.log(s.heightArr,"heightArr"),s.heightArr.length>0&&(l.value=s.heightArr.map((t,e)=>({value:t.subregionName||"",textStyle:{fontSize:12,fontWeight:400,width:80,overflow:"break"}})),d.value=s.heightArr.map((t,e)=>t.nonFarm||0))}),x(()=>{var t=document.getElementById("myChart2"),e=y(t);window.addEventListener("resize",function(){e.resize()});var i;let r=l.value,n=d.value;for(let a=0;a(_(),m("div",A,S))}},L=u(k,[["__scopeId","data-v-14fba62b"]]);export{L as default};