(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ed601478"],{"0923":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rank"},[e("h4",{staticClass:"title"},[t._v(t._s(t.title))]),e("ul",{staticClass:"list",style:{height:t.height?"".concat(t.height,"px"):"auto",overflow:"auto"}},t._l(t.list,(function(a,r){return e("li",{key:r},[e("span",{class:r<3?"active":null},[t._v(t._s(r+1))]),e("span",[t._v(t._s(a.name))]),e("span",[t._v(t._s(a.total))])])})),0)])},i=[],n={name:"RankList",props:{title:{type:String,default:""},list:{type:Array,default:null},height:{type:Number,default:null}}},l=n,s=(a("6762"),a("2877")),o=Object(s["a"])(l,r,i,!1,null,"83c80048",null);e["default"]=o.exports},"0cf0":function(t,e,a){"use strict";a("948f")},"1c61":function(t,e,a){"use strict";a("d4dc")},"1cf5":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{height:t.height,data:t.data,scale:t.scale,forceFit:!0,padding:["auto","auto","40","50"]}},[e("v-tooltip"),e("v-axis"),e("v-bar",{attrs:{position:"x*y"}})],1)],1)},i=[],n={name:"Bar",props:{title:{type:String,default:""},x:{type:String,default:"x"},y:{type:String,default:"y"},data:{type:Array,default:function(){return[]}},height:{type:Number,default:254}},data:function(){return{}},computed:{scale:function(){return[{dataKey:"x",title:this.x,alias:this.x},{dataKey:"y",title:this.y,alias:this.y}]}},created:function(){},methods:{}},l=n,s=a("2877"),o=Object(s["a"])(l,r,i,!1,null,null,null);e["default"]=o.exports},"1d43":function(t,e,a){"use strict";a.r(e);for(var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"antv-chart-mini"},[e("div",{staticClass:"chart-wrapper",style:{height:46}},[e("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,scale:t.scale,padding:[36,0,18,0]}},[e("v-tooltip"),e("v-smooth-area",{attrs:{position:"x*y"}})],1)],1)])},i=[],n=a("5a0c"),l=a.n(n),s=[],o=(new Date).getTime(),u=0;u<10;u++)s.push({x:l()(new Date(o+864e5*u)).format("YYYY-MM-DD"),y:Math.round(10*Math.random())});var c={name:"MiniArea",props:{dataSource:{type:Array,default:function(){return[]}},x:{type:String,default:"x"},y:{type:String,default:"y"}},data:function(){return{data:[],height:100}},computed:{scale:function(){return[{dataKey:"x",title:this.x,alias:this.x},{dataKey:"y",title:this.y,alias:this.y}]}},created:function(){0===this.dataSource.length?this.data=s:this.data=this.dataSource}},d=c,h=(a("db929"),a("2877")),f=Object(h["a"])(d,r,i,!1,null,"1efcadbe",null);e["default"]=f.exports},"2e41":function(t,e,a){},3981:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("v-chart",{attrs:{forceFit:!0,height:t.height,data:t.data,padding:[20,20,95,20],scale:t.scale}},[e("v-tooltip"),e("v-axis",{attrs:{dataKey:t.axis1Opts.dataKey,line:t.axis1Opts.line,tickLine:t.axis1Opts.tickLine,grid:t.axis1Opts.grid}}),e("v-axis",{attrs:{dataKey:t.axis2Opts.dataKey,line:t.axis2Opts.line,tickLine:t.axis2Opts.tickLine,grid:t.axis2Opts.grid}}),e("v-legend",{attrs:{dataKey:"user",marker:"circle",offset:30}}),e("v-coord",{attrs:{type:"polar",radius:"0.8"}}),e("v-line",{attrs:{position:"item*score",color:"user",size:2}}),e("v-point",{attrs:{position:"item*score",color:"user",size:4,shape:"circle"}})],1)},i=[],n={dataKey:"item",line:null,tickLine:null,grid:{lineStyle:{lineDash:null},hideFirstLine:!1}},l={dataKey:"score",line:null,tickLine:null,grid:{type:"polygon",lineStyle:{lineDash:null}}},s=[{dataKey:"score",min:0,max:100},{dataKey:"user",alias:"类型"}],o=[{item:"示例一",score:40},{item:"示例二",score:20},{item:"示例三",score:67},{item:"示例四",score:43},{item:"示例五",score:90}],u={name:"Radar",props:{height:{type:Number,default:254},dataSource:{type:Array,default:function(){return[]}}},data:function(){return{axis1Opts:n,axis2Opts:l,scale:s,data:o}},watch:{dataSource:function(t){0===t.length?this.data=o:this.data=t}}},c=u,d=a("2877"),h=Object(d["a"])(c,r,i,!1,null,"f48462e2",null);e["default"]=h.exports},"4ced":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",[e("v-chart",{attrs:{forceFit:!0,height:t.height,width:t.width,data:t.data,scale:t.scale,padding:0}},[e("v-tooltip"),e("v-interval",{attrs:{shape:["liquid-fill-gauge"],position:"transfer*value",color:"","v-style":{lineWidth:8,opacity:.75},tooltip:["transfer*value",function(t,e){return{name:t,value:e}}]}}),t._l(t.data,(function(t,a){return e("v-guide",{key:a,attrs:{type:"text",top:!0,position:{gender:t.transfer,value:45},content:t.value+"%","v-style":{fontSize:100,textAlign:"center",opacity:.75}}})}))],2)],1)},i=[],n=[{transfer:"一月",value:813},{transfer:"二月",value:233},{transfer:"三月",value:561}],l={name:"Liquid",props:{height:{type:Number,default:0},width:{type:Number,default:0}},data:function(){return{data:n,scale:[]}}},s=l,o=a("2877"),u=Object(o["a"])(s,r,i,!1,null,"383ba75c",null);e["default"]=u.exports},"4ec6":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,scale:t.scale,onClick:t.handleClick}},[e("v-tooltip"),e("v-axis"),e("v-legend"),e("v-line",{attrs:{position:"type*y",color:"x"}}),e("v-point",{attrs:{position:"type*y",color:"x",size:4,"v-style":t.style,shape:"circle"}})],1)],1)},i=[],n=a("7104"),l=a("c917");function s(t,e){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=o(t))||e&&t&&"number"===typeof t.length){a&&(t=a);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,l=!0,s=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return l=t.done,t},e:function(t){s=!0,n=t},f:function(){try{l||null==a.return||a.return()}finally{if(s)throw n}}}}function o(t,e){if(t){if("string"===typeof t)return u(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a4&&void 0!==arguments[4]?arguments[4]:"",n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"月",l=[],s=0;s<12;s+=1){var o;l.push((o={},x(o,t,"".concat(i).concat(s+1).concat(n)),x(o,e,Math.floor(Math.random()*a)+r),o))}return l},loadBarData:function(){this.barData=this.loadData("x","y",1e3,200)},loadAreaData:function(){this.areaData=this.loadData("x","y",500,100)},loadRankListData:function(){this.rankList=this.loadData("name","total",2e3,100,"北京朝阳 "," 号店")}}},k=S,_=a("2877"),j=Object(_["a"])(k,r,i,!1,null,"1fd923d1",null);e["default"]=j.exports},"527e":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chart-trend"},[t._v("\n "+t._s(t.term)+"\n "),e("span",[t._v(t._s(t.rate)+"%")]),e("span",{class:["trend-icon",t.trend]},[e("a-icon",{attrs:{type:"caret-"+t.trend}})],1)])},i=[],n={name:"Trend",props:{term:{type:String,default:"",required:!0},percentage:{type:Number,default:null},type:{type:Boolean,default:null},target:{type:Number,default:0},value:{type:Number,default:0},fixed:{type:Number,default:2}},data:function(){return{trend:this.type?"up":"down",rate:this.percentage}},created:function(){var t=null===this.type?this.value>=this.target:this.type;this.trend=t?"up":"down",this.rate=(null===this.percentage?100*Math.abs(this.value-this.target)/this.target:this.percentage).toFixed(this.fixed)}},l=n,s=(a("5d8a"),a("2877")),o=Object(s["a"])(l,r,i,!1,null,"30501fa8",null);e["default"]=o.exports},"5d8a":function(t,e,a){"use strict";a("7104d")},6762:function(t,e,a){"use strict";a("a35a")},"6cb2":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("v-chart",{attrs:{forceFit:!0,height:t.height,data:t.data,scale:t.scale,onClick:t.handleClick}},[e("v-tooltip",{attrs:{showTitle:!1,dataKey:"item*percent"}}),e("v-axis"),e("v-legend",{attrs:{dataKey:"item"}}),e("v-pie",{attrs:{position:"percent",color:"item","v-style":t.pieStyle,label:t.labelConfig}}),e("v-coord",{attrs:{type:"theta"}})],1)},i=[],n=a("c917"),l=a("7104"),s={name:"Pie",mixins:[n["a"]],props:{title:{type:String,default:""},height:{type:Number,default:254},dataSource:{type:Array,default:function(){return[{item:"示例一",count:40},{item:"示例二",count:21},{item:"示例三",count:17},{item:"示例四",count:13},{item:"示例五",count:9}]}}},data:function(){return{scale:[{dataKey:"percent",min:0,formatter:".0%"}],pieStyle:{stroke:"#fff",lineWidth:1},labelConfig:["percent",{formatter:function(t,e){return e.point.item+": "+t}}]}},computed:{data:function(){var t=(new l.View).source(this.dataSource);return t.transform({type:"percent",field:"count",dimension:"item",as:"percent"}),t.rows}}},o=s,u=a("2877"),c=Object(u["a"])(o,r,i,!1,null,null,null);e["default"]=c.exports},"7104d":function(t,e,a){},8191:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{data:t.data,height:t.height,"force-fit":!0,onClick:t.handleClick}},[e("v-tooltip"),e("v-axis"),e("v-legend"),e("v-bar",{attrs:{position:"x*y",color:"type",adjust:t.adjust}})],1)],1)},i=[],n=a("7104"),l=a("c917");function s(t,e){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=o(t))||e&&t&&"number"===typeof t.length){a&&(t=a);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,l=!0,s=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return l=t.done,t},e:function(t){s=!0,n=t},f:function(){try{l||null==a.return||a.return()}finally{if(s)throw n}}}}function o(t,e){if(t){if("string"===typeof t)return u(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a0?this.abcd=10*this.chartData[0].value:this.abcd=70},getHtmlGuideHtml:function(){return'
\n

'+this.title+'

\n

'+this.abcd+"%

\n
"},getArcGuide2End:function(){return[this.chartData[0].value,.945]}},data:function(){return{chartData:[],height:400,scale:l,abcd:70,axisLabel:{offset:-16,textStyle:{fontSize:18,textAlign:"center",textBaseline:"middle"}},axisSubTickLine:{length:-8,stroke:"#fff",strokeOpacity:1},axisTickLine:{length:-17,stroke:"#fff",strokeOpacity:1},arcGuide1Start:[0,.945],arcGuide1End:[9,.945],arcGuide1Style:{stroke:"#CBCBCB",lineWidth:18},arcGuide2Start:[0,.945],arcGuide2Style:{stroke:"#1890FF",lineWidth:18},htmlGuidePosition:["50%","100%"],htmlGuideHtml:'\n
\n

'.concat(this.title,'

\n

').concat(this.abcd,"%

\n
\n ")}}},u=o,c=a("2877"),d=Object(c["a"])(u,r,i,!1,null,null,null);e["default"]=d.exports},a35a:function(t,e,a){},bf13:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chart-mini-progress"},[e("div",{staticClass:"target",style:{left:t.target+"%"}},[e("span",{style:{backgroundColor:t.color}}),e("span",{style:{backgroundColor:t.color}})]),e("div",{staticClass:"progress-wrapper"},[e("div",{staticClass:"progress",style:{backgroundColor:t.color,width:t.percentage+"%",height:t.height+"px"}})])])},i=[],n={name:"MiniProgress",props:{target:{type:Number,default:0},height:{type:Number,default:10},color:{type:String,default:"#13C2C2"},percentage:{type:Number,default:0}}},l=n,s=(a("1c61"),a("2877")),o=Object(s["a"])(l,r,i,!1,null,"bc81620e",null);e["default"]=o.exports},c917:function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var r={methods:{handleClick:function(t,e){this.handleEvent("click",t,e)},handleEvent:function(t,e,a){this.$emit(t,e,a)}}}},d4dc:function(t,e,a){},db929:function(t,e,a){"use strict";a("8fe8")},e659:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 50px 32px 0"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{forceFit:!0,height:t.height,data:t.data,scale:t.scale,padding:t.padding,onClick:t.handleClick}},[e("v-tooltip"),e("v-legend"),e("v-axis"),e("v-bar",{attrs:{position:"type*bar"}}),e("v-line",{attrs:{position:"type*line",color:"#2fc25b",size:3}})],1)],1)},i=[],n=a("c917"),l={name:"BarAndLine",mixins:[n["a"]],props:{title:{type:String,default:""},dataSource:{type:Array,default:function(){return[{type:"10:10",bar:200,line:1e3},{type:"10:15",bar:600,line:1e3},{type:"10:20",bar:200,line:1e3},{type:"10:25",bar:900,line:1e3},{type:"10:30",bar:200,line:1e3},{type:"10:35",bar:200,line:1e3},{type:"10:40",bar:100,line:1e3}]}},height:{type:Number,default:400}},data:function(){return{padding:{top:50,right:50,bottom:100,left:50},scale:[{dataKey:"bar",min:0},{dataKey:"line",min:0}]}},computed:{data:function(){return this.dataSource}}},s=l,o=a("2877"),u=Object(o["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},edd9:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{forceFit:!0,height:t.height,data:t.dataSource,scale:t.scale,padding:t.padding}},[e("v-tooltip"),e("v-axis"),e("v-bar",{attrs:{position:"x*y"}})],1)],1)},i=[],n=a("ca00"),l={name:"Bar",props:{dataSource:{type:Array,required:!0},yaxisText:{type:String,default:"y"},title:{type:String,default:""},height:{type:Number,default:254}},data:function(){return{padding:["auto","auto","40","50"]}},computed:{scale:function(){return[{dataKey:"y",alias:this.yaxisText}]}},mounted:function(){Object(n["k"])()}},s=l,o=a("2877"),u=Object(o["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},f552:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{ref:"chart",attrs:{forceFit:!0,height:t.height,data:t.dataSource,scale:t.scale}},[e("v-tooltip",{attrs:{shared:!1}}),e("v-axis"),e("v-line",{attrs:{position:"x*y",size:t.lineSize,color:t.lineColor}}),e("v-area",{attrs:{position:"x*y",color:t.color}})],1)],1)},i=[],n=a("ca00"),l={name:"AreaChartTy",props:{dataSource:{type:Array,required:!0},title:{type:String,default:""},x:{type:String,default:"x"},y:{type:String,default:"y"},min:{type:Number,default:0},max:{type:Number,default:null},height:{type:Number,default:254},lineSize:{type:Number,default:2},color:{type:String,default:""},lineColor:{type:String,default:""}},computed:{scale:function(){return[{dataKey:"x",title:this.x,alias:this.x},{dataKey:"y",title:this.y,alias:this.y,min:this.min,max:this.max}]}},mounted:function(){Object(n["k"])()}},s=l,o=(a("0cf0"),a("2877")),u=Object(o["a"])(s,r,i,!1,null,"6d58f736",null);e["default"]=u.exports},fc33:function(t,e,a){"use strict";a("2e41")}}]);