(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d217a4d"],{c835:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{},[n("Echart",{ref:"organnumchart",attrs:{id:t.id,options:t.options,height:t.height,width:t.width}})],1)},i=[],o=(n("b0c0"),n("33de")),r={name:"organnumchart",components:{Echart:o["a"]},props:{id:{type:String,default:"organnumcgart"},width:{type:String,default:"100%"},height:{type:String,default:"600px"},cdata:{type:Array,default:function(){return[]}}},data:function(){return{options:{}}},created:function(){},mounted:function(){},methods:{resetOption:function(t){for(var e=[],n=[],a=0;a<t.length;a++)e.push(t[a].name),n.push(t[a].value);this.options={title:{text:"获取器官和组织的数量"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:"12%",left:"0",right:"0",bottom:"5%",containLabel:!0},xAxis:{type:"category",data:e,axisLine:{show:!1},axisLabel:{textStyle:{color:"#566f94",fontSize:12},interval:0}},yAxis:{type:"value",show:!1},series:[{name:"器官数量",type:"bar",itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#566f94",fontSize:14}}}},data:n}]}}},computed:{},watch:{cdata:{handler:function(t){this.resetOption(t)},immediate:!0,deep:!0}}},s=r,c=n("2877"),p=Object(c["a"])(s,a,i,!1,null,"34285641",null);e["default"]=p.exports}}]);