@visactor/vchart 1.11.2 → 1.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.es.js +243 -150
  3. package/build/index.js +243 -149
  4. package/build/index.min.js +1 -1
  5. package/build/tsconfig.tsbuildinfo +1 -1
  6. package/cjs/chart/base/base-chart.js +5 -0
  7. package/cjs/chart/base/base-chart.js.map +1 -1
  8. package/cjs/chart/sankey/sankey.js +5 -3
  9. package/cjs/chart/sankey/sankey.js.map +1 -1
  10. package/cjs/chart/stack.js +2 -1
  11. package/cjs/compile/grammar-item.js +1 -2
  12. package/cjs/component/data-zoom/data-filter-base-component.d.ts +0 -1
  13. package/cjs/component/data-zoom/data-filter-base-component.js.map +1 -1
  14. package/cjs/component/data-zoom/data-zoom/data-zoom.d.ts +1 -1
  15. package/cjs/component/data-zoom/data-zoom/data-zoom.js +19 -5
  16. package/cjs/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
  17. package/cjs/component/data-zoom/data-zoom/interface.d.ts +1 -0
  18. package/cjs/component/data-zoom/data-zoom/interface.js.map +1 -1
  19. package/cjs/component/legend/continuous/legend.js +2 -1
  20. package/cjs/component/legend/continuous/legend.js.map +1 -1
  21. package/cjs/constant/scroll-bar.js +1 -2
  22. package/cjs/constant/waterfall.js +2 -1
  23. package/cjs/core/index.d.ts +1 -1
  24. package/cjs/core/index.js +1 -1
  25. package/cjs/core/index.js.map +1 -1
  26. package/cjs/core/instance-manager.js +2 -1
  27. package/cjs/data/transforms/legend-data/continuous/continuous.js +4 -3
  28. package/cjs/data/transforms/legend-data/continuous/continuous.js.map +1 -1
  29. package/cjs/data/transforms/legend-data/continuous/interface.d.ts +1 -0
  30. package/cjs/data/transforms/legend-data/continuous/interface.js.map +1 -1
  31. package/cjs/event/event-dispatcher.js +1 -2
  32. package/cjs/index.d.ts +1 -0
  33. package/cjs/index.js +5 -4
  34. package/cjs/index.js.map +1 -1
  35. package/cjs/series/bar/bar.d.ts +0 -1
  36. package/cjs/series/bar/bar.js +31 -26
  37. package/cjs/series/bar/bar.js.map +1 -1
  38. package/cjs/series/interface/series.d.ts +1 -0
  39. package/cjs/series/interface/series.js.map +1 -1
  40. package/cjs/series/treemap/treemap.d.ts +1 -0
  41. package/cjs/series/treemap/treemap.js +2 -1
  42. package/cjs/series/treemap/treemap.js.map +1 -1
  43. package/cjs/util/hierarchy.d.ts +2 -0
  44. package/cjs/util/hierarchy.js +16 -3
  45. package/cjs/util/hierarchy.js.map +1 -1
  46. package/esm/chart/base/base-chart.js +5 -0
  47. package/esm/chart/base/base-chart.js.map +1 -1
  48. package/esm/chart/sankey/sankey.js +5 -3
  49. package/esm/chart/sankey/sankey.js.map +1 -1
  50. package/esm/chart/stack.js +2 -1
  51. package/esm/compile/grammar-item.js +1 -2
  52. package/esm/component/data-zoom/data-filter-base-component.d.ts +0 -1
  53. package/esm/component/data-zoom/data-filter-base-component.js.map +1 -1
  54. package/esm/component/data-zoom/data-zoom/data-zoom.d.ts +1 -1
  55. package/esm/component/data-zoom/data-zoom/data-zoom.js +19 -5
  56. package/esm/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
  57. package/esm/component/data-zoom/data-zoom/interface.d.ts +1 -0
  58. package/esm/component/data-zoom/data-zoom/interface.js.map +1 -1
  59. package/esm/component/legend/continuous/legend.js +2 -1
  60. package/esm/component/legend/continuous/legend.js.map +1 -1
  61. package/esm/constant/scroll-bar.js +1 -2
  62. package/esm/constant/waterfall.js +2 -1
  63. package/esm/core/index.d.ts +1 -1
  64. package/esm/core/index.js +1 -1
  65. package/esm/core/index.js.map +1 -1
  66. package/esm/core/instance-manager.js +2 -1
  67. package/esm/data/transforms/legend-data/continuous/continuous.js +4 -2
  68. package/esm/data/transforms/legend-data/continuous/continuous.js.map +1 -1
  69. package/esm/data/transforms/legend-data/continuous/interface.d.ts +1 -0
  70. package/esm/data/transforms/legend-data/continuous/interface.js.map +1 -1
  71. package/esm/event/event-dispatcher.js +1 -2
  72. package/esm/index.d.ts +1 -0
  73. package/esm/index.js +2 -0
  74. package/esm/index.js.map +1 -1
  75. package/esm/series/bar/bar.d.ts +0 -1
  76. package/esm/series/bar/bar.js +31 -26
  77. package/esm/series/bar/bar.js.map +1 -1
  78. package/esm/series/interface/series.d.ts +1 -0
  79. package/esm/series/interface/series.js.map +1 -1
  80. package/esm/series/treemap/treemap.d.ts +1 -0
  81. package/esm/series/treemap/treemap.js +2 -1
  82. package/esm/series/treemap/treemap.js.map +1 -1
  83. package/esm/util/hierarchy.d.ts +2 -0
  84. package/esm/util/hierarchy.js +14 -0
  85. package/esm/util/hierarchy.js.map +1 -1
  86. package/package.json +15 -15
package/build/index.es.js CHANGED
@@ -16852,6 +16852,7 @@ class Glyph extends Graphic {
16852
16852
  var _a;
16853
16853
  if (!states.length) return void this.clearStates(hasAnimation);
16854
16854
  if (!((null === (_a = this.currentStates) || void 0 === _a ? void 0 : _a.length) !== states.length || states.some((stateName, index) => this.currentStates[index] !== stateName))) return;
16855
+ this.stopStateAnimates();
16855
16856
  const stateAttrs = {},
16856
16857
  subAttrs = this.subGraphic.map(() => ({}));
16857
16858
  states.forEach(stateName => {
@@ -16865,9 +16866,9 @@ class Glyph extends Graphic {
16865
16866
  }), this.updateNormalAttrs(stateAttrs), this.currentStates = states, this.applyStateAttrs(stateAttrs, states, hasAnimation);
16866
16867
  }
16867
16868
  clearStates(hasAnimation) {
16868
- this.hasState() && this.normalAttrs && (this.subGraphic.forEach(graphic => {
16869
+ this.stopStateAnimates(), this.hasState() && this.normalAttrs ? (this.currentStates = [], this.subGraphic.forEach(graphic => {
16869
16870
  graphic.applyStateAttrs(graphic.normalAttrs, this.currentStates, hasAnimation, !0), graphic.normalAttrs = null;
16870
- }), this.applyStateAttrs(this.normalAttrs, this.currentStates, hasAnimation, !0), this.normalAttrs = null, this.currentStates = []);
16871
+ }), this.applyStateAttrs(this.normalAttrs, this.currentStates, hasAnimation, !0)) : this.currentStates = [], this.normalAttrs = null;
16871
16872
  }
16872
16873
  clone() {
16873
16874
  const glyph = new Glyph(Object.assign({}, this.attribute));
@@ -18382,7 +18383,7 @@ let DefaultGraphicService = class {
18382
18383
  onClearIncremental: new SyncHook(["graphic", "group", "stage"]),
18383
18384
  beforeUpdateAABBBounds: new SyncHook(["graphic", "stage", "willUpdate", "aabbBounds"]),
18384
18385
  afterUpdateAABBBounds: new SyncHook(["graphic", "stage", "aabbBounds", "globalAABBBounds", "selfChange"])
18385
- }, this.tempAABBBounds1 = new AABBBounds(), this.tempAABBBounds2 = new AABBBounds(), this._rectBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._symbolBoundsContribitions = [new DefaultSymbolOuterBorderBoundsContribution()], this._circleBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._arcBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._pathBoundsContribitions = [new DefaultOuterBorderBoundsContribution()];
18386
+ }, this.tempAABBBounds1 = new AABBBounds(), this.tempAABBBounds2 = new AABBBounds(), this._rectBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._symbolBoundsContribitions = [new DefaultSymbolOuterBorderBoundsContribution()], this._imageBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._circleBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._arcBoundsContribitions = [new DefaultOuterBorderBoundsContribution()], this._pathBoundsContribitions = [new DefaultOuterBorderBoundsContribution()];
18386
18387
  }
18387
18388
  onAttributeUpdate(graphic) {
18388
18389
  this.hooks.onAttributeUpdate.taps.length && this.hooks.onAttributeUpdate.call(graphic);
@@ -18783,7 +18784,9 @@ let DefaultGraphicService = class {
18783
18784
  }
18784
18785
  const tb1 = this.tempAABBBounds1,
18785
18786
  tb2 = this.tempAABBBounds2;
18786
- return tb1.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), tb2.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), this.transformAABBBounds(attribute, aabbBounds, imageTheme, !1, graphic), aabbBounds;
18787
+ return tb1.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), tb2.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), this._imageBoundsContribitions.length && this._imageBoundsContribitions.forEach(c => {
18788
+ c.updateBounds(attribute, imageTheme, tb1, graphic), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
18789
+ }), this.transformAABBBounds(attribute, aabbBounds, imageTheme, !1, graphic), aabbBounds;
18787
18790
  }
18788
18791
  combindShadowAABBBounds(bounds, graphic) {
18789
18792
  if (graphic && graphic.shadowRoot) {
@@ -19714,70 +19717,6 @@ function createRectPath(path, x, y, width, height, rectCornerRadius) {
19714
19717
  return path.closePath(), path;
19715
19718
  }
19716
19719
 
19717
- class DefaultImageBackgroundRenderContribution extends DefaultBaseBackgroundRenderContribution {
19718
- constructor() {
19719
- super(...arguments), this.time = BaseRenderContributionTime.beforeFillStroke;
19720
- }
19721
- drawShape(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, graphicAttribute, drawContext, fillCb, strokeCb) {
19722
- const {
19723
- background: background,
19724
- backgroundMode = graphicAttribute.backgroundMode,
19725
- backgroundFit = graphicAttribute.backgroundFit
19726
- } = graphic.attribute;
19727
- if (background) if (graphic.backgroundImg) {
19728
- const res = graphic.resources.get(background);
19729
- if ("success" !== res.state || !res.data) return;
19730
- if (context.save(), graphic.parent && !graphic.transMatrix.onlyTranslate()) {
19731
- const groupAttribute = getTheme$1(graphic.parent).group,
19732
- {
19733
- scrollX = groupAttribute.scrollX,
19734
- scrollY = groupAttribute.scrollY
19735
- } = graphic.parent.attribute;
19736
- context.setTransformFromMatrix(graphic.parent.globalTransMatrix, !0), context.translate(scrollX, scrollY);
19737
- }
19738
- const b = graphic.AABBBounds;
19739
- this.doDrawImage(context, res.data, b, backgroundMode, backgroundFit), context.restore(), graphic.transMatrix.onlyTranslate() || context.setTransformForCurrent();
19740
- } else if (isObject$2(background)) {
19741
- const {
19742
- stroke: stroke,
19743
- fill: fill,
19744
- lineWidth = 1,
19745
- cornerRadius = 0,
19746
- expandX = 0,
19747
- expandY = 0
19748
- } = background;
19749
- if (!stroke && !fill) return;
19750
- context.beginPath();
19751
- const {
19752
- x: x,
19753
- y: y,
19754
- width: width,
19755
- height: height
19756
- } = getActualPosition(graphic);
19757
- cornerRadius ? createRectPath(context, x - expandX, y - expandY, width + 2 * expandX, height + 2 * expandY, cornerRadius) : context.rect(x - expandX, y - expandY, width + 2 * expandX, height + 2 * expandY), context.globalAlpha = 1, fill && (context.fillStyle = fill, context.fill()), stroke && lineWidth > 0 && (context.lineWidth = lineWidth, context.strokeStyle = stroke, context.stroke());
19758
- } else {
19759
- context.beginPath();
19760
- const b = graphic.AABBBounds;
19761
- context.rect(x, y, b.width(), b.height()), context.fillStyle = background, context.globalAlpha = 1, context.fill();
19762
- }
19763
- }
19764
- }
19765
- function getActualPosition(graphic) {
19766
- const boundsPadding = parsePadding(graphic.attribute.boundsPadding),
19767
- bounds = graphic.AABBBounds;
19768
- let x = bounds.x1,
19769
- y = bounds.y1,
19770
- width = bounds.width(),
19771
- height = bounds.height();
19772
- return isNumber$1(boundsPadding) ? (x += boundsPadding, y += boundsPadding, width -= 2 * boundsPadding, height -= 2 * boundsPadding) : (x += boundsPadding[3], y += boundsPadding[0], width -= boundsPadding[1] + boundsPadding[3], height -= boundsPadding[0] + boundsPadding[2]), {
19773
- x: x,
19774
- y: y,
19775
- width: width,
19776
- height: height
19777
- };
19778
- }
19779
- const defaultImageBackgroundRenderContribution = new DefaultImageBackgroundRenderContribution();
19780
-
19781
19720
  var __decorate$1w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19782
19721
  var d,
19783
19722
  c = arguments.length,
@@ -19884,6 +19823,79 @@ const defaultRectRenderContribution = new DefaultRectRenderContribution();
19884
19823
  const defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
19885
19824
  const defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
19886
19825
 
19826
+ class DefaultImageBackgroundRenderContribution extends DefaultBaseBackgroundRenderContribution {
19827
+ constructor() {
19828
+ super(...arguments), this.time = BaseRenderContributionTime.beforeFillStroke;
19829
+ }
19830
+ drawShape(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, graphicAttribute, drawContext, fillCb, strokeCb) {
19831
+ const {
19832
+ background: background,
19833
+ backgroundMode = graphicAttribute.backgroundMode,
19834
+ backgroundFit = graphicAttribute.backgroundFit
19835
+ } = graphic.attribute;
19836
+ if (background) if (graphic.backgroundImg) {
19837
+ const res = graphic.resources.get(background);
19838
+ if ("success" !== res.state || !res.data) return;
19839
+ if (context.save(), graphic.parent && !graphic.transMatrix.onlyTranslate()) {
19840
+ const groupAttribute = getTheme$1(graphic.parent).group,
19841
+ {
19842
+ scrollX = groupAttribute.scrollX,
19843
+ scrollY = groupAttribute.scrollY
19844
+ } = graphic.parent.attribute;
19845
+ context.setTransformFromMatrix(graphic.parent.globalTransMatrix, !0), context.translate(scrollX, scrollY);
19846
+ }
19847
+ const b = graphic.AABBBounds;
19848
+ this.doDrawImage(context, res.data, b, backgroundMode, backgroundFit), context.restore(), graphic.transMatrix.onlyTranslate() || context.setTransformForCurrent();
19849
+ } else if (isObject$2(background)) {
19850
+ const {
19851
+ stroke: stroke,
19852
+ fill: fill,
19853
+ lineWidth = 1,
19854
+ cornerRadius = 0,
19855
+ expandX = 0,
19856
+ expandY = 0
19857
+ } = background;
19858
+ if (!stroke && !fill) return;
19859
+ context.beginPath();
19860
+ const {
19861
+ x: x,
19862
+ y: y,
19863
+ width: width,
19864
+ height: height
19865
+ } = getActualPosition(graphic);
19866
+ cornerRadius ? createRectPath(context, x - expandX, y - expandY, width + 2 * expandX, height + 2 * expandY, cornerRadius) : context.rect(x - expandX, y - expandY, width + 2 * expandX, height + 2 * expandY), context.globalAlpha = 1, fill && (context.fillStyle = fill, context.fill()), stroke && lineWidth > 0 && (context.lineWidth = lineWidth, context.strokeStyle = stroke, context.stroke());
19867
+ } else {
19868
+ context.beginPath();
19869
+ const b = graphic.AABBBounds;
19870
+ context.rect(x, y, b.width(), b.height()), context.fillStyle = background, context.globalAlpha = 1, context.fill();
19871
+ }
19872
+ }
19873
+ }
19874
+ function getActualPosition(graphic) {
19875
+ const boundsPadding = parsePadding(graphic.attribute.boundsPadding),
19876
+ bounds = graphic.AABBBounds;
19877
+ let x = bounds.x1,
19878
+ y = bounds.y1,
19879
+ width = bounds.width(),
19880
+ height = bounds.height();
19881
+ return isNumber$1(boundsPadding) ? (x += boundsPadding, y += boundsPadding, width -= 2 * boundsPadding, height -= 2 * boundsPadding) : (x += boundsPadding[3], y += boundsPadding[0], width -= boundsPadding[1] + boundsPadding[3], height -= boundsPadding[0] + boundsPadding[2]), {
19882
+ x: x,
19883
+ y: y,
19884
+ width: width,
19885
+ height: height
19886
+ };
19887
+ }
19888
+ class DefaultImageRenderContribution extends DefaultRectRenderContribution {
19889
+ constructor() {
19890
+ super(...arguments), this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
19891
+ }
19892
+ drawShape(rect, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb) {
19893
+ return super.drawShape(rect, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb);
19894
+ }
19895
+ }
19896
+ const defaultImageRenderContribution = new DefaultImageRenderContribution();
19897
+ const defaultImageBackgroundRenderContribution = new DefaultImageBackgroundRenderContribution();
19898
+
19887
19899
  class DefaultSymbolRenderContribution {
19888
19900
  constructor() {
19889
19901
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -21453,15 +21465,17 @@ var __decorate$1m = undefined && undefined.__decorate || function (decorators, t
21453
21465
  const repeatStr = ["", "repeat-x", "repeat-y", "repeat"];
21454
21466
  let DefaultCanvasImageRender = class extends BaseRender {
21455
21467
  constructor(imageRenderContribitions) {
21456
- super(), this.imageRenderContribitions = imageRenderContribitions, this.numberType = IMAGE_NUMBER_TYPE, this.builtinContributions = [defaultImageBackgroundRenderContribution], this.init(imageRenderContribitions);
21468
+ super(), this.imageRenderContribitions = imageRenderContribitions, this.numberType = IMAGE_NUMBER_TYPE, this.builtinContributions = [defaultImageRenderContribution, defaultImageBackgroundRenderContribution], this.init(imageRenderContribitions);
21457
21469
  }
21458
- drawShape(image, context, x, y, drawContext, params, fillCb) {
21470
+ drawShape(image, context, x, y, drawContext, params, fillCb, strokeCb) {
21459
21471
  const imageAttribute = getTheme$1(image).image,
21460
21472
  {
21461
21473
  width = imageAttribute.width,
21462
21474
  height = imageAttribute.height,
21463
21475
  repeatX = imageAttribute.repeatX,
21464
21476
  repeatY = imageAttribute.repeatY,
21477
+ x: originX = imageAttribute.x,
21478
+ y: originY = imageAttribute.y,
21465
21479
  cornerRadius = imageAttribute.cornerRadius,
21466
21480
  image: url
21467
21481
  } = image.attribute,
@@ -21486,7 +21500,7 @@ let DefaultCanvasImageRender = class extends BaseRender {
21486
21500
  } else context.drawImage(res.data, x, y, width, height);
21487
21501
  needRestore && context.restore();
21488
21502
  }
21489
- this.afterRenderStep(image, context, x, y, doFill, !1, fVisible, !1, imageAttribute, drawContext, fillCb);
21503
+ doStroke && (strokeCb ? strokeCb(context, image.attribute, imageAttribute) : sVisible && (context.setStrokeStyle(image, image.attribute, originX - x, originY - y, imageAttribute), context.stroke())), this.afterRenderStep(image, context, x, y, doFill, !1, fVisible, !1, imageAttribute, drawContext, fillCb);
21490
21504
  }
21491
21505
  draw(image, renderService, drawContext) {
21492
21506
  const {
@@ -23518,7 +23532,9 @@ class OrthoCamera {
23518
23532
  let _isBrowserEnv;
23519
23533
  function initIsBrowserEnv() {
23520
23534
  if (null == _isBrowserEnv) try {
23521
- _isBrowserEnv = globalThis === window, _isBrowserEnv && (_isBrowserEnv = !!document.createElement);
23535
+ const canvas = document.createElement("canvas"),
23536
+ ctx = canvas.getContext("2d");
23537
+ _isBrowserEnv = !!(window && canvas.getBoundingClientRect && requestAnimationFrame && window.devicePixelRatio && ctx && ctx.isPointInPath && ctx.isPointInStroke), _isBrowserEnv && (_isBrowserEnv = !!document.createElement);
23522
23538
  } catch (err) {
23523
23539
  _isBrowserEnv = !1;
23524
23540
  }
@@ -37398,11 +37414,11 @@ let DataZoom$1 = class DataZoom extends AbstractComponent {
37398
37414
  start: start,
37399
37415
  end: end
37400
37416
  } = this.state;
37401
- this._activeState && (this._activeTag === DataZoomActiveTag.middleHandler ? this.moveZoomWithMiddle((this.state.start + this.state.end) / 2 + dis) : this._activeTag === DataZoomActiveTag.startHandler ? start + dis > end ? (start = end, end = start + dis, this._activeTag = DataZoomActiveTag.endHandler) : start += dis : this._activeTag === DataZoomActiveTag.endHandler && (end + dis < start ? (end = start, start = end + dis, this._activeTag = DataZoomActiveTag.startHandler) : end += dis), this._activeCache.lastPos = pos, brushSelect && this.renderDragMask()), start = Math.min(Math.max(start, 0), 1), end = Math.min(Math.max(end, 0), 1), startAttr === start && endAttr === end || this.setStateAttr(start, end, !0), realTime && this._dispatchEvent("change", {
37417
+ this._activeState && (this._activeTag === DataZoomActiveTag.middleHandler ? this.moveZoomWithMiddle((this.state.start + this.state.end) / 2 + dis) : this._activeTag === DataZoomActiveTag.startHandler ? start + dis > end ? (start = end, end = start + dis, this._activeTag = DataZoomActiveTag.endHandler) : start += dis : this._activeTag === DataZoomActiveTag.endHandler && (end + dis < start ? (end = start, start = end + dis, this._activeTag = DataZoomActiveTag.startHandler) : end += dis), this._activeCache.lastPos = pos, brushSelect && this.renderDragMask()), start = Math.min(Math.max(start, 0), 1), end = Math.min(Math.max(end, 0), 1), startAttr === start && endAttr === end || (this.setStateAttr(start, end, !0), realTime && this._dispatchEvent("change", {
37402
37418
  start: start,
37403
37419
  end: end,
37404
37420
  tag: this._activeTag
37405
- });
37421
+ }));
37406
37422
  }, this._onHandlerPointerMove = 0 === this.attribute.delayTime ? this._pointerMove : delayMap$2[this.attribute.delayType](this._pointerMove, this.attribute.delayTime), this._onHandlerPointerUp = e => {
37407
37423
  e.preventDefault();
37408
37424
  const {
@@ -37415,11 +37431,11 @@ let DataZoom$1 = class DataZoom extends AbstractComponent {
37415
37431
  const pos = this.eventPosToStagePos(e);
37416
37432
  this.backgroundDragZoom(this._activeCache.startPos, pos);
37417
37433
  }
37418
- this._activeState = !1, brushSelect && this.renderDragMask(), start === this.state.start && end === this.state.end || this.setStateAttr(this.state.start, this.state.end, !0), this._dispatchEvent("change", {
37434
+ this._activeState = !1, brushSelect && this.renderDragMask(), start === this.state.start && end === this.state.end || (this.setStateAttr(this.state.start, this.state.end, !0), this._dispatchEvent("change", {
37419
37435
  start: this.state.start,
37420
37436
  end: this.state.end,
37421
37437
  tag: this._activeTag
37422
- }), "browser" === vglobal.env && (vglobal.removeEventListener("pointermove", this._onHandlerPointerMove, {
37438
+ })), "browser" === vglobal.env && (vglobal.removeEventListener("pointermove", this._onHandlerPointerMove, {
37423
37439
  capture: !0
37424
37440
  }), vglobal.removeEventListener("pointerup", this._onHandlerPointerUp)), this.removeEventListener("pointermove", this._onHandlerPointerMove, {
37425
37441
  capture: !0
@@ -41509,6 +41525,7 @@ class ColorContinuousLegend extends LegendBase {
41509
41525
  return inverse && (isHorizontal ? (res.x0 = 1, res.x1 = 0) : (res.y0 = 1, res.y1 = 0)), res;
41510
41526
  }
41511
41527
  _updateColor() {
41528
+ var _a;
41512
41529
  const {
41513
41530
  layout = "horizontal",
41514
41531
  colors: colors,
@@ -41518,7 +41535,8 @@ class ColorContinuousLegend extends LegendBase {
41518
41535
  {
41519
41536
  startHandler: startHandler,
41520
41537
  endHandler: endHandler,
41521
- track: track
41538
+ track: track,
41539
+ attribute: attribute
41522
41540
  } = this._slider,
41523
41541
  {
41524
41542
  startValue: startValue,
@@ -41526,9 +41544,15 @@ class ColorContinuousLegend extends LegendBase {
41526
41544
  startPos: startPos,
41527
41545
  endPos: endPos
41528
41546
  } = this._slider.currentValue,
41529
- startHandlerColor = this._colorScale.scale(startValue),
41530
- endHandlerColor = this._colorScale.scale(endValue);
41531
- null == startHandler || startHandler.setAttribute("fill", startHandlerColor), null == endHandler || endHandler.setAttribute("fill", endHandlerColor);
41547
+ handlerColor = null === (_a = attribute.handlerStyle) || void 0 === _a ? void 0 : _a.fill;
41548
+ if (startHandler && !handlerColor) {
41549
+ const startHandlerColor = this._colorScale.scale(startValue);
41550
+ startHandler.setAttribute("fill", startHandlerColor);
41551
+ }
41552
+ if (endHandler && !handlerColor) {
41553
+ const endHandlerColor = this._colorScale.scale(endValue);
41554
+ endHandler.setAttribute("fill", endHandlerColor);
41555
+ }
41532
41556
  const railLen = "horizontal" === layout ? railWidth : railHeight;
41533
41557
  if (Math.abs(startPos - endPos) !== railLen && colors && colors.length > 1) {
41534
41558
  const stops = this._color.stops,
@@ -41573,6 +41597,7 @@ ColorContinuousLegend.defaultAttributes = {
41573
41597
  },
41574
41598
  handlerSize: 10,
41575
41599
  handlerStyle: {
41600
+ fill: null,
41576
41601
  lineWidth: 4,
41577
41602
  stroke: "#fff",
41578
41603
  outerBorder: {
@@ -42665,6 +42690,7 @@ let Brush$1 = class Brush extends AbstractComponent {
42665
42690
  this._outOfInteractiveRange(e) || ((this._activeDrawState || this._activeMoveState) && e.stopPropagation(), this._activeDrawState && this._drawing(e), this._activeMoveState && this._moving(e));
42666
42691
  }, this._onBrushingWithDelay = 0 === this.attribute.delayTime ? this._onBrushing : delayMap$1[this.attribute.delayType](this._onBrushing, this.attribute.delayTime), this._onBrushEnd = e => {
42667
42692
  var _a;
42693
+ if (!this._activeDrawState && !this._activeMoveState) return;
42668
42694
  e.preventDefault();
42669
42695
  const {
42670
42696
  removeOnClick = !0
@@ -44253,12 +44279,12 @@ function parseCollectionMarkAttributes(itemNextAttrs) {
44253
44279
  let Element$1 = class Element {
44254
44280
  constructor(mark) {
44255
44281
  this.data = null, this.states = [], this.diffState = DiffState.enter, this.isReserved = !1, this.runtimeStatesEncoder = null, this.items = [], this.getStateAttrs = (stateName, nextStates) => {
44256
- var _a, _b, _c;
44282
+ var _a, _b, _c, _d;
44257
44283
  const isRuntimeState = !isNil$1(null === (_a = this.runtimeStatesEncoder) || void 0 === _a ? void 0 : _a[stateName]),
44258
- encoder = isRuntimeState ? this.runtimeStatesEncoder[stateName] : null === (_b = this.mark.getSpec().encode) || void 0 === _b ? void 0 : _b[stateName];
44284
+ encoder = isRuntimeState ? Object.assign(Object.assign({}, null === (_b = this.mark.getSpec().encode) || void 0 === _b ? void 0 : _b[stateName]), this.runtimeStatesEncoder[stateName]) : null === (_c = this.mark.getSpec().encode) || void 0 === _c ? void 0 : _c[stateName];
44259
44285
  if (!encoder) return {};
44260
44286
  if (isFunction$1(encoder)) return encoder(this.getDatum(), this, stateName, nextStates);
44261
- if (!isRuntimeState && (null === (_c = this.graphicItem.states) || void 0 === _c ? void 0 : _c[stateName])) return this.graphicItem.states[stateName];
44287
+ if (!isRuntimeState && (null === (_d = this.graphicItem.states) || void 0 === _d ? void 0 : _d[stateName])) return this.graphicItem.states[stateName];
44262
44288
  const stateItems = this.items.map(item => Object.assign({}, item, {
44263
44289
  nextAttrs: {}
44264
44290
  }));
@@ -46054,13 +46080,13 @@ function configureEnvironment(options) {
46054
46080
  class GlyphElement extends Element$1 {
46055
46081
  constructor(mark) {
46056
46082
  super(mark), this.getStateAttrs = (stateName, nextStates) => {
46057
- var _a, _b, _c;
46083
+ var _a, _b, _c, _d;
46058
46084
  const isRuntimeState = !isNil$1(null === (_a = this.runtimeStatesEncoder) || void 0 === _a ? void 0 : _a[stateName]),
46059
- encoder = isRuntimeState ? this.runtimeStatesEncoder[stateName] : null === (_b = this.mark.getSpec().encode) || void 0 === _b ? void 0 : _b[stateName],
46085
+ encoder = isRuntimeState ? Object.assign(Object.assign({}, null === (_b = this.mark.getSpec().encode) || void 0 === _b ? void 0 : _b[stateName]), this.runtimeStatesEncoder[stateName]) : null === (_c = this.mark.getSpec().encode) || void 0 === _c ? void 0 : _c[stateName],
46060
46086
  glyphStateAttributes = {};
46061
46087
  if (!encoder) return glyphStateAttributes;
46062
46088
  if (isFunction$1(encoder)) return glyphStateAttributes.attributes = encoder(this.getDatum(), this, stateName, nextStates), glyphStateAttributes;
46063
- if (!isRuntimeState && (null === (_c = this.graphicItem.glyphStates) || void 0 === _c ? void 0 : _c[stateName])) return this.graphicItem.glyphStates[stateName];
46089
+ if (!isRuntimeState && (null === (_d = this.graphicItem.glyphStates) || void 0 === _d ? void 0 : _d[stateName])) return this.graphicItem.glyphStates[stateName];
46064
46090
  if (encoder) {
46065
46091
  const item = this.items[0],
46066
46092
  targetItems = [Object.assign({}, item, {
@@ -47134,9 +47160,18 @@ class Mark extends GrammarBase {
47134
47160
  this.graphicIndex = markIndex;
47135
47161
  }
47136
47162
  update(spec) {
47137
- this._context = this.spec.context, this.isUpdated = !0, this.renderContext.progressive || (spec.animation && this.animate.updateConfig(spec.animation), this.animate.updateState(spec.animationState)), this.markType !== GrammarMarkType.group ? (isNil$1(spec.zIndex) || this.graphicItem.setAttribute("zIndex", spec.zIndex), isNil$1(spec.clip) || this.graphicItem.setAttribute("clip", spec.clip), isNil$1(spec.clipPath) || this.graphicItem.setAttribute("path", isArray$1(spec.clipPath) ? spec.clipPath : spec.clipPath(this.elements)), this.elementMap.forEach(element => {
47138
- element.updateGraphicItem();
47139
- })) : this.elementMap.forEach(element => {
47163
+ if (this._context = this.spec.context, this.isUpdated = !0, this.renderContext.progressive || (spec.animation && this.animate.updateConfig(spec.animation), this.animate.updateState(spec.animationState)), this.markType !== GrammarMarkType.group) {
47164
+ if (isNil$1(spec.zIndex) || this.graphicItem.setAttribute("zIndex", spec.zIndex), isNil$1(spec.clip) || this.graphicItem.setAttribute("clip", spec.clip), !isNil$1(spec.clipPath)) {
47165
+ const paths = isArray$1(spec.clipPath) ? spec.clipPath : spec.clipPath(this.elements);
47166
+ paths && paths.length ? this.graphicItem.setAttribute("path", paths) : this.graphicItem.setAttributes({
47167
+ path: paths,
47168
+ clip: !1
47169
+ });
47170
+ }
47171
+ this.elementMap.forEach(element => {
47172
+ element.updateGraphicItem();
47173
+ });
47174
+ } else this.elementMap.forEach(element => {
47140
47175
  element.updateGraphicItem();
47141
47176
  });
47142
47177
  }
@@ -47440,7 +47475,11 @@ let GroupMark$1 = class GroupMark extends Mark {
47440
47475
  getChannelsFromConfig(element) {
47441
47476
  const spec = this.spec,
47442
47477
  initAttrs = {};
47443
- return isNil$1(spec.clip) || (initAttrs.clip = spec.clip), isNil$1(spec.zIndex) || (initAttrs.zIndex = spec.zIndex), isNil$1(spec.clipPath) || (initAttrs.path = isFunction$1(spec.clipPath) ? spec.clipPath([element]) : spec.clipPath), isNil$1(spec.interactive) || (initAttrs.pickable = spec.interactive), initAttrs;
47478
+ if (isNil$1(spec.clip) || (initAttrs.clip = spec.clip), isNil$1(spec.zIndex) || (initAttrs.zIndex = spec.zIndex), !isNil$1(spec.clipPath)) {
47479
+ const paths = isFunction$1(spec.clipPath) ? spec.clipPath([element]) : spec.clipPath;
47480
+ paths && paths.length ? initAttrs.path = paths : (initAttrs.path = null, initAttrs.clip = !1);
47481
+ }
47482
+ return isNil$1(spec.interactive) || (initAttrs.pickable = spec.interactive), initAttrs;
47444
47483
  }
47445
47484
  evaluateGroupEncode(elements, groupEncode, parameters) {
47446
47485
  var _a;
@@ -55099,6 +55138,30 @@ const findHierarchyPath = (hierarchyData, key, keyField = 'key', childrenField =
55099
55138
  dfs(hierarchyData, []);
55100
55139
  return result;
55101
55140
  };
55141
+ function isHierarchyItem(item, valueField = 'value', childrenField = 'children') {
55142
+ if (!isObject$2(item)) {
55143
+ return false;
55144
+ }
55145
+ if (item.hasOwnProperty(childrenField)) {
55146
+ return Array.isArray(item[childrenField]);
55147
+ }
55148
+ return false;
55149
+ }
55150
+ function filterHierarchyDataByRange(data, minValue, maxValue, valueField = 'value', childrenField = 'children') {
55151
+ if (!Array.isArray(data)) {
55152
+ return data;
55153
+ }
55154
+ return data
55155
+ .map(item => {
55156
+ const newItem = Object.assign({}, item);
55157
+ if (Array.isArray(newItem[childrenField])) {
55158
+ newItem[childrenField] = filterHierarchyDataByRange(newItem[childrenField], minValue, maxValue, valueField, childrenField);
55159
+ }
55160
+ return newItem;
55161
+ })
55162
+ .filter(item => (+item[valueField] >= minValue && +item[valueField] <= maxValue) ||
55163
+ (item[childrenField] && item[childrenField].length > 0));
55164
+ }
55102
55165
 
55103
55166
  function transformComponentStyle(cfg = {}) {
55104
55167
  const newConfig = Object.assign({}, cfg);
@@ -66274,7 +66337,7 @@ const registerCanvasTooltipHandler = () => {
66274
66337
  registerComponentPlugin(CanvasTooltipHandler);
66275
66338
  };
66276
66339
 
66277
- const version = "1.11.2";
66340
+ const version = "1.11.3";
66278
66341
 
66279
66342
  const addVChartProperty = (data, op) => {
66280
66343
  const context = op.beforeCall();
@@ -71949,6 +72012,13 @@ class BaseChart extends CompilableBase {
71949
72012
  result.reMake = true;
71950
72013
  return result;
71951
72014
  }
72015
+ for (let i = 0; i < currentKeys.length; i++) {
72016
+ const key = currentKeys[i];
72017
+ if (isArray$1(this._spec[key]) && this._spec[key].length !== spec[key].length) {
72018
+ result.reMake = true;
72019
+ return result;
72020
+ }
72021
+ }
71952
72022
  const oldSpec = this._spec;
71953
72023
  this._spec = spec;
71954
72024
  this.updateChartConfig(result, oldSpec);
@@ -73630,22 +73700,31 @@ class BarSeries extends CartesianSeries {
73630
73700
  const xScale = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getScale) === null || _b === void 0 ? void 0 : _b.call(_a, 0);
73631
73701
  const yScale = (_d = (_c = this._yAxisHelper) === null || _c === void 0 ? void 0 : _c.getScale) === null || _d === void 0 ? void 0 : _d.call(_c, 0);
73632
73702
  if (this.direction === "horizontal") {
73633
- this.setMarkStyle(this._barMark, {
73634
- x: datum => this._getBarXStart(datum, xScale),
73635
- x1: datum => this._getBarXEnd(datum, xScale),
73636
- y: datum => valueInScaleRange(this.dataToPositionY(datum), yScale),
73637
- y1: datum => valueInScaleRange(this.dataToPositionY1(datum), yScale)
73638
- }, 'normal', AttributeLevel.Series);
73703
+ const yChannels = isValid$1(this._fieldY2)
73704
+ ? {
73705
+ y: (datum) => valueInScaleRange(this._dataToPosY(datum), yScale),
73706
+ y1: (datum) => valueInScaleRange(this._dataToPosY1(datum), yScale)
73707
+ }
73708
+ : {
73709
+ y: (datum) => valueInScaleRange(this._dataToPosY(datum) - this._getBarWidth(this._yAxisHelper) / 2, yScale),
73710
+ height: (datum) => this._getBarWidth(this._yAxisHelper)
73711
+ };
73712
+ this.setMarkStyle(this._barMark, Object.assign({ x: (datum) => this._getBarXStart(datum, xScale), x1: (datum) => this._getBarXEnd(datum, xScale) }, yChannels), 'normal', AttributeLevel.Series);
73713
+ this.setMarkStyle(this._barBackgroundMark, Object.assign({ x: () => this._getBarBackgroundXStart(xScale), x1: () => this._getBarBackgroundXEnd(xScale) }, yChannels), 'normal', AttributeLevel.Series);
73639
73714
  }
73640
73715
  else {
73641
- this.setMarkStyle(this._barMark, {
73642
- x: (datum) => valueInScaleRange(this.dataToPositionX(datum), xScale),
73643
- x1: (datum) => valueInScaleRange(this.dataToPositionX1(datum), xScale),
73644
- y: datum => this._getBarYStart(datum, yScale),
73645
- y1: datum => this._getBarYEnd(datum, yScale)
73646
- }, 'normal', AttributeLevel.Series);
73716
+ const xChannels = isValid$1(this._fieldX2)
73717
+ ? {
73718
+ x: (datum) => valueInScaleRange(this._dataToPosX(datum), xScale),
73719
+ x1: (datum) => valueInScaleRange(this._dataToPosX1(datum), xScale)
73720
+ }
73721
+ : {
73722
+ x: (datum) => valueInScaleRange(this._dataToPosX(datum) - this._getBarWidth(this._xAxisHelper) / 2, xScale),
73723
+ width: (datum) => this._getBarWidth(this._xAxisHelper)
73724
+ };
73725
+ this.setMarkStyle(this._barMark, Object.assign(Object.assign({}, xChannels), { y: datum => this._getBarYStart(datum, yScale), y1: datum => this._getBarYEnd(datum, yScale) }), 'normal', AttributeLevel.Series);
73726
+ this.setMarkStyle(this._barBackgroundMark, Object.assign(Object.assign({}, xChannels), { y: () => this._getBarBackgroundYStart(yScale), y1: () => this._getBarBackgroundYEnd(yScale) }), 'normal', AttributeLevel.Series);
73647
73727
  }
73648
- this._initLinearBarBackgroundMarkStyle();
73649
73728
  }
73650
73729
  _initBandBarBackgroundMarkStyle() {
73651
73730
  var _a, _b, _c, _d, _e;
@@ -73677,27 +73756,6 @@ class BarSeries extends CartesianSeries {
73677
73756
  }, 'normal', AttributeLevel.Series);
73678
73757
  }
73679
73758
  }
73680
- _initLinearBarBackgroundMarkStyle() {
73681
- var _a, _b, _c, _d;
73682
- const xScale = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getScale) === null || _b === void 0 ? void 0 : _b.call(_a, 0);
73683
- const yScale = (_d = (_c = this._yAxisHelper) === null || _c === void 0 ? void 0 : _c.getScale) === null || _d === void 0 ? void 0 : _d.call(_c, 0);
73684
- if (this.direction === "horizontal") {
73685
- this.setMarkStyle(this._barBackgroundMark, {
73686
- x: () => this._getBarBackgroundXStart(xScale),
73687
- x1: () => this._getBarBackgroundXEnd(xScale),
73688
- y: datum => valueInScaleRange(this.dataToPositionY(datum), yScale),
73689
- y1: datum => valueInScaleRange(this.dataToPositionY1(datum), yScale)
73690
- }, 'normal', AttributeLevel.Series);
73691
- }
73692
- else {
73693
- this.setMarkStyle(this._barBackgroundMark, {
73694
- x: datum => valueInScaleRange(this.dataToPositionX(datum), xScale),
73695
- x1: datum => valueInScaleRange(this.dataToPositionX1(datum), xScale),
73696
- y: () => this._getBarBackgroundYStart(yScale),
73697
- y1: () => this._getBarBackgroundYEnd(yScale)
73698
- }, 'normal', AttributeLevel.Series);
73699
- }
73700
- }
73701
73759
  initAnimation() {
73702
73760
  var _a, _b;
73703
73761
  const barAnimationParams = {
@@ -85923,7 +85981,8 @@ const ascendingNodeBreadth = (a, b) => (null == a ? void 0 : a.y0) - (null == b
85923
85981
  center: center,
85924
85982
  start: left,
85925
85983
  end: right
85926
- };
85984
+ },
85985
+ linkClampe = clamper(0, 1);
85927
85986
  class SankeyLayout {
85928
85987
  constructor(options) {
85929
85988
  this._ascendingSourceBreadth = (a, b) => ascendingNodeBreadth(this._nodeMap[a.source], this._nodeMap[b.source]) || a.index - b.index, this._ascendingTargetBreadth = (a, b) => ascendingNodeBreadth(this._nodeMap[a.target], this._nodeMap[b.target]) || a.index - b.index, this.options = Object.assign({}, SankeyLayout.defaultOptions, options);
@@ -86234,7 +86293,7 @@ class SankeyLayout {
86234
86293
  const isStartGap = "start" === this.options.gapPosition,
86235
86294
  isMiddleGap = !isStartGap && "end" !== this.options.gapPosition,
86236
86295
  getNodeHeight = isNumber$1(this.options.nodeHeight) ? node => this.options.nodeHeight : isFunction$1(this.options.nodeHeight) ? this.options.nodeHeight : forceNodeHeight > 0 ? node => forceNodeHeight : node => Math.max(node.value * ky, minNodeHeight, 0),
86237
- getLinkHeight = isNumber$1(this.options.linkHeight) ? () => this.options.linkHeight : isFunction$1(this.options.linkHeight) ? this.options.linkHeight : (link, sourceNode, sourceNodeHeight) => Math.max(sourceNode.value ? sourceNodeHeight * link.value / sourceNode.value : 0, minLinkHeight, 0);
86296
+ getLinkHeight = isNumber$1(this.options.linkHeight) ? () => this.options.linkHeight : isFunction$1(this.options.linkHeight) ? this.options.linkHeight : (link, sourceNode, sourceNodeHeight) => Math.max(sourceNode.value ? sourceNodeHeight * linkClampe(link.value / sourceNode.value) : 0, minLinkHeight, 0);
86238
86297
  for (let i = 0, columnCount = columns.length; i < columnCount; i++) {
86239
86298
  const nodes = columns[i];
86240
86299
  if (!nodes || !nodes.length) continue;
@@ -86262,7 +86321,7 @@ class SankeyLayout {
86262
86321
  }
86263
86322
  }
86264
86323
  } else if (deltaY < 0 && nodes.length > 1 && (deltaY /= nodes.length - 1, gapY + deltaY > 0)) {
86265
- gapY += deltaY;
86324
+ gapY += deltaY, this._gapY = Math.min(gapY);
86266
86325
  for (let j = 1, len = nodes.length; j < len; ++j) {
86267
86326
  const node = nodes[j];
86268
86327
  node.y0 += deltaY * j, node.y1 += deltaY * j;
@@ -86360,15 +86419,17 @@ class SankeyLayout {
86360
86419
  computeLinkBreadthsNoOverlap(nodes) {
86361
86420
  for (let i = 0, len = nodes.length; i < len; i++) {
86362
86421
  const node = nodes[i];
86363
- let y0 = node.y0;
86422
+ let y0 = node.y0,
86423
+ reachBottom = !1;
86364
86424
  for (let j = 0, linkLen = node.sourceLinks.length; j < linkLen; j++) {
86365
86425
  const link = node.sourceLinks[j];
86366
- link.y0 = y0 + link.thickness / 2, link.x0 = node.x1, y0 += link.thickness;
86426
+ reachBottom || (link.y0 = y0 + link.thickness / 2), link.x0 = node.x1, y0 + link.thickness > node.y1 || reachBottom ? (link.y0 = node.y1 - link.thickness / 2, reachBottom = !0) : y0 += link.thickness;
86367
86427
  }
86368
86428
  let y1 = node.y0;
86429
+ reachBottom = !1;
86369
86430
  for (let j = 0, linkLen = node.targetLinks.length; j < linkLen; j++) {
86370
86431
  const link = node.targetLinks[j];
86371
- link.y1 = y1 + link.thickness / 2, link.x1 = node.x0, y1 += link.thickness;
86432
+ reachBottom || (link.y1 = y1 + link.thickness / 2), link.x1 = node.x0, y1 + link.thickness > node.y1 || reachBottom ? (link.y1 = node.y1 - link.thickness / 2, reachBottom = !0) : y1 += link.thickness;
86372
86433
  }
86373
86434
  }
86374
86435
  }
@@ -87800,6 +87861,9 @@ class TreemapSeries extends CartesianSeries {
87800
87861
  this.transformerConstructor = TreemapSeriesSpecTransformer;
87801
87862
  this._viewBox = new Bounds();
87802
87863
  this._enableAnimationHook = this.enableMarkAnimation.bind(this);
87864
+ this.isHierarchyData = () => {
87865
+ return true;
87866
+ };
87803
87867
  }
87804
87868
  getCategoryField() {
87805
87869
  return this._categoryField;
@@ -92017,14 +92081,24 @@ class SankeyChart extends BaseChart {
92017
92081
  r.getSeries().forEach(s => {
92018
92082
  var _a, _b;
92019
92083
  let activeNodeOrLink = null;
92020
- s.getMarks().forEach(m => {
92084
+ s.getMarksWithoutRoot().forEach(m => {
92085
+ if (m.type === 'text') {
92086
+ return;
92087
+ }
92021
92088
  let pickElement = null;
92022
92089
  const mark = m.getProduct();
92023
92090
  if (!mark) {
92024
92091
  return;
92025
92092
  }
92026
92093
  if (!filter || (isFunction$1(filter) && filter(s, m))) {
92027
- pickElement = mark.elements.find((e) => keys.every(k => { var _a, _b; return activeDatum[k] == ((_b = (_a = e.getDatum()) === null || _a === void 0 ? void 0 : _a.datum) === null || _b === void 0 ? void 0 : _b[k]); }));
92094
+ pickElement = mark.elements.find((e) => keys.every(k => {
92095
+ var _a;
92096
+ let datum = (_a = e.getDatum()) === null || _a === void 0 ? void 0 : _a.datum;
92097
+ if (isArray$1(datum)) {
92098
+ datum = datum[0];
92099
+ }
92100
+ return activeDatum[k] == (datum === null || datum === void 0 ? void 0 : datum[k]);
92101
+ }));
92028
92102
  }
92029
92103
  if (pickElement) {
92030
92104
  hasPick = true;
@@ -92747,18 +92821,26 @@ const continuousLegendDataMake = (data, op) => {
92747
92821
  return [];
92748
92822
  };
92749
92823
  const continuousLegendFilter = (data, op) => {
92750
- const { selected, field, data: legendData } = op;
92824
+ const { selected, field, data: legendData, isHierarchyData } = op;
92751
92825
  const selectedRange = selected();
92752
92826
  const datumField = field();
92753
92827
  const dataRange = legendData();
92828
+ const isHierarchy = isHierarchyData
92829
+ ? isHierarchyData
92830
+ : (data) => data && data.some(d => d && isHierarchyItem(d));
92754
92831
  if (selectedRange === dataRange) {
92755
92832
  return data;
92756
92833
  }
92757
92834
  if (datumField && !isEmpty(selectedRange)) {
92758
92835
  const [min, max] = selectedRange;
92759
- return data.filter(datum => {
92760
- return datum[datumField] >= min && datum[datumField] <= max;
92761
- });
92836
+ if (isHierarchy(data)) {
92837
+ return filterHierarchyDataByRange(data, +min, +max);
92838
+ }
92839
+ else {
92840
+ return data.filter(datum => {
92841
+ return datum[datumField] >= min && datum[datumField] <= max;
92842
+ });
92843
+ }
92762
92844
  }
92763
92845
  return data;
92764
92846
  };
@@ -92862,7 +92944,8 @@ class ContinuousLegend extends BaseLegend {
92862
92944
  options: {
92863
92945
  selected: () => this._selectedData,
92864
92946
  field: () => this._field,
92865
- data: () => this._legendData.getLatestData()
92947
+ data: () => this._legendData.getLatestData(),
92948
+ isHierarchyData: s.isHierarchyData
92866
92949
  },
92867
92950
  level: TransformLevel.legendFilter
92868
92951
  });
@@ -95992,13 +96075,13 @@ class DataZoom extends DataFilterBaseComponent {
95992
96075
  }, orient: this._orient, size: {
95993
96076
  width: this.getLayoutRect().width,
95994
96077
  height: this.getLayoutRect().height
95995
- }, showDetail: spec.showDetail, brushSelect: (_b = spec.brushSelect) !== null && _b !== void 0 ? _b : false, zoomLock: (_c = spec.zoomLock) !== null && _c !== void 0 ? _c : false, minSpan: this._minSpan, maxSpan: this._maxSpan, delayType: spec.delayType, delayTime: isValid$1(spec.delayType) ? (_d = spec.delayTime) !== null && _d !== void 0 ? _d : 30 : 0, realTime: (_e = spec.realTime) !== null && _e !== void 0 ? _e : true, previewData: isNeedPreview && this._data.getLatestData(), previewPointsX: isNeedPreview && this._dataToPositionX, previewPointsY: isNeedPreview && this._dataToPositionY, tolerance: this._spec.tolerance }, this._getComponentAttrs());
96078
+ }, showDetail: spec.showDetail, brushSelect: (_b = spec.brushSelect) !== null && _b !== void 0 ? _b : false, zoomLock: (_c = spec.zoomLock) !== null && _c !== void 0 ? _c : false, minSpan: this._minSpan, maxSpan: this._maxSpan, delayType: spec.delayType, delayTime: isValid$1(spec.delayType) ? (_d = spec.delayTime) !== null && _d !== void 0 ? _d : 30 : 0, realTime: (_e = spec.realTime) !== null && _e !== void 0 ? _e : true, previewData: isNeedPreview && this._data.getLatestData(), previewPointsX: isNeedPreview && this._dataToPositionX, previewPointsY: isNeedPreview && this._dataToPositionY, tolerance: this._spec.tolerance }, this._getComponentAttrs(isNeedPreview));
95996
96079
  }
95997
96080
  _createOrUpdateComponent() {
95998
96081
  if (this._visible) {
95999
96082
  const xScale = this._isHorizontal ? this._stateScale : this._valueScale;
96000
96083
  const yScale = this._isHorizontal ? this._valueScale : this._stateScale;
96001
- const isNeedPreview = this._isScaleValid(xScale) && this._isScaleValid(yScale);
96084
+ const isNeedPreview = this._isScaleValid(xScale) && this._isScaleValid(yScale) && this._spec.showBackgroundChart !== false;
96002
96085
  const attrs = this._getAttrs(isNeedPreview);
96003
96086
  if (this._component) {
96004
96087
  this._component.setAttributes(attrs);
@@ -96062,7 +96145,7 @@ class DataZoom extends DataFilterBaseComponent {
96062
96145
  }
96063
96146
  }
96064
96147
  }
96065
- _getComponentAttrs() {
96148
+ _getComponentAttrs(isNeedPreview) {
96066
96149
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
96067
96150
  const { middleHandler = {}, startText = {}, endText = {}, backgroundChart = {}, selectedBackgroundChart = {} } = this._spec;
96068
96151
  return {
@@ -96091,14 +96174,24 @@ class DataZoom extends DataFilterBaseComponent {
96091
96174
  },
96092
96175
  selectedBackgroundStyle: transformToGraphic(this._spec.selectedBackground.style),
96093
96176
  dragMaskStyle: transformToGraphic((_g = this._spec.dragMask) === null || _g === void 0 ? void 0 : _g.style),
96094
- backgroundChartStyle: {
96095
- line: mergeSpec(transformToGraphic((_h = backgroundChart.line) === null || _h === void 0 ? void 0 : _h.style), { fill: false }),
96096
- area: Object.assign({ curveType: 'basis', visible: true }, transformToGraphic((_j = backgroundChart.area) === null || _j === void 0 ? void 0 : _j.style))
96097
- },
96098
- selectedBackgroundChartStyle: {
96099
- line: mergeSpec(transformToGraphic((_k = selectedBackgroundChart.line) === null || _k === void 0 ? void 0 : _k.style), { fill: false }),
96100
- area: Object.assign({ curveType: 'basis', visible: true }, transformToGraphic((_l = selectedBackgroundChart.area) === null || _l === void 0 ? void 0 : _l.style))
96101
- },
96177
+ backgroundChartStyle: isNeedPreview
96178
+ ? {
96179
+ line: mergeSpec(transformToGraphic((_h = backgroundChart.line) === null || _h === void 0 ? void 0 : _h.style), { fill: false }),
96180
+ area: Object.assign({ curveType: 'basis', visible: true }, transformToGraphic((_j = backgroundChart.area) === null || _j === void 0 ? void 0 : _j.style))
96181
+ }
96182
+ : {
96183
+ line: { visible: false },
96184
+ area: { visible: false }
96185
+ },
96186
+ selectedBackgroundChartStyle: isNeedPreview
96187
+ ? {
96188
+ line: mergeSpec(transformToGraphic((_k = selectedBackgroundChart.line) === null || _k === void 0 ? void 0 : _k.style), { fill: false }),
96189
+ area: Object.assign({ curveType: 'basis', visible: true }, transformToGraphic((_l = selectedBackgroundChart.area) === null || _l === void 0 ? void 0 : _l.style))
96190
+ }
96191
+ : {
96192
+ line: { visible: false },
96193
+ area: { visible: false }
96194
+ },
96102
96195
  disableTriggerEvent: this._option.disableTriggerEvent
96103
96196
  };
96104
96197
  }
@@ -101355,4 +101448,4 @@ const registerVennChart = () => {
101355
101448
  Factory.registerChart(VennChart.type, VennChart);
101356
101449
  };
101357
101450
 
101358
- export { ARC_END_ANGLE, ARC_K, ARC_MIDDLE_ANGLE, ARC_QUADRANT, ARC_RADIAN, ARC_RATIO, ARC_START_ANGLE, ARC_TRANSFORM_VALUE, Arc3dMark, ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BASE_EVENTS, Bar3dChart, Bar3dSeries, BarChart, BarSeries, BaseChart, BaseMark, BaseSeries, BoxPlotChart, BoxPlotSeries, Brush, CORRELATION_SIZE, CORRELATION_X, CORRELATION_Y, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, CirclePackingChart, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, CommonChart, ComponentMark, ComposedEventMapper, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CONICAL_GRADIENT_CONFIG, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_GRADIENT_CONFIG, DEFAULT_LABEL_ALIGN, DEFAULT_LABEL_LIMIT, DEFAULT_LABEL_TEXT, DEFAULT_LABEL_VISIBLE, DEFAULT_LABEL_X, DEFAULT_LABEL_Y, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_GRADIENT_CONFIG, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_RADIAL_GRADIENT_CONFIG, DEFAULT_SERIES_STYLE_NAME, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, DiscreteLegend, DomTooltipHandler, DotSeries, Event$1 as Event, Event_Bubble_Level, Event_Source_Type, Factory, FormatterPlugin, Funnel3dChart, Funnel3dSeries, FunnelChart, FunnelSeries, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GradientType, GridLayout, GroupMark, HeatmapChart, HeatmapSeries, Histogram3dChart, HistogramChart, ImageMark, Indicator, Label, Layout$1 as Layout, Layout3d, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, MapChart, MapLabelComponent, MapSeries, MediaQuery, POLAR_DEFAULT_RADIUS, POLAR_END_ANGLE, POLAR_END_RADIAN, POLAR_START_ANGLE, POLAR_START_RADIAN, PREFIX, PathMark, Pie3dChart, Pie3dSeries, PieChart, PieSeries, Player, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarSeries, PolygonMark, ProgressLikeSeries, Pyramid3dMark, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumn3dChart, RangeColumn3dSeries, RangeColumnChart, RangeColumnSeries, Rect3dMark, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RuleMark, SEGMENT_FIELD_END, SEGMENT_FIELD_START, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, SankeyChart, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, SunburstChart, SunburstSeries, SymbolMark, TextMark, ThemeManager, Title, Tooltip, TooltipResult, TotalLabel, TreemapChart, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, HOOK_EVENT as VGRAMMAR_HOOK_EVENT, VennChart, VennSeries, WaterfallChart, WaterfallDefaultSeriesField, WaterfallSeries, WordCloud3dChart, WordCloud3dSeries, WordCloudChart, WordCloudSeries, builtinThemes, computeActualDataScheme, darkTheme, dataScheme, VChart as default, defaultThemeName, getActualColor, getColorSchemeBySeries, getDataScheme, getMergedTheme, getTheme, hasThemeMerged, isColorKey, isProgressiveDataColorScheme, isTokenKey, lightTheme, queryColorFromColorScheme, queryToken, registerAllEnv, registerAllMarks, registerArc3dMark, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBar3dChart, registerBar3dSeries, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomMark, registerDataZoom, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerFormatPlugin, registerFunnel3dChart, registerFunnel3dSeries, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGridLayout, registerGroupMark, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogram3dChart, registerHistogramChart, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLayout3d, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapLabel, registerMapSeries, registerMarkArea, registerMarkLine, registerMarkPoint, registerMediaQuery, registerNodeEnv, registerPathMark, registerPie3dChart, registerPie3dSeries, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonMark, registerPoptip, registerPyramid3dMark, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumn3dChart, registerRangeColumn3dSeries, registerRangeColumnChart, registerRangeColumnSeries, registerRect3dMark, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerVennChart, registerVennSeries, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloud3dChart, registerWordCloud3dSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, removeTheme, seriesMarkInfoMap, themeExist, themes, token, transformColorSchemeToStandardStruct, version, vglobal };
101451
+ export { ARC_END_ANGLE, ARC_K, ARC_MIDDLE_ANGLE, ARC_QUADRANT, ARC_RADIAN, ARC_RATIO, ARC_START_ANGLE, ARC_TRANSFORM_VALUE, Arc3dMark, ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BASE_EVENTS, Bar3dChart, Bar3dSeries, BarChart, BarSeries, BaseChart, BaseChartSpecTransformer, BaseMark, BaseSeries, BoxPlotChart, BoxPlotSeries, Brush, CORRELATION_SIZE, CORRELATION_X, CORRELATION_Y, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, CirclePackingChart, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, CommonChart, ComponentMark, ComposedEventMapper, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CONICAL_GRADIENT_CONFIG, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_GRADIENT_CONFIG, DEFAULT_LABEL_ALIGN, DEFAULT_LABEL_LIMIT, DEFAULT_LABEL_TEXT, DEFAULT_LABEL_VISIBLE, DEFAULT_LABEL_X, DEFAULT_LABEL_Y, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_GRADIENT_CONFIG, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_RADIAL_GRADIENT_CONFIG, DEFAULT_SERIES_STYLE_NAME, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, DiscreteLegend, DomTooltipHandler, DotSeries, Event$1 as Event, Event_Bubble_Level, Event_Source_Type, Factory, FormatterPlugin, Funnel3dChart, Funnel3dSeries, FunnelChart, FunnelSeries, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GradientType, GridLayout, GroupMark, HeatmapChart, HeatmapSeries, Histogram3dChart, HistogramChart, ImageMark, Indicator, Label, Layout$1 as Layout, Layout3d, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, MapChart, MapLabelComponent, MapSeries, MediaQuery, POLAR_DEFAULT_RADIUS, POLAR_END_ANGLE, POLAR_END_RADIAN, POLAR_START_ANGLE, POLAR_START_RADIAN, PREFIX, PathMark, Pie3dChart, Pie3dSeries, PieChart, PieSeries, Player, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarSeries, PolygonMark, ProgressLikeSeries, Pyramid3dMark, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumn3dChart, RangeColumn3dSeries, RangeColumnChart, RangeColumnSeries, Rect3dMark, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RuleMark, SEGMENT_FIELD_END, SEGMENT_FIELD_START, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, SankeyChart, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, SunburstChart, SunburstSeries, SymbolMark, TextMark, ThemeManager, Title, Tooltip, TooltipResult, TotalLabel, TreemapChart, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, HOOK_EVENT as VGRAMMAR_HOOK_EVENT, VennChart, VennSeries, WaterfallChart, WaterfallDefaultSeriesField, WaterfallSeries, WordCloud3dChart, WordCloud3dSeries, WordCloudChart, WordCloudSeries, builtinThemes, computeActualDataScheme, darkTheme, dataScheme, VChart as default, defaultThemeName, getActualColor, getColorSchemeBySeries, getDataScheme, getMergedTheme, getTheme, hasThemeMerged, isColorKey, isProgressiveDataColorScheme, isTokenKey, lightTheme, queryColorFromColorScheme, queryToken, registerAllEnv, registerAllMarks, registerArc3dMark, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBar3dChart, registerBar3dSeries, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomMark, registerDataZoom, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerFormatPlugin, registerFunnel3dChart, registerFunnel3dSeries, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGridLayout, registerGroupMark, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogram3dChart, registerHistogramChart, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLayout3d, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapLabel, registerMapSeries, registerMarkArea, registerMarkLine, registerMarkPoint, registerMediaQuery, registerNodeEnv, registerPathMark, registerPie3dChart, registerPie3dSeries, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonMark, registerPoptip, registerPyramid3dMark, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumn3dChart, registerRangeColumn3dSeries, registerRangeColumnChart, registerRangeColumnSeries, registerRect3dMark, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerVennChart, registerVennSeries, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloud3dChart, registerWordCloud3dSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, removeTheme, seriesMarkInfoMap, themeExist, themes, token, transformColorSchemeToStandardStruct, version, vglobal };