import{x as t,y as s,z as i,Q as n}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import{E as c}from"./index-244de723-1783405707921v=1.0.0.js";import{_ as l}from"./index-71d7b18c-1783405707921v=1.0.0.js";import"./eleVendor-d42abce8-1783405707921v=1.0.0.js";const p={class:"echarts"},u=t({name:"cure"}),_=t({...u,props:{areaData:{type:Array,required:!0}},setup(o){const a=o,r={title:{text:"\u8BBE\u65BD\u72B6\u6001",padding:[0,10,0,0]},tooltip:{trigger:"axis",axisPointer:{type:"none"}},grid:{left:"4%",right:"0"},xAxis:[{type:"category",data:a.areaData.map(e=>({value:e.spotName})),axisTick:{show:!1},axisLabel:{margin:20,interval:0,color:"#a1a1a1",fontSize:14,formatter:function(e){return e.length>8?e.slice(0,8)+"...":e}},axisLine:{lineStyle:{color:"#797979"}}}],yAxis:{type:"value"},series:[{name:"Direct",type:"bar",stack:"Total",data:a.areaData.map(e=>({value:e.value})),barMaxWidth:90,label:{show:!0,position:"top"},itemStyle:{color:"#52A1FF"}},{name:"",type:"line",symbolSize:10,symbol:"circle",data:[100],itemStyle:{opacity:0}}]};return(e,m)=>(s(),i("div",p,[n(c,{option:r})]))}});const x=l(_,[["__scopeId","data-v-be7bf09c"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/workbenchManage/workbench/components/AreaBar.vue"]]);export{x as default};
