12 |
- (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[2706],{31978:function(e,t,n){var i=n(70492);n(57932),n(6010);var r=n(82655),a=n(42274);i.registerVisual(r),i.registerLayout(a)},57932:function(e,t,n){var i=n(33051),r=n(93321),a=n(4993),o=a.seriesModelMixin,l=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(l,o,!0);var s=l;e.exports=s},6010:function(e,t,n){var i=n(33051),r=n(75797),a=n(51177),o=n(10712),l=["itemStyle"],s=["emphasis","itemStyle"],u=r.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),r=this.group,a=this._data;this._data||r.removeAll();var o="horizontal"===e.get("layout")?1:0;i.diff(a).add((function(e){if(i.hasValue(e)){var t=i.getItemLayout(e),n=d(t,i,e,o,!0);i.setItemGraphicEl(e,n),r.add(n)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(i.hasValue(e)){var l=i.getItemLayout(e);n?p(l,n,i,e):n=d(l,i,e,o),r.add(n),i.setItemGraphicEl(e,n)}else r.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i<n.length;i++)e.moveTo(n[i][0],n[i][1]),i++,e.lineTo(n[i][0],n[i][1])}});function d(e,t,n,i,r){var a=e.ends,o=new c({shape:{points:r?h(a,i,e):a}});return p(e,o,t,n,r),o}function p(e,t,n,i,r){var o=n.hostModel,u=a[r?"initProps":"updateProps"];u(t,{shape:{points:e.ends}},o,i);var c=n.getItemModel(i),d=c.getModel(l),p=n.getItemVisual(i,"color"),h=d.getItemStyle(["borderColor"]);h.stroke=p,h.strokeNoScale=!0,t.useStyle(h),t.z2=100;var g=c.getModel(s).getItemStyle();a.setHoverStyle(t,g)}function h(e,t,n){return i.map(e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var g=u;e.exports=g},42274:function(e,t,n){var i=n(33051),r=n(85669),a=r.parsePercent,o=i.each;function l(e){var t=s(e);o(t,(function(e){var t=e.seriesModels;t.length&&(u(e),o(t,(function(t,n){c(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function s(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),a=i.indexOf(n,r);a<0&&(a=n.length,n[a]=r,t[a]={axis:r,seriesModels:[]}),t[a].seriesModels.push(e)})),t}function u(e){var t,n,r=e.axis,l=e.seriesModels,s=l.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],d=[];if("category"===r.type)n=r.getBandWidth();else{var p=0;o(l,(function(e){p=Math.max(p,e.getData().count())})),t=r.getExtent(),Math.abs(t[1]-t[0])}o(l,(function(e){var t=e.get("boxWidth");i.isArray(t)||(t=[t,t]),d.push([a(t[0],n)||0,a(t[1],n)||0])}));var h=.8*n-2,g=h/s*.3,m=(h-g*(s-1))/s,f=m/2-h/2;o(l,(function(e,t){c.push(f),f+=g+m,u.push(Math.min(Math.max(m,d[t][0]),d[t][1]))}))}function c(e,t,n){var i=e.coordinateSystem,r=e.getData(),a=n/2,o="horizontal"===e.get("layout")?0:1,l=1-o,s=["x","y"],u=r.mapDimension(s[o]),c=r.mapDimension(s[l],!0);if(!(null==u||c.length<5))for(var d=0;d<r.count();d++){var p=r.get(u,d),h=x(p,c[2],d),g=x(p,c[0],d),m=x(p,c[1],d),f=x(p,c[3],d),v=x(p,c[4],d),y=[];_(y,m,0),_(y,f,1),y.push(g,m,v,f),S(y,g),S(y,v),S(y,h),r.setItemLayout(d,{initBaseline:h[l],ends:y})}function x(e,n,a){var s,u=r.get(n,a),c=[];return c[o]=e,c[l]=u,isNaN(e)||isNaN(u)?s=[NaN,NaN]:(s=i.dataToPoint(c),s[o]+=t),s}function _(e,t,n){var i=t.slice(),r=t.slice();i[o]+=a,r[o]-=a,n?e.push(i,r):e.push(r,i)}function S(e,t){var n=t.slice(),i=t.slice();n[o]-=a,i[o]+=a,e.push(n,i)}}e.exports=l},82655:function(e){var t=["itemStyle","borderColor"];function n(e,n){var i=e.get("color");e.eachRawSeriesByType("boxplot",(function(n){var r=i[n.seriesIndex%i.length],a=n.getData();a.setVisual({legendSymbol:"roundRect",color:n.get(t)||r}),e.isSeriesFiltered(n)||a.each((function(e){var n=a.getItemModel(e);a.setItemVisual(e,{color:n.get(t,!0)})}))}))}e.exports=n},83760:function(e,t,n){var i=n(70492);n(27125),n(54835);var r=n(34470),a=n(45506),o=n(57018);i.registerPreprocessor(r),i.registerVisual(a),i.registerLayout(o)},27125:function(e,t,n){var i=n(33051),r=n(93321),a=n(4993),o=a.seriesModelMixin,l=r.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});i.mixin(l,o,!0);var s=l;e.exports=s},54835:function(e,t,n){var i=n(33051),r=n(75797),a=n(51177),o=n(10712),l=n(22963),s=l.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],d=["color","color0","borderColor","borderColor0"],p=r.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,i=this.group,r=t.getLayout("isSimpleBox"),o=e.get("clip",!0),l=e.coordinateSystem,s=l.getArea&&l.getArea();this._data||i.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var l,u=t.getItemLayout(n);if(o&&m(s,u))return;l=g(u,n,!0),a.initProps(l,{shape:{points:u.ends}},e,n),f(l,t,n,r),i.add(l),t.setItemGraphicEl(n,l)}})).update((function(l,u){var c=n.getItemGraphicEl(u);if(t.hasValue(l)){var d=t.getItemLayout(l);o&&m(s,d)?i.remove(c):(c?a.updateProps(c,{shape:{points:d.ends}},e,l):c=g(d,l),f(c,t,l,r),i.add(c),t.setItemGraphicEl(l,c))}else i.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),x(e,this.group);var t=e.get("clip",!0)?s(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var n,i=t.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=e.next())){var a,o=i.getItemLayout(n);a=g(o,n),f(a,i,n,r),a.incremental=!0,this.group.add(a)}},_incrementalRenderLarge:function(e,t){x(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),h=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function g(e,t,n){var i=e.ends;return new h({shape:{points:n?v(i,e):i},z2:100})}function m(e,t){for(var n=!0,i=0;i<t.ends.length;i++)if(e.contain(t.ends[i][0],t.ends[i][1])){n=!1;break}return n}function f(e,t,n,i){var r=t.getItemModel(n),o=r.getModel(u),l=t.getItemVisual(n,"color"),s=t.getItemVisual(n,"borderColor")||l,p=o.getItemStyle(d);e.useStyle(p),e.style.strokeNoScale=!0,e.style.fill=l,e.style.stroke=s,e.__simpleBox=i;var h=r.getModel(c).getItemStyle();a.setHoverStyle(e,h)}function v(e,t){return i.map(e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var y=o.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];e.moveTo(r,n[i++]),e.lineTo(r,n[i++])}else i+=3}});function x(e,t,n){var i=e.getData(),r=i.getLayout("largePoints"),a=new y({shape:{points:r},__sign:1});t.add(a);var o=new y({shape:{points:r},__sign:-1});t.add(o),_(1,a,e,i),_(-1,o,e,i),n&&(a.incremental=!0,o.incremental=!0)}function _(e,t,n,i){var r=e>0?"P":"N",a=i.getVisual("borderColor"+r)||i.getVisual("color"+r),o=n.getModel(u).getItemStyle(d);t.useStyle(o),t.style.fill=null,t.style.stroke=a}var S=p;e.exports=S},57018:function(e,t,n){var i=n(51177),r=i.subPixelOptimize,a=n(95682),o=n(85669),l=o.parsePercent,s=n(33051),u=s.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:a(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),i=h(e,n),a=0,o=1,l=["x","y"],s=n.mapDimension(l[a]),u=n.mapDimension(l[o],!0),d=u[0],g=u[1],m=u[2],f=u[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==s||u.length<4))return{progress:e.pipelineContext.large?y:v};function v(e,n){var l;while(null!=(l=e.next())){var u=n.get(s,l),c=n.get(d,l),h=n.get(g,l),v=n.get(m,l),y=n.get(f,l),x=Math.min(c,h),_=Math.max(c,h),S=T(x,u),b=T(_,u),w=T(v,u),I=T(y,u),P=[];D(P,b,0),D(P,S,1),P.push(L(I),L(b),L(w),L(S)),n.setItemLayout(l,{sign:p(n,l,c,h,g),initBaseline:c>h?b[o]:S[o],ends:P,brushRect:C(v,y,u)})}function T(e,n){var i=[];return i[a]=n,i[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function D(e,t,n){var o=t.slice(),l=t.slice();o[a]=r(o[a]+i/2,1,!1),l[a]=r(l[a]-i/2,1,!0),n?e.push(o,l):e.push(l,o)}function C(e,t,n){var r=T(e,n),l=T(t,n);return r[a]-=i/2,l[a]-=i/2,{x:r[0],y:r[1],width:o?i:l[0]-r[0],height:o?l[1]-r[1]:i}}function L(e){return e[a]=r(e[a],1),e}}function y(e,n){var i,r,l=new c(4*e.count),u=0,h=[],v=[];while(null!=(r=e.next())){var y=n.get(s,r),x=n.get(d,r),_=n.get(g,r),S=n.get(m,r),b=n.get(f,r);isNaN(y)||isNaN(S)||isNaN(b)?(l[u++]=NaN,u+=3):(l[u++]=p(n,r,x,_,g),h[a]=y,h[o]=S,i=t.dataToPoint(h,null,v),l[u++]=i?i[0]:NaN,l[u++]=i?i[1]:NaN,h[o]=b,i=t.dataToPoint(h,null,v),l[u++]=i?i[1]:NaN)}n.setLayout("largePoints",l)}}};function p(e,t,n,i,r){var a;return a=n>i?-1:n<i?1:t>0?e.get(r,t-1)<=i?1:-1:1,a}function h(e,t){var n,i=e.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),a=l(u(e.get("barMaxWidth"),r),r),o=l(u(e.get("barMinWidth"),1),r),s=e.get("barWidth");return null!=s?l(s,r):Math.max(Math.min(r/2,a),o)}e.exports=d},45506:function(e,t,n){var i=n(95682),r=["itemStyle","borderColor"],a=["itemStyle","borderColor0"],o=["itemStyle","color"],l=["itemStyle","color0"],s={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(e,t){var n=e.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:u(1,e),colorN:u(-1,e),borderColorP:c(1,e),borderColorN:c(-1,e)}),!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:s}}function s(e,t){var n;while(null!=(n=e.next())){var i=t.getItemModel(n),r=t.getItemLayout(n).sign;t.setItemVisual(n,{color:u(r,i),borderColor:c(r,i)})}}function u(e,t){return t.get(e>0?o:l)}function c(e,t){return t.get(e>0?r:a)}}};e.exports=s},34470:function(e,t,n){var i=n(33051);function r(e){e&&i.isArray(e.series)&&i.each(e.series,(function(e){i.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=r},81741:function(e,t,n){var i=n(38175),r=(i.__DEV__,n(33051)),a=n(51177),o=n(33140),l=o.getDefaultLabel,s=n(40488),u=n(79093),c=u.getLayoutOnAxis,d=n(4130),p=n(93321),h=n(4272),g=n(75797),m=n(22963),f=m.createClipPath,v=n(7409),y=n(55389),x=n(50878),_=n(54649),S=n(64888),b=a.CACHED_LABEL_STYLE_PROPERTIES,w=["itemStyle"],I=["emphasis","itemStyle"],P=["label"],T=["emphasis","label"],D="e\0\0",C={cartesian2d:v,geo:y,singleAxis:x,polar:_,calendar:S};function L(e){var t,n=e.type;if("path"===n){var i=e.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=H(i);t=a.makePath(o,null,r,i.layout||"center"),t.__customPathData=o}else if("image"===n)t=new a.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new a.Text({}),t.__customText=e.style.text;else if("group"===n)t=new a.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var l=a.getShapeClass(n);t=new l}return t.__customGraphicType=n,t.name=e.name,t}function M(e,t,n,i,o,l,s){var u={},c=n.style||{};if(n.shape&&(u.shape=r.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===e.type&&n.style){var d=u.style={};r.each(["x","y","width","height"],(function(t){N(t,d,c,e.style,l)}))}if("text"===e.type&&n.style){d=u.style={};r.each(["x","y"],(function(t){N(t,d,c,e.style,l)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==e.type&&(e.useStyle(c),l)){e.style.opacity=0;var p=c.opacity;null==p&&(p=1),a.initProps(e,{style:{opacity:p}},i,t)}l?e.attr(u):a.updateProps(e,u,i,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var h=n.styleEmphasis;a.setElementHoverStyle(e,h),s&&a.setAsHighDownDispatcher(e,!1!==h)}function N(e,t,n,i,r){null==n[e]||r||(t[e]=n[e],n[e]=i[e])}function A(e,t,n,i){var o=e.get("renderItem"),s=e.coordinateSystem,u={};s&&(u=s.prepareCustoms?s.prepareCustoms():C[s.type](s));var d,p,h,g,m,f=r.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:_,style:S,styleEmphasis:b,visual:D,barLayout:L,currentSeriesIndices:M,font:N},u.api||{}),v={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:u.coordSys,dataInsideLength:t.count(),encode:E(e.getData())},y=!0;return function(e,n){return d=e,y=!0,o&&o(r.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},v),f)};function x(e){null==e&&(e=d),y&&(p=t.getItemModel(e),h=p.getModel(P),g=p.getModel(T),m=t.getItemVisual(e,"color"),y=!1)}function _(e,n){return null==n&&(n=d),t.get(t.getDimension(e||0),n)}function S(n,i){null==i&&(i=d),x(i);var o=p.getModel(w).getItemStyle();null!=m&&(o.fill=m);var s=t.getItemVisual(i,"opacity");null!=s&&(o.opacity=s);var u=n?G(n,h):h;return a.setTextStyle(o,u,null,{autoColor:m,isRectText:!0}),o.text=u.getShallow("show")?r.retrieve2(e.getFormattedLabel(i,"normal"),l(t,i)):null,n&&z(o,n),o}function b(n,i){null==i&&(i=d),x(i);var o=p.getModel(I).getItemStyle(),s=n?G(n,g):g;return a.setTextStyle(o,s,null,{isRectText:!0},!0),o.text=s.getShallow("show")?r.retrieve3(e.getFormattedLabel(i,"emphasis"),e.getFormattedLabel(i,"normal"),l(t,i)):null,n&&z(o,n),o}function D(e,n){return null==n&&(n=d),t.getItemVisual(n,e)}function L(e){if(s.getBaseAxis){var t=s.getBaseAxis();return c(r.defaults({axis:t},e),i)}}function M(){return n.getCurrentSeriesIndices()}function N(e){return a.getFont(e,n)}}function E(e){var t={};return r.each(e.dimensions,(function(n,i){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var a=r.coordDim,o=t[a]=t[a]||[];o[r.coordDimIndex]=i}})),t}function k(e,t,n,i,r,a){return e=O(e,t,n,i,r,a,!0),e&&a.setItemGraphicEl(t,e),e}function O(e,t,n,i,r,a,o){var l=!n;n=n||{};var s=n.type,u=n.shape,c=n.style;if(e&&(l||null!=s&&s!==e.__customGraphicType||"path"===s&&Q(u)&&H(u)!==e.__customPathData||"image"===s&&Y(c,"image")&&c.image!==e.__customImagePath||"text"===s&&Y(u,"text")&&c.text!==e.__customText)&&(r.remove(e),e=null),!l){var d=!e;return!e&&(e=L(n)),M(e,t,n,i,a,d,o),"group"===s&&B(e,t,n,i,a),r.add(e),e}}function B(e,t,n,i,r){var a=n.children,o=a?a.length:0,l=n.$mergeChildren,s="byName"===l||n.diffChildrenByName,u=!1===l;if(o||s||u)if(s)R({oldChildren:e.children()||[],newChildren:a||[],dataIndex:t,animatableModel:i,group:e,data:r});else{u&&e.removeAll();for(var c=0;c<o;c++)a[c]&&O(e.childAt(c),t,a[c],i,e,r)}}function R(e){new d(e.oldChildren,e.newChildren,V,V,e).add(W).update(W).remove(F).execute()}function V(e,t){var n=e&&e.name;return null!=n?n:D+t}function W(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null,r=null!=t?n.oldChildren[t]:null;O(r,n.dataIndex,i,n.animatableModel,n.group,n.data)}function G(e,t){var n=new h({},t);return r.each(b,(function(t,i){e.hasOwnProperty(t)&&(n.option[i]=e[t])})),n}function z(e,t){for(var n in t)!t.hasOwnProperty(n)&&b.hasOwnProperty(n)||(e[n]=t[n])}function F(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function H(e){return e&&(e.pathData||e.d)}function Q(e){return e&&(e.hasOwnProperty("pathData")||e.hasOwnProperty("d"))}function Y(e,t){return e&&e.hasOwnProperty(t)}p.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(e,t){return s(this.getSource(),this)},getDataParams:function(e,t,n){var i=p.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),g.extend({type:"custom",_data:null,render:function(e,t,n,i){var r=this._data,a=e.getData(),o=this.group,l=A(e,a,t,n);a.diff(r).add((function(t){k(null,t,l(t,i),e,o,a)})).update((function(t,n){var s=r.getItemGraphicEl(n);k(s,t,l(t,i),e,o,a)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&o.remove(t)})).execute();var s=e.get("clip",!0)?f(e.coordinateSystem,!1,e):null;s?o.setClipPath(s):o.removeClipPath(),this._data=a},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,i,r){var a=t.getData(),o=A(t,a,n,i);function l(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var s=e.start;s<e.end;s++){var u=k(null,s,o(s,r),t,this.group,a);u.traverse(l)}},dispose:r.noop,filterForExposedEvent:function(e,t,n,i){var r=t.element;if(null==r||n.name===r)return!0;while((n=n.parent)&&n!==this.group)if(n.name===r)return!0;return!1}})}}]);
- //# sourceMappingURL=chunk-vendors-0ee8b09c.7aca4476.js.map
|