text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("echarts/lib/echarts"),require("echarts/lib/component/tooltip"),require("echarts/lib/component/legend"),require("echarts/lib/chart/scatter")):"function"==typeof define&&define.amd?define(["echarts/lib/echarts","echarts/lib/component/tooltip","echarts/lib/component/legend","echarts/lib/chart/scatter"],t):e.VeScatter=t(e.echarts)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function o(e,t){var r=null;return function(){var o=this,i=arguments;clearTimeout(r),r=setTimeout(function(){e.apply(o,i)},t)}}var i="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return void 0===e?"undefined":t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":t(e)};function a(e){return Object.prototype.toString.call(e)}function l(e){return void 0===e?"undefined":i(e)}function n(e){return"[object Object]"===a(e)}function s(e){return"[object Array]"===a(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var f={categoryAxis:{axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},valueAxis:{axisLine:{show:!1}},line:{smooth:!0},grid:{containLabel:!0,left:10,right:10}},h=["#19d4ae","#5ab1ef","#fa6e86","#ffb980","#0067a6","#c4b4e4","#d87a80","#9cbbff","#d9d0c7","#87a997","#d49ea2","#5b4947","#7ba3a8"],d=function(e){return['<span style="',"background-color:"+e+";","display: inline-block;","width: 10px;","height: 10px;","border-radius: 50%;","margin-right:2px;",'"></span>'].join("")},m=["initOptions","loading","dataEmpty","judgeWidth","widthChangeDelay"],b=["grid","dataZoom","visualMap","toolbox","title","legend","xAxis","yAxis","radar","tooltip","axisPointer","brush","geo","timeline","graphic","series","backgroundColor","textStyle"],u={th:3,mi:6,bi:9,tr:12},y={zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0,abbrLabel:{th:"k",mi:"m",bi:"b",tr:"t"}},p=1e12,g=1e9,x=1e6,S=1e3;function v(e,t,r,o){var i=e.toString().split("."),a=t-(o||0),l=2===i.length?Math.min(Math.max(i[1].length,a),t):a,n=Math.pow(10,l),s=(r(e+"e+"+l)/n).toFixed(l);if(o>t-l){var c=new RegExp("\\.?0{1,"+(o-(t-l))+"}$");s=s.replace(c,"")}return s}function C(e,t,r,o){var i=Math.abs(t),a=!1,l=!1,n="",s="",c=!1,f=void 0,h=void 0;r=r||"",t=t||0,~r.indexOf("(")?(a=!0,r=r.replace(/[(|)]/g,"")):(~r.indexOf("+")||~r.indexOf("-"))&&(h=~r.indexOf("+")?r.indexOf("+"):t<0?r.indexOf("-"):-1,r=r.replace(/[+|-]/g,"")),~r.indexOf("a")&&(f=!!(f=r.match(/a(k|m|b|t)?/))&&f[1],~r.indexOf(" a")&&(n=" "),r=r.replace(new RegExp(n+"a[kmbt]?"),""),i>=p&&!f||"t"===f?(n+=e.abbrLabel.tr,t/=p):i<p&&i>=g&&!f||"b"===f?(n+=e.abbrLabel.bi,t/=g):i<g&&i>=x&&!f||"m"===f?(n+=e.abbrLabel.mi,t/=x):(i<x&&i>=S&&!f||"k"===f)&&(n+=e.abbrLabel.th,t/=S)),~r.indexOf("[.]")&&(l=!0,r=r.replace("[.]","."));var d=t.toString().split(".")[0],m=r.split(".")[1],b=r.indexOf(","),y=(r.split(".")[0].split(",")[0].match(/0/g)||[]).length;if(m?(d=(s=~m.indexOf("[")?v(t,(m=(m=m.replace("]","")).split("["))[0].length+m[1].length,o,m[1].length):v(t,m.length,o)).split(".")[0],s=~s.indexOf(".")?"."+s.split(".")[1]:"",l&&0==+s.slice(1)&&(s="")):d=v(t,0,o),n&&!f&&+d>=1e3&&n!==u.trillion&&(d=""+ +d/1e3,n=u.million),~d.indexOf("-")&&(d=d.slice(1),c=!0),d.length<y)for(var C=y-d.length;C>0;C--)d="0"+d;b>-1&&(d=d.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")),r.indexOf(".")||(d="");var A=d+s+(n||"");return a?A=(a&&c?"(":"")+A+(a&&c?")":""):h>=0?A=0===h?(c?"-":"+")+A:A+(c?"-":"+"):c&&(A="-"+A),A}function A(e,t){Object.keys(t).forEach(function(r){e[r]=t[r]})}var O={},w={};function k(e,t,r){return function(e,t,r){t=t||O.defaultFormat,r=r||Math.round;var o=void 0,i=void 0;if(0===e&&null!==O.zeroFormat)o=O.zeroFormat;else if(null===e&&null!==O.nullFormat)o=O.nullFormat;else{for(var a in w)if(w[a]&&t.match(w[a].regexp)){i=w[a].format;break}o=(i=i||C.bind(null,O))(e,t,r,k)}return o}(0===e||void 0===e?0:null===e||function(e){return"number"==typeof e&&isNaN(e)}(e)?null:"string"==typeof e?O.zeroFormat&&e===O.zeroFormat?0:O.nullFormat&&e===O.nullFormat||!e.replace(/[^0-9]+/g,"").length?null:+e:+e||null,t,r)}A(O,y),k.options=O,k._numberToFormat=C.bind(null,O),k.register=function(e,t){w[e]=t},k.unregister=function(e){w[e]=null},k.setOptions=function(e){A(O,e)},k.reset=function(){A(O,y)},k.register("percentage",{regexp:/%/,format:function(e,t,r,o){var i=~t.indexOf(" %")?" ":"",a=void 0;return o.options.scalePercentBy100&&(e*=100),t=t.replace(/\s?%/,""),~(a=o._numberToFormat(e,t,r)).indexOf(")")?((a=a.split("")).splice(-1,0,i+"%"),a=a.join("")):a=a+i+"%",a}});var W=function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"-";if(isNaN(e))return o;if(!t)return e;if("[object Function]"===a(t))return t(e,k);r=isNaN(r)?0:++r;var i=".["+new Array(r).join(0)+"]",l=t;switch(t){case"KMB":l=r?"0,0"+i+"a":"0,0a";break;case"normal":l=r?"0,0"+i:"0,0";break;case"percent":l=r?"0,0"+i+"%":"0,0.[00]%"}return k(e,l)},j=function(e){var t={};return Object.keys(e).forEach(function(r){e[r].forEach(function(e){t[e]=r})}),t};var z=function(e,t,o,i){t=s(t)?t:[],e=s(e)?e:[];var a=o.axisSite,l=void 0===a?{}:a,n=o.yAxisType,c=void 0===n?["normal","normal"]:n,f=o.xAxisType,h=void 0===f?"category":f,d=o.yAxisName,m=void 0===d?[]:d,b=o.dimension,u=void 0===b?[e[0]]:b,y=o.xAxisName,p=void 0===y?[]:y,g=o.axisVisible,x=void 0===g||g,S=o.area,v=o.stack,C=o.scale,A=void 0===C?[!1,!1]:C,O=o.min,w=void 0===O?[null,null]:O,k=o.max,z=void 0===k?[null,null]:k,L=o.nullAddZero,E=void 0!==L&&L,T=o.digit,F=void 0===T?2:T,N=o.legendName,D=void 0===N?{}:N,V=o.labelMap,_=void 0===V?{}:V,B=o.label,$=o.itemStyle,H=o.lineStyle,M=o.areaStyle,P=i.tooltipVisible,R=i.legendVisible,Z=i.tooltipFormatter,q=e.slice();l.left&&l.right?q=l.left.concat(l.right):l.left&&!l.right?q=l.left:o.metrics?q=o.metrics:q.splice(e.indexOf(u[0]),1);var U=R&&function(e){var t=e.metrics,r=e.legendName,o=e.labelMap;return r||o?{data:o?t.map(function(e){return null==o[e]?e:o[e]}):t,formatter:function(e){return null!=r[e]?r[e]:e}}:{data:t}}({metrics:q,legendName:D,labelMap:_}),I=P&&function(e){var t=e.axisSite,r=e.yAxisType,o=e.digit,i=e.labelMap,a=e.tooltipFormatter,l=t.right||[],n=i?l.map(function(e){return void 0===i[e]?e:i[e]}):l;return{trigger:"axis",formatter:function(e){if(a)return a.apply(null,arguments);var t=[],i=e[0],l=i.name,c=i.axisValueLabel,f=l||c;return t.push(f+"<br>"),e.forEach(function(e){var i,a=e.seriesName,l=e.data,c=e.marker,f=~n.indexOf(a)?r[1]:r[0],h=s(l)?l[1]:l;i=W(h,f,o),t.push(c),t.push(a+": "+i),t.push("<br>")}),t.join("")}}}({axisSite:l,yAxisType:c,digit:F,labelMap:_,xAxisType:h,tooltipFormatter:Z}),J=function(e){var t=e.dimension,r=e.rows,o=e.xAxisName,i=e.axisVisible,a=e.xAxisType;return t.map(function(e,t){return{type:a,nameLocation:"middle",nameGap:22,name:o[t]||"",axisTick:{show:!0,lineStyle:{color:"#eee"}},data:r.map(function(t){return t[e]}),show:i}})}({dimension:u,rows:t,xAxisName:p,axisVisible:x,xAxisType:h}),G=function(e){for(var t=e.yAxisName,o=e.yAxisType,i=e.axisVisible,a=e.scale,l=e.min,n=e.max,s=e.digit,c={type:"value",axisTick:{show:!1},show:i},f=[],h=function(e){o[e]?f[e]=r({},c,{axisLabel:{formatter:function(t){return W(t,o[e],s)}}}):f[e]=r({},c),f[e].name=t[e]||"",f[e].scale=a[e]||!1,f[e].min=l[e]||null,f[e].max=n[e]||null},d=0;d<2;d++)h(d);return f}({yAxisName:m,yAxisType:c,axisVisible:x,scale:A,min:w,max:z,digit:F});return{legend:U,xAxis:J,series:function(e){var t=e.rows,r=e.axisSite,o=e.metrics,i=e.area,a=e.stack,l=e.nullAddZero,n=e.labelMap,s=e.label,c=e.itemStyle,f=e.lineStyle,h=e.areaStyle,d=e.dimension,m=[],b={},u=a&&j(a);return o.forEach(function(e){b[e]=[]}),t.forEach(function(e){o.forEach(function(t){var r=null;null!=e[t]?r=e[t]:l&&(r=0),b[t].push([e[d[0]],r])})}),o.forEach(function(e){var t={name:null!=n[e]?n[e]:e,type:"line",data:b[e]};i&&(t.areaStyle={normal:{}}),r.right&&(t.yAxisIndex=~r.right.indexOf(e)?1:0),a&&u[e]&&(t.stack=u[e]),s&&(t.label=s),c&&(t.itemStyle=c),f&&(t.lineStyle=f),h&&(t.areaStyle=h),m.push(t)}),m}({rows:t,axisSite:l,metrics:q,area:S,stack:v,nullAddZero:E,labelMap:_,label:B,itemStyle:$,lineStyle:H,areaStyle:M,xAxisType:h,dimension:u}),yAxis:G,tooltip:I}};function L(e,t){var r=t.labelMap,o=t.columns,i=t.dataType,a=t.digit,l=[],n=e.color,s=e.seriesName,c=e.data.value;return l.push(d(n)+" "+s+"<br>"),c.forEach(function(e,t){var n=r[o[t]]||o[t],s=isNaN(e)?e:W(e,i[o[t]],a);l.push(n+": "+s+"<br>")}),l.join("")}var E=function(e,t,o,i){var a=o.dimension,l=void 0===a?e[0]:a,n=o.metrics,c=void 0===n?[e[1],e[2]]:n,f=o.dataType,h=void 0===f?{}:f,d=o.xAxisType,m=void 0===d?"category":d,b=o.xAxisName,u=o.yAxisName,y=o.digit,p=void 0===y?2:y,g=o.legendName,x=void 0===g?{}:g,S=o.labelMap,v=void 0===S?{}:S,C=o.tooltipTrigger,A=void 0===C?"item":C,O=o.axisVisible,w=void 0===O||O,k=o.symbolSizeMax,j=void 0===k?50:k,E=o.symbol,T=o.symbolSize,F=o.symbolRotate,N=o.symbolOffset,D=o.cursor,V=o.min,_=o.max,B=o.scale,$=o.label,H=o.itemStyle;if(s(t)){var M=r({},o,{xAxisName:b?[b]:void 0,yAxisName:u?[u]:void 0,scale:B?[B]:void 0,min:V?[V]:void 0,max:_?[_]:void 0,dimension:l?[l]:void 0}),P=z(e,t,M,i);return P&&P.series?(P.series.forEach(function(e){r(e,{type:"scatter",symbol:E,symbolSize:T||10,symbolRotate:F,symbolOffset:N,cursor:D,label:$,itemStyle:H})}),P):{}}var R,Z=i.tooltipVisible,q=i.legendVisible,U=Object.keys(t);return{legend:q&&function(e,t){return{data:e,formatter:function(e){return null!=t[e]?t[e]:e}}}(U,x),tooltip:Z&&{trigger:(R={tooltipTrigger:A,labelMap:v,columns:e,dataType:h,digit:p}).tooltipTrigger,formatter:function(e){return s(e)?e.map(function(e){return L(e,R)}).join(""):L(e,R)}},xAxis:function(e){var t=e.xAxisName,r=e.axisVisible,o=e.xAxisType,i=e.rows,a=e.dataLabels,l=e.dimension,n=[];return a.forEach(function(e){i[e].forEach(function(e){var t=e[l];t&&!~n.indexOf(t)&&n.push(t)})}),[{type:o,show:r,name:t,data:n}]}({xAxisName:b,axisVisible:w,xAxisType:m,dataLabels:U,dimension:l,rows:t}),yAxis:function(e){var t=e.min,r=e.max,o=e.scale,i=e.yAxisName,a=e.dataType,l=e.metrics,n=e.digit;return{type:"value",show:e.axisVisible,scale:o,min:t,max:r,axisTick:{show:!1},name:i,axisLabel:{formatter:function(e){return W(e,a[l[0]],n)}}}}({min:V,max:_,scale:B,yAxisName:u,dataType:h,metrics:c,digit:p,axisVisible:w}),series:function(e){var t=e.rows,r=e.dataLabels,o=e.columns,i=e.metrics,a=e.dimension,l=e.label,n=e.itemStyle,s=e.symbol,c=e.symbolSizeMax,f=e.symbolSize,h=e.symbolRotate,d=e.symbolOffset,m=e.cursor,b=o.filter(function(e){return!~i.indexOf(e)&&e!==a}),u=[];r.forEach(function(e){t[e].forEach(function(e){u.push(e[i[1]])})});var y=Math.max.apply(null,u),p=[];return r.forEach(function(e){var r=[];t[e].forEach(function(e){var t={value:[]};t.value.push(e[a],e[i[0]],e[i[1]]),b.forEach(function(r){t.value.push(e[r])}),t.symbolSize=f||e[i[1]]/y*c,r.push(t)}),p.push({type:"scatter",data:r,name:e,label:l,itemStyle:n,symbol:s,symbolRotate:h,symbolOffset:d,cursor:m})}),p}({rows:t,dataLabels:U,columns:e,metrics:c,dimension:l,label:$,itemStyle:H,symbol:E,symbolSizeMax:j,symbolSize:T,symbolRotate:F,symbolOffset:N,cursor:D})}},T={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"v-charts-component-loading"},[t("div",{staticClass:"loader"},[t("div",{staticClass:"loading-spinner"},[t("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])])])])},staticRenderFns:[]},F={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"v-charts-data-empty"},[t("div",{staticClass:"v-charts-bg",style:{height:this.height}},["dark"===this.flag?t("img",{attrs:{src:require("../images/default.png")}}):t("img",{attrs:{src:require("../images/default-light.png")}}),this._v(" "),this._m(0)])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"pt30 ml30"},[t("p",{staticClass:"f16"},[this._v("暂无数据")])])}],_scopeId:"data-v-0e992a7a",props:{flag:String,height:String}};function N(e,t){Object.keys(t).forEach(function(r){t[r]&&(e[r]=t[r])})}var D={color:["#89A562","#55B2A3","#3B775C","#4685D1","#4064D4","#354DA0"],textStyle:{color:"#A0A3A8"},title:{textStyle:{color:"#ffffff"},subtextStyle:{color:"#ffffff"}},line:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:2}},symbolSize:4,symbol:"circle",smooth:!1},radar:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:2}},symbolSize:4,symbol:"emptyCircle",smooth:!1},bar:{barWidth:30,itemStyle:{normal:{barBorderWidth:0,barBorderColor:"#ffffff"},emphasis:{barBorderWidth:0,barBorderColor:"#ffffff"}}},pie:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},scatter:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},boxplot:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},parallel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},sankey:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},funnel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},gauge:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},candlestick:{itemStyle:{normal:{color:"#c23531",color0:"#314656",borderColor:"#c23531",borderColor0:"#314656",borderWidth:1}}},graph:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"}},lineStyle:{normal:{width:1,color:"#aaa"}},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],label:{normal:{textStyle:{color:"#ffffff"}}}},map:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},geo:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"#414346"}},axisTick:{show:!1,length:0},axisLabel:{show:!0,textStyle:{color:"#A0A3A8"}},splitLine:{show:!1,lineStyle:{color:["#414346"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"#414346"}},axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#A0A3A8"}},splitLine:{show:!0,lineStyle:{color:["#414346"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},logAxis:{axisLine:{show:!0,lineStyle:{color:"414346"}},axisTick:{show:!1,lineStyle:{color:"#393b3e"}},axisLabel:{show:!0,textStyle:{color:"#a0a3a8"}},splitLine:{show:!0,lineStyle:{color:["#393b3e"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{color:"#393b3e"}},axisTick:{show:!1,lineStyle:{color:"#393b3e"}},axisLabel:{show:!0,textStyle:{color:"#a0a3a8"}},splitLine:{show:!0,lineStyle:{color:["#393b3e"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999"},emphasis:{borderColor:"#666"}}},legend:{textStyle:{color:"#a0a3a8"}},tooltip:{trigger:"axis",backgroundColor:"#1A1B1B",borderColor:"#7EDEE9",borderWidth:1,padding:15,textStyle:{fontFamily:"PingFangSC-Light"},axisPointer:{lineStyle:{width:2,color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(120,207,214,0)"},{offset:.5,color:"rgba(67,161,172,1)"},{offset:1,color:"rgba(67,161,172,0)"}],global:!1}}}},timeline:{lineStyle:{color:"#293c55",width:1},itemStyle:{normal:{color:"#293c55",borderWidth:1},emphasis:{color:"#a9334c"}},controlStyle:{normal:{color:"#293c55",borderColor:"#293c55",borderWidth:.5},emphasis:{color:"#293c55",borderColor:"#293c55",borderWidth:.5}},checkpointStyle:{color:"#e43c59",borderColor:"rgba(194,53,49, 0.5)"},label:{normal:{textStyle:{color:"#293c55"}},emphasis:{textStyle:{color:"#293c55"}}}},visualMap:{color:["#43A1AC","#386971","#2D3034"]},dataZoom:[{type:"inside",zoomLock:!1,start:100,end:200,maxValueSpan:10,minValueSpan:10},{type:"slider",bottom:0,left:50,right:0,start:100,end:50,height:8,borderColor:"transparent",backgroundColor:"#242D30",fillerColor:"#2A3C40",showDetail:!1,handleSize:!1,zoomLock:!1,maxValueSpan:10,minValueSpan:10}],markPoint:{label:{normal:{textStyle:{color:"#ffffff"}},emphasis:{textStyle:{color:"#ffffff"}}}}},V={color:["#36C2CF","#70C6FF","#4D71EC","#3B26D9","#2757FC ","#14DCC3 "],title:{textStyle:{color:"#ffffff"},subtextStyle:{color:"#ffffff"}},line:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:2}},symbolSize:4,symbol:"circle",smooth:!1},radar:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:2}},symbolSize:4,symbol:"emptyCircle",smooth:!1},bar:{barWidth:30,itemStyle:{normal:{barBorderWidth:0,barBorderColor:"#ffffff"},emphasis:{barBorderWidth:0,barBorderColor:"#ffffff"}}},pie:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},scatter:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},boxplot:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},parallel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},sankey:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},funnel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},gauge:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"},emphasis:{borderWidth:0,borderColor:"#ffffff"}}},candlestick:{itemStyle:{normal:{color:"#c23531",color0:"#314656",borderColor:"#c23531",borderColor0:"#314656",borderWidth:1}}},graph:{itemStyle:{normal:{borderWidth:0,borderColor:"#ffffff"}},lineStyle:{normal:{width:1,color:"#aaa"}},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],label:{normal:{textStyle:{color:"#ffffff"}}}},map:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},geo:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"#D2D9E5"}},axisTick:{show:!1,lineStyle:{color:"#D2D9E5"}},axisLabel:{show:!0,textStyle:{color:"#999999"}},splitLine:{show:!1,lineStyle:{color:["#D2D9E5"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"#D2D9E5"}},axisTick:{show:!1,lineStyle:{color:"#D2D9E5"}},axisLabel:{show:!0,textStyle:{color:"#999999"}},splitLine:{show:!0,lineStyle:{color:["#D2D9E5"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},logAxis:{axisLine:{show:!0,lineStyle:{color:"414346"}},axisTick:{show:!1,lineStyle:{color:"#393b3e"}},axisLabel:{show:!0,textStyle:{color:"#999999"}},splitLine:{show:!0,lineStyle:{color:["#393b3e"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{color:"#393b3e"}},axisTick:{show:!1,lineStyle:{color:"#393b3e"}},axisLabel:{show:!0,textStyle:{color:"#999999"}},splitLine:{show:!0,lineStyle:{color:["#393b3e"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999"},emphasis:{borderColor:"#666"}}},legend:{textStyle:{color:"#999999"}},tooltip:{axisPointer:{lineStyle:{color:"#4064D4",width:"1"},crossStyle:{color:"#43a1ac",width:"1"}}},timeline:{lineStyle:{color:"#293c55",width:1},itemStyle:{normal:{color:"#293c55",borderWidth:1},emphasis:{color:"#a9334c"}},controlStyle:{normal:{color:"#293c55",borderColor:"#293c55",borderWidth:.5},emphasis:{color:"#293c55",borderColor:"#293c55",borderWidth:.5}},checkpointStyle:{color:"#e43c59",borderColor:"rgba(194,53,49, 0.5)"},label:{normal:{textStyle:{color:"#293c55"}},emphasis:{textStyle:{color:"#293c55"}}}},visualMap:{color:["#16937A","#4EB183","#63B1BA","#C1EEE5"]},dataZoom:[{type:"inside",zoomLock:!1,start:100,end:200,maxValueSpan:10,minValueSpan:10},{type:"slider",bottom:0,left:50,right:0,start:100,end:50,height:8,borderColor:"transparent",backgroundColor:"#F1F4FC",fillerColor:"#C6D0E4",showDetail:!1,handleSize:!1,zoomLock:!1,maxValueSpan:10,minValueSpan:10}],markPoint:{label:{normal:{textStyle:{color:"#ffffff"}},emphasis:{textStyle:{color:"#ffffff"}}}}},_={render:function(e){return e("div",{class:[(t=this.$options.name||this.$options._componentTag,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())],style:this.canvasStyle},[e("div",{style:this.canvasStyle,class:{"v-charts-mask-status":this.dataEmpty||this.loading},ref:"canvas"}),e(F,{style:{display:this.dataEmpty?"":"none"},props:{height:this.height,flag:this.flag}}),e(T,{style:{display:this.loading?"":"none"}}),this.$slots.default]);var t},props:{flag:{type:String,default:"dark"},data:{type:[Object,Array],default:function(){return{}}},settings:{type:Object,default:function(){return{}}},width:{type:String,default:"auto"},height:{type:String,default:"400px"},beforeConfig:{type:Function},afterConfig:{type:Function},afterSetOption:{type:Function},afterSetOptionOnce:{type:Function},events:{type:Object},grid:{type:[Object,Array]},colors:{type:Array},tooltipVisible:{type:Boolean,default:!0},legendVisible:{type:Boolean,default:!0},legendPosition:{type:String},markLine:{type:Object},markArea:{type:Object},markPoint:{type:Object},visualMap:{type:[Object,Array]},dataZoom:{type:[Object,Array]},toolbox:{type:[Object,Array]},initOptions:{type:Object,default:function(){return{}}},title:[Object,Array],legend:[Object,Array],xAxis:[Object,Array],yAxis:[Object,Array],radar:Object,tooltip:Object,axisPointer:[Object,Array],brush:[Object,Array],geo:[Object,Array],timeline:[Object,Array],graphic:[Object,Array],series:[Object,Array],backgroundColor:[Object,String],textStyle:[Object,Array],animation:Object,theme:Object,themeName:String,loading:Boolean,dataEmpty:Boolean,extend:Object,judgeWidth:{type:Boolean,default:!1},widthChangeDelay:{type:Number,default:300},tooltipFormatter:{type:Function},resizeable:{type:Boolean,default:!0},resizeDelay:{type:Number,default:200},changeDelay:{type:Number,default:0},setOptionOpts:{type:[Boolean,Object],default:!0},cancelResizeCheck:Boolean,notSetUnchange:Array,log:Boolean},watch:{data:{deep:!0,handler:function(e){e&&this.changeHandler()}},flag:{handler:"themeChange"},settings:{deep:!0,handler:function(e){e.type&&this.chartLib&&(this.chartHandler=this.chartLib[e.type]),this.changeHandler()}},width:"nextTickResize",height:"nextTickResize",events:{deep:!0,handler:"createEventProxy"},theme:{deep:!0,handler:"themeChange"},themeName:"themeChange",resizeable:"resizeableHandler"},computed:{canvasStyle:function(){return{width:this.width,height:this.height,position:"relative"}},chartColor:function(){return this.colors||this.theme&&this.theme.color||h}},methods:{getSkin:function(){return"dark"===this.flag?D:V},dataHandler:function(){if(this.chartHandler){var e=this.data,t=e,r=t.columns,o=void 0===r?[]:r,i=t.rows,a=void 0===i?[]:i,l={tooltipVisible:this.tooltipVisible,legendVisible:this.legendVisible,echarts:this.echarts,color:this.chartColor,tooltipFormatter:this.tooltipFormatter,_once:this._once};this.beforeConfig&&(e=this.beforeConfig(e));var n=this.chartHandler(o,a,this.settings,l);n&&("function"==typeof n.then?n.then(this.optionsHandler):this.optionsHandler(n))}},nextTickResize:function(){this.$nextTick(this.resize)},resize:function(){this.cancelResizeCheck?this.echartsResize():this.$el&&this.$el.clientWidth&&this.$el.clientHeight&&this.echartsResize()},echartsResize:function(){this.echarts&&this.echarts.resize()},optionsHandler:function(t){var o=this;if(this.legendPosition&&t.legend&&(t.legend[this.legendPosition]=10,~["left","right"].indexOf(this.legendPosition)&&(t.legend.top="middle",t.legend.orient="vertical")),t.color=this.chartColor,b.forEach(function(e){o[e]&&(t[e]=o[e])}),this.animation&&function(e,t){Object.keys(t).forEach(function(r){e[r]=t[r]})}(t,this.animation),this.markArea||this.markLine||this.markPoint){var i={markArea:this.markArea,markLine:this.markLine,markPoint:this.markPoint},a=t.series;s(a)?a.forEach(function(e){N(e,i)}):n(a)&&N(a,i)}this.extend&&function(e,t){Object.keys(t).forEach(function(o){var i=t[o];~o.indexOf(".")?function(e,t,r){if(t){var o=e,i=t.split(".");i.forEach(function(e,t){t===i.length-1?o[e]=r:(o[e]||(o[e]={}),o=o[e])})}}(e,o,i):"function"==typeof i?e[o]=i(e[o]):s(e[o])&&n(e[o][0])?e[o].forEach(function(t,a){e[o][a]=r({},t,i)}):n(e[o])?e[o]=r({},e[o],i):e[o]=i})}(t,this.extend),this.afterConfig&&(t=this.afterConfig(t));var f=this.setOptionOpts;!this.settings.bmap&&!this.settings.amap||n(f)||(f=!1),this.notSetUnchange&&this.notSetUnchange.length&&(this.notSetUnchange.forEach(function(e){var r,i=t[e];i&&(!function e(t,r){if(t===r)return!0;if(null===t||null===r||"object"!==l(t)||"object"!==l(r))return t===r;for(var o in t)if(c(t,o)){var i=t[o],a=r[o],n=l(i);if("undefined"===l(a))return!1;if("object"===n){if(!e(i,a))return!1}else if(i!==a)return!1}for(var s in r)if(c(r,s)&&"undefined"===l(t)[s])return!1;return!0}(i,o._store[e])?o._store[e]=(r=i,JSON.parse(JSON.stringify(r))):t[e]=void 0)}),n(f)?f.notMerge=!1:f=!1),this._isDestroyed||(this.log&&console.log(t),this.echarts.setOption(t,f),this.$emit("ready",this.echarts,t,e),this._once["ready-once"]||(this._once["ready-once"]=!0,this.$emit("ready-once",this.echarts,t,e)),this.judgeWidth&&this.judgeWidthHandler(t),this.afterSetOption&&this.afterSetOption(this.echarts,t,e),this.afterSetOptionOnce&&!this._once.afterSetOptionOnce&&(this._once.afterSetOptionOnce=!0,this.afterSetOptionOnce(this.echarts,t,e)))},judgeWidthHandler:function(e){var t=this,r=this.widthChangeDelay,o=this.resize;this.$el.clientWidth||this.$el.clientHeight?o():this.$nextTick(function(e){t.$el.clientWidth||t.$el.clientHeight?o():setTimeout(function(e){o(),t.$el.clientWidth&&t.$el.clientHeight||console.warn(" Can't get dom width or height ")},r)})},resizeableHandler:function(e){e&&!this._once.onresize&&this.addResizeListener(),!e&&this._once.onresize&&this.removeResizeListener()},init:function(){if(!this.echarts){var t=this.themeName||this.theme||this.getSkin()||f;this.echarts=e.init(this.$refs.canvas,t,this.initOptions),this.data&&this.changeHandler(),this.createEventProxy(),this.resizeable&&this.addResizeListener()}},addResizeListener:function(){window.addEventListener("resize",this.resizeHandler),this._once.onresize=!0},removeResizeListener:function(){window.removeEventListener("resize",this.resizeHandler),this._once.onresize=!1},addWatchToProps:function(){var e=this,t=this._watchers.map(function(e){return e.expression});Object.keys(this.$props).forEach(function(r){if(!~t.indexOf(r)&&!~m.indexOf(r)){var o={};~["[object Object]","[object Array]"].indexOf(a(e.$props[r]))&&(o.deep=!0),e.$watch(r,function(){e.changeHandler()},o)}})},createEventProxy:function(){var e=this,t=this,r=Object.keys(this.events||{});r.length&&r.forEach(function(r){-1===e.registeredEvents.indexOf(r)&&(e.registeredEvents.push(r),e.echarts.on(r,function(e){return function(){if(e in t.events){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];t.events[e].apply(null,o)}}}(r)))})},themeChange:function(e){this.clean(),this.echarts=null,this.init()},clean:function(){this.resizeable&&this.removeResizeListener(),this.echarts.dispose()}},created:function(){this.echarts=null,this.registeredEvents=[],this._once={},this._store={},this.resizeHandler=o(this.resize,this.resizeDelay),this.changeHandler=o(this.dataHandler,this.changeDelay),this.addWatchToProps()},mounted:function(){this.init()},beforeDestroy:function(){this.clean()},_numerify:k};return r({},_,{name:"VeScatter",data:function(){return this.chartHandler=E,{}}})});
  