@visactor/vchart 1.6.1-alpha.0 → 1.6.2

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 (133) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.js +133 -124
  3. package/build/index.min.js +1 -1
  4. package/build/tsconfig.tsbuildinfo +1 -1
  5. package/cjs/compile/compilable-base.js +1 -2
  6. package/cjs/compile/grammar-item.js +2 -1
  7. package/cjs/component/marker/mark-point/interface/spec.d.ts +2 -2
  8. package/cjs/component/marker/mark-point/interface/spec.js.map +1 -1
  9. package/cjs/component/marker/mark-point/interface/theme.d.ts +5 -5
  10. package/cjs/component/marker/mark-point/interface/theme.js.map +1 -1
  11. package/cjs/component/tooltip/handler/dom/model/content-column-model.js +4 -2
  12. package/cjs/component/tooltip/handler/dom/model/content-column-model.js.map +1 -1
  13. package/cjs/component/tooltip/handler/dom/util.js +2 -2
  14. package/cjs/component/tooltip/handler/dom/util.js.map +1 -1
  15. package/cjs/component/tooltip/handler/utils/attribute.js +1 -2
  16. package/cjs/component/tooltip/handler/utils/attribute.js.map +1 -1
  17. package/cjs/core/index.d.ts +1 -1
  18. package/cjs/core/index.js +1 -1
  19. package/cjs/core/index.js.map +1 -1
  20. package/cjs/layout/grid-layout/grid-layout.js +4 -4
  21. package/cjs/layout/grid-layout/grid-layout.js.map +1 -1
  22. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js +2 -2
  23. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  24. package/cjs/theme/builtin/common/component/axis/common-axis.js +1 -1
  25. package/cjs/theme/builtin/common/component/axis/common-axis.js.map +1 -1
  26. package/cjs/theme/builtin/common/component/crosshair.js +5 -5
  27. package/cjs/theme/builtin/common/component/crosshair.js.map +1 -1
  28. package/cjs/theme/builtin/common/component/data-zoom.js +10 -10
  29. package/cjs/theme/builtin/common/component/data-zoom.js.map +1 -1
  30. package/cjs/theme/builtin/common/component/indicator.js +1 -1
  31. package/cjs/theme/builtin/common/component/indicator.js.map +1 -1
  32. package/cjs/theme/builtin/common/component/legend/color-legend.js +4 -3
  33. package/cjs/theme/builtin/common/component/legend/color-legend.js.map +1 -1
  34. package/cjs/theme/builtin/common/component/legend/discrete-legend.js +2 -2
  35. package/cjs/theme/builtin/common/component/legend/discrete-legend.js.map +1 -1
  36. package/cjs/theme/builtin/common/component/legend/size-legend.js +6 -6
  37. package/cjs/theme/builtin/common/component/legend/size-legend.js.map +1 -1
  38. package/cjs/theme/builtin/common/component/map-label.js.map +1 -1
  39. package/cjs/theme/builtin/common/component/mark-area.js.map +1 -1
  40. package/cjs/theme/builtin/common/component/mark-line.js +9 -9
  41. package/cjs/theme/builtin/common/component/mark-line.js.map +1 -1
  42. package/cjs/theme/builtin/common/component/mark-point.js +3 -15
  43. package/cjs/theme/builtin/common/component/mark-point.js.map +1 -1
  44. package/cjs/theme/builtin/common/component/player.js +7 -7
  45. package/cjs/theme/builtin/common/component/player.js.map +1 -1
  46. package/cjs/theme/builtin/common/component/poptip.js +4 -3
  47. package/cjs/theme/builtin/common/component/poptip.js.map +1 -1
  48. package/cjs/theme/builtin/common/component/scroll-bar.js +1 -1
  49. package/cjs/theme/builtin/common/component/scroll-bar.js.map +1 -1
  50. package/cjs/theme/builtin/common/component/title.js +1 -1
  51. package/cjs/theme/builtin/common/component/title.js.map +1 -1
  52. package/cjs/theme/builtin/common/component/tooltip.js +4 -3
  53. package/cjs/theme/builtin/common/component/tooltip.js.map +1 -1
  54. package/cjs/theme/builtin/common/component/total-label.js.map +1 -1
  55. package/cjs/theme/builtin/common/mark.js.map +1 -1
  56. package/cjs/theme/builtin/common/series/rangeColumn.js +1 -1
  57. package/cjs/theme/builtin/common/series/rangeColumn.js.map +1 -1
  58. package/cjs/theme/builtin/dark/color-scheme.js +10 -19
  59. package/cjs/theme/builtin/dark/color-scheme.js.map +1 -1
  60. package/cjs/theme/builtin/light/color-scheme.js +9 -18
  61. package/cjs/theme/builtin/light/color-scheme.js.map +1 -1
  62. package/cjs/theme/color-scheme/builtin/interface.d.ts +7 -16
  63. package/cjs/theme/color-scheme/builtin/interface.js.map +1 -1
  64. package/cjs/theme/color-scheme/legacy.d.ts +5 -0
  65. package/cjs/theme/color-scheme/legacy.js +21 -0
  66. package/cjs/theme/color-scheme/legacy.js.map +1 -0
  67. package/cjs/theme/color-scheme/util.js +5 -6
  68. package/cjs/theme/color-scheme/util.js.map +1 -1
  69. package/esm/compile/compilable-base.js +1 -2
  70. package/esm/compile/grammar-item.js +2 -1
  71. package/esm/component/marker/mark-point/interface/spec.d.ts +2 -2
  72. package/esm/component/marker/mark-point/interface/spec.js.map +1 -1
  73. package/esm/component/marker/mark-point/interface/theme.d.ts +5 -5
  74. package/esm/component/marker/mark-point/interface/theme.js.map +1 -1
  75. package/esm/component/tooltip/handler/dom/model/content-column-model.js +4 -2
  76. package/esm/component/tooltip/handler/dom/model/content-column-model.js.map +1 -1
  77. package/esm/component/tooltip/handler/dom/util.js +2 -2
  78. package/esm/component/tooltip/handler/dom/util.js.map +1 -1
  79. package/esm/component/tooltip/handler/utils/attribute.js +1 -2
  80. package/esm/component/tooltip/handler/utils/attribute.js.map +1 -1
  81. package/esm/core/index.d.ts +1 -1
  82. package/esm/core/index.js +1 -1
  83. package/esm/core/index.js.map +1 -1
  84. package/esm/layout/grid-layout/grid-layout.js +4 -4
  85. package/esm/layout/grid-layout/grid-layout.js.map +1 -1
  86. package/esm/theme/builtin/common/component/axis/cartesian-axis.js +2 -2
  87. package/esm/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  88. package/esm/theme/builtin/common/component/axis/common-axis.js +1 -1
  89. package/esm/theme/builtin/common/component/axis/common-axis.js.map +1 -1
  90. package/esm/theme/builtin/common/component/crosshair.js +5 -5
  91. package/esm/theme/builtin/common/component/crosshair.js.map +1 -1
  92. package/esm/theme/builtin/common/component/data-zoom.js +10 -10
  93. package/esm/theme/builtin/common/component/data-zoom.js.map +1 -1
  94. package/esm/theme/builtin/common/component/indicator.js +1 -1
  95. package/esm/theme/builtin/common/component/indicator.js.map +1 -1
  96. package/esm/theme/builtin/common/component/legend/color-legend.js +4 -3
  97. package/esm/theme/builtin/common/component/legend/color-legend.js.map +1 -1
  98. package/esm/theme/builtin/common/component/legend/discrete-legend.js +2 -2
  99. package/esm/theme/builtin/common/component/legend/discrete-legend.js.map +1 -1
  100. package/esm/theme/builtin/common/component/legend/size-legend.js +6 -6
  101. package/esm/theme/builtin/common/component/legend/size-legend.js.map +1 -1
  102. package/esm/theme/builtin/common/component/map-label.js.map +1 -1
  103. package/esm/theme/builtin/common/component/mark-area.js.map +1 -1
  104. package/esm/theme/builtin/common/component/mark-line.js +9 -9
  105. package/esm/theme/builtin/common/component/mark-line.js.map +1 -1
  106. package/esm/theme/builtin/common/component/mark-point.js +3 -15
  107. package/esm/theme/builtin/common/component/mark-point.js.map +1 -1
  108. package/esm/theme/builtin/common/component/player.js +7 -7
  109. package/esm/theme/builtin/common/component/player.js.map +1 -1
  110. package/esm/theme/builtin/common/component/poptip.js +4 -3
  111. package/esm/theme/builtin/common/component/poptip.js.map +1 -1
  112. package/esm/theme/builtin/common/component/scroll-bar.js +1 -1
  113. package/esm/theme/builtin/common/component/scroll-bar.js.map +1 -1
  114. package/esm/theme/builtin/common/component/title.js +1 -1
  115. package/esm/theme/builtin/common/component/title.js.map +1 -1
  116. package/esm/theme/builtin/common/component/tooltip.js +4 -3
  117. package/esm/theme/builtin/common/component/tooltip.js.map +1 -1
  118. package/esm/theme/builtin/common/component/total-label.js.map +1 -1
  119. package/esm/theme/builtin/common/mark.js.map +1 -1
  120. package/esm/theme/builtin/common/series/rangeColumn.js +1 -1
  121. package/esm/theme/builtin/common/series/rangeColumn.js.map +1 -1
  122. package/esm/theme/builtin/dark/color-scheme.js +10 -19
  123. package/esm/theme/builtin/dark/color-scheme.js.map +1 -1
  124. package/esm/theme/builtin/light/color-scheme.js +9 -18
  125. package/esm/theme/builtin/light/color-scheme.js.map +1 -1
  126. package/esm/theme/color-scheme/builtin/interface.d.ts +7 -16
  127. package/esm/theme/color-scheme/builtin/interface.js.map +1 -1
  128. package/esm/theme/color-scheme/legacy.d.ts +5 -0
  129. package/esm/theme/color-scheme/legacy.js +18 -0
  130. package/esm/theme/color-scheme/legacy.js.map +1 -0
  131. package/esm/theme/color-scheme/util.js +7 -5
  132. package/esm/theme/color-scheme/util.js.map +1 -1
  133. package/package.json +9 -9
package/build/index.js CHANGED
@@ -6889,31 +6889,22 @@
6889
6889
  palette: {
6890
6890
  backgroundColor: '#ffffff',
6891
6891
  borderColor: '#e3e5e8',
6892
- shadowColor: 'rgba(33,37,44,0.1)',
6893
- hoverBackgroundColor: '#f1f2f5',
6894
- sliderRailColor: '#f1f3f4',
6895
- sliderHandleColor: '#ffffff',
6896
- sliderTrackColor: '#0040ff',
6897
- popupBackgroundColor: '#ffffff',
6892
+ shadowColor: '#21252c',
6898
6893
  primaryFontColor: '#21252c',
6899
6894
  secondaryFontColor: '#606773',
6900
- tertiaryFontColor: '#89909d',
6901
- axisLabelFontColor: '#89909d',
6895
+ axisFontColor: '#89909d',
6902
6896
  disableFontColor: '#bcc1cb',
6903
- axisMarkerFontColor: '#ffffff',
6897
+ labelReverseFontColor: '#ffffff',
6904
6898
  axisGridColor: '#f1f2f5',
6905
6899
  axisDomainColor: '#d9dde4',
6906
- dataZoomHandleStrokeColor: '#aeb5be',
6900
+ dataZoomHandlerStrokeColor: '#aeb5be',
6901
+ dataZoomHandlerFillColor: '#ffffff',
6902
+ dataZoomBackgroundColor: '#f1f3f4',
6907
6903
  dataZoomChartColor: '#c9ced8',
6908
- playerControllerColor: '#0040ff',
6904
+ dataZoomSelectedColor: '#0040ff',
6909
6905
  scrollBarSliderColor: '#000000',
6910
- axisMarkerBackgroundColor: '#21252c',
6911
- markLabelBackgroundColor: '#f1f2f5',
6912
- markLineStrokeColor: '#606773',
6913
- dangerColor: '#e33232',
6914
- warningColor: '#ffc528',
6915
- successColor: '#07a35a',
6916
- infoColor: '#3073f2'
6906
+ tooltipBackgroundColor: '#ffffff',
6907
+ markLabelBackgroundColor: '#ffc528'
6917
6908
  }
6918
6909
  }
6919
6910
  };
@@ -13749,13 +13740,12 @@
13749
13740
  };
13750
13741
  }
13751
13742
  onBind() {
13752
- var _a, _b, _c, _d, _e, _f;
13753
- this.fromNumber = isNumber$2(null === (_a = this.from) || void 0 === _a ? void 0 : _a.text) ? null === (_b = this.from) || void 0 === _b ? void 0 : _b.text : Number.parseFloat(null === (_c = this.from) || void 0 === _c ? void 0 : _c.text), this.toNumber = isNumber$2(null === (_d = this.to) || void 0 === _d ? void 0 : _d.text) ? null === (_e = this.to) || void 0 === _e ? void 0 : _e.text : Number.parseFloat(null === (_f = this.to) || void 0 === _f ? void 0 : _f.text), Number.isFinite(this.toNumber) || (this.fromNumber = 0), Number.isFinite(this.toNumber) || (this.valid = !1);
13743
+ var _a, _b, _c, _d, _e, _f, _g, _h;
13744
+ this.fromNumber = isNumber$2(null === (_a = this.from) || void 0 === _a ? void 0 : _a.text) ? null === (_b = this.from) || void 0 === _b ? void 0 : _b.text : Number.parseFloat(null === (_c = this.from) || void 0 === _c ? void 0 : _c.text), this.toNumber = isNumber$2(null === (_d = this.to) || void 0 === _d ? void 0 : _d.text) ? null === (_e = this.to) || void 0 === _e ? void 0 : _e.text : Number.parseFloat(null === (_f = this.to) || void 0 === _f ? void 0 : _f.text), Number.isFinite(this.toNumber) || (this.fromNumber = 0), Number.isFinite(this.toNumber) || (this.valid = !1), !1 !== this.valid && (this.decimalLength = null !== (_h = null === (_g = this.params) || void 0 === _g ? void 0 : _g.fixed) && void 0 !== _h ? _h : Math.max(getDecimalPlaces(this.fromNumber), getDecimalPlaces(this.toNumber)));
13754
13745
  }
13755
13746
  onEnd() {}
13756
13747
  onUpdate(end, ratio, out) {
13757
- var _a, _b;
13758
- !1 !== this.valid && (out.text = end ? this.toNumber.toFixed() : (this.fromNumber + (this.toNumber - this.fromNumber) * ratio).toFixed(null !== (_b = null === (_a = this.params) || void 0 === _a ? void 0 : _a.fixed) && void 0 !== _b ? _b : 0));
13748
+ !1 !== this.valid && (out.text = end ? this.toNumber : (this.fromNumber + (this.toNumber - this.fromNumber) * ratio).toFixed(this.decimalLength));
13759
13749
  }
13760
13750
  }
13761
13751
  var Direction$1;
@@ -31834,7 +31824,7 @@
31834
31824
  var _a;
31835
31825
  this.setAttribute("pickable", !1);
31836
31826
  const markerVisible = null === (_a = this.attribute.visible) || void 0 === _a || _a;
31837
- !1 === this.attribute.interactive && this.setAttribute("childrenPickable", !1), markerVisible && (this._container ? (this._updateContainer(), this.updateMarker()) : (this._initContainer(), this.initMarker(this._container)));
31827
+ !1 === this.attribute.interactive && this.setAttribute("childrenPickable", !1), markerVisible && (!this._container && this.isValidPoints() ? (this._initContainer(), this.initMarker(this._container)) : this.isValidPoints() ? (this._updateContainer(), this.updateMarker()) : (this._container = null, this.removeAllChild()));
31838
31828
  }
31839
31829
  }
31840
31830
 
@@ -32093,7 +32083,7 @@
32093
32083
  return this._label;
32094
32084
  }
32095
32085
  constructor(attributes) {
32096
- super(merge$1({}, MarkLine.defaultAttributes, attributes));
32086
+ super(merge$1({}, MarkLine.defaultAttributes, attributes)), this.name = "markLine";
32097
32087
  }
32098
32088
  setLabelPos() {
32099
32089
  var _a, _b;
@@ -32185,6 +32175,12 @@
32185
32175
  dy: 0
32186
32176
  }, label)), this.setLabelPos();
32187
32177
  }
32178
+ isValidPoints() {
32179
+ const {
32180
+ points: points
32181
+ } = this.attribute;
32182
+ return !(!points || points.length < 2);
32183
+ }
32188
32184
  };
32189
32185
  MarkLine$1.defaultAttributes = DEFAULT_MARK_LINE_THEME;
32190
32186
 
@@ -32196,7 +32192,7 @@
32196
32192
  return this._label;
32197
32193
  }
32198
32194
  constructor(attributes) {
32199
- super(merge$1({}, MarkArea.defaultAttributes, attributes));
32195
+ super(merge$1({}, MarkArea.defaultAttributes, attributes)), this.name = "markArea";
32200
32196
  }
32201
32197
  _getPositionByDirection(area, direction) {
32202
32198
  const {
@@ -32275,12 +32271,18 @@
32275
32271
  dy: 0
32276
32272
  }, label)), this.setLabelPos();
32277
32273
  }
32274
+ isValidPoints() {
32275
+ const {
32276
+ points: points
32277
+ } = this.attribute;
32278
+ return !(!points || points.length < 3);
32279
+ }
32278
32280
  };
32279
32281
  MarkArea$1.defaultAttributes = DEFAULT_MARK_AREA_THEME;
32280
32282
 
32281
32283
  let MarkPoint$1 = class MarkPoint extends Marker {
32282
32284
  constructor(attributes) {
32283
- super(merge$1({}, MarkPoint.defaultAttributes, attributes));
32285
+ super(merge$1({}, MarkPoint.defaultAttributes, attributes)), this.name = "markPoint";
32284
32286
  }
32285
32287
  setLabelPos() {}
32286
32288
  setItemAttributes(item, itemContent, itemPosition, itemType) {
@@ -32439,6 +32441,9 @@
32439
32441
  };
32440
32442
  this.setItemLineAttr(itemLine, position, itemPosition, null == itemLine ? void 0 : itemLine.visible), this.setDecorativeLineAttr(itemLine, itemPosition, null === (_a = null == itemLine ? void 0 : itemLine.decorativeLine) || void 0 === _a ? void 0 : _a.visible), this.setItemAttributes(this._item, itemContent, itemPosition, type);
32441
32443
  }
32444
+ isValidPoints() {
32445
+ return !0;
32446
+ }
32442
32447
  };
32443
32448
  MarkPoint$1.defaultAttributes = DEFAULT_MARK_POINT_THEME;
32444
32449
 
@@ -33989,8 +33994,8 @@
33989
33994
  } else niceType = "all";
33990
33995
  if (niceType) {
33991
33996
  const niceDomain = nice(originalDomain.slice(), {
33992
- floor: x => this._pows(Math.floor(this._logs(x))),
33993
- ceil: x => this._pows(Math.ceil(this._logs(x)))
33997
+ floor: x => Math.floor(x),
33998
+ ceil: x => Math.ceil(x)
33994
33999
  });
33995
34000
  return "min" === niceType ? niceDomain[niceDomain.length - 1] = null !== (_a = niceMinMax[1]) && void 0 !== _a ? _a : niceDomain[niceDomain.length - 1] : "max" === niceType && (niceDomain[0] = null !== (_b = niceMinMax[0]) && void 0 !== _b ? _b : niceDomain[0]), this._niceDomain = niceDomain, this.rescale(), this;
33996
34001
  }
@@ -34185,8 +34190,8 @@
34185
34190
  } else niceType = "all";
34186
34191
  if (niceType) {
34187
34192
  const niceDomain = nice(originalDomain.slice(), {
34188
- floor: x => this.untransformer(Math.floor(this.transformer(x))),
34189
- ceil: x => this.untransformer(Math.ceil(this.transformer(x)))
34193
+ floor: x => Math.floor(x),
34194
+ ceil: x => Math.ceil(x)
34190
34195
  });
34191
34196
  return "min" === niceType ? niceDomain[niceDomain.length - 1] = null !== (_a = niceMinMax[1]) && void 0 !== _a ? _a : niceDomain[niceDomain.length - 1] : "max" === niceType && (niceDomain[0] = null !== (_b = niceMinMax[0]) && void 0 !== _b ? _b : niceDomain[0]), this._niceDomain = niceDomain, this.rescale(), this;
34192
34197
  }
@@ -35179,7 +35184,7 @@
35179
35184
  subtextWidth = this._subTitle ? null === (_1 = this._subTitle) || void 0 === _1 ? void 0 : _1.AABBBounds.width() : 0;
35180
35185
  let titleWidth = Math.max(maintextWidth, subtextWidth),
35181
35186
  titleHeight = maintextHeight + (null !== (_2 = null == subtextStyle ? void 0 : subtextStyle.height) && void 0 !== _2 ? _2 : subtextHeight);
35182
- if (isValid$1(width) && (titleWidth = width, null === (_3 = this._mainTitle) || void 0 === _3 || _3.setAttribute("maxLineWidth", width), null === (_4 = this._subTitle) || void 0 === _4 || _4.setAttribute("maxLineWidth", width)), isValid$1(height) && (titleHeight = height), isValid$1(minWidth) && titleWidth < minWidth && (titleWidth = minWidth), isValid$1(maxWidth) && (null === (_5 = this._mainTitle) || void 0 === _5 || _5.setAttribute("maxLineWidth", maxWidth), null === (_6 = this._subTitle) || void 0 === _6 || _6.setAttribute("maxLineWidth", maxWidth), null === (_7 = this._mainTitle) || void 0 === _7 || _7.setAttribute("maxWidth", maxWidth), null === (_8 = this._subTitle) || void 0 === _8 || _8.setAttribute("maxWidth", maxWidth), titleWidth > maxWidth && (titleWidth = maxWidth)), isValid$1(minHeight) && titleHeight < minHeight && (titleHeight = minHeight), isValid$1(maxHeight) && (null === (_9 = this._mainTitle) || void 0 === _9 || _9.setAttribute("maxHeight", maxHeight), null === (_10 = this._subTitle) || void 0 === _10 || _10.setAttribute("maxHeight", maxHeight - maintextHeight), titleHeight > maxHeight && (titleHeight = maxHeight)), group.attribute.width = titleWidth + parsedPadding[1] + parsedPadding[3], group.attribute.height = titleHeight + parsedPadding[0] + parsedPadding[2], isValid$1(align) || isValid$1(null == textStyle ? void 0 : textStyle.align)) {
35187
+ if (isValid$1(width) && (titleWidth = width, null === (_3 = this._mainTitle) || void 0 === _3 || _3.setAttribute("maxLineWidth", width), null === (_4 = this._subTitle) || void 0 === _4 || _4.setAttribute("maxLineWidth", width)), isValid$1(height) && (titleHeight = height), isValid$1(minWidth) && titleWidth < minWidth && (titleWidth = minWidth), isValid$1(maxWidth) && (null === (_5 = this._mainTitle) || void 0 === _5 || _5.setAttribute("maxLineWidth", maxWidth), null === (_6 = this._subTitle) || void 0 === _6 || _6.setAttribute("maxLineWidth", maxWidth), null === (_7 = this._mainTitle) || void 0 === _7 || _7.setAttribute("maxWidth", maxWidth), null === (_8 = this._subTitle) || void 0 === _8 || _8.setAttribute("maxWidth", maxWidth), titleWidth > maxWidth && (titleWidth = maxWidth)), isValid$1(minHeight) && titleHeight < minHeight && (titleHeight = minHeight), isValid$1(maxHeight) && (null === (_9 = this._mainTitle) || void 0 === _9 || _9.setAttribute("maxHeight", maxHeight), null === (_10 = this._subTitle) || void 0 === _10 || _10.setAttribute("maxHeight", maxHeight - maintextHeight), titleHeight > maxHeight && (titleHeight = maxHeight)), group.attribute.width = titleWidth, group.attribute.height = titleHeight, group.attribute.boundsPadding = parsedPadding, isValid$1(align) || isValid$1(null == textStyle ? void 0 : textStyle.align)) {
35183
35188
  const mainTitleAlign = (null == textStyle ? void 0 : textStyle.align) ? null == textStyle ? void 0 : textStyle.align : align,
35184
35189
  mainTitleWidth = null !== (_11 = null == textStyle ? void 0 : textStyle.width) && void 0 !== _11 ? _11 : maintextWidth;
35185
35190
  "left" === mainTitleAlign ? (null === (_12 = this._mainTitle) || void 0 === _12 || _12.setAttribute("x", 0), null === (_13 = this._mainTitle) || void 0 === _13 || _13.setAttribute("textAlign", "left")) : "center" === mainTitleAlign ? (null === (_14 = this._mainTitle) || void 0 === _14 || _14.setAttribute("x", mainTitleWidth / 2), null === (_15 = this._mainTitle) || void 0 === _15 || _15.setAttribute("textAlign", "center")) : "right" === mainTitleAlign && (null === (_16 = this._mainTitle) || void 0 === _16 || _16.setAttribute("x", mainTitleWidth), null === (_17 = this._mainTitle) || void 0 === _17 || _17.setAttribute("textAlign", "right"));
@@ -38175,7 +38180,7 @@
38175
38180
  return 0;
38176
38181
  }
38177
38182
  getStaticCanvasCount() {
38178
- return 1;
38183
+ return 999;
38179
38184
  }
38180
38185
  loadJson(url) {
38181
38186
  const jsonPromise = fetch(url).then(data => data.json());
@@ -48404,7 +48409,7 @@
48404
48409
  offset: 5,
48405
48410
  position: 'inside',
48406
48411
  style: {
48407
- fill: { type: 'palette', key: 'axisMarkerFontColor' }
48412
+ fill: { type: 'palette', key: 'labelReverseFontColor' }
48408
48413
  },
48409
48414
  minLabel: {
48410
48415
  position: minMaxPositionEnum.end
@@ -48635,7 +48640,7 @@
48635
48640
  visible: false,
48636
48641
  style: {
48637
48642
  fontSize: THEME_CONSTANTS.l5FontSize,
48638
- fill: { type: 'palette', key: 'axisLabelFontColor' },
48643
+ fill: { type: 'palette', key: 'axisFontColor' },
48639
48644
  fontWeight: 'normal',
48640
48645
  fillOpacity: 1
48641
48646
  }
@@ -48655,7 +48660,7 @@
48655
48660
  visible: false,
48656
48661
  style: {
48657
48662
  fontSize: THEME_CONSTANTS.l5FontSize,
48658
- fill: { type: 'palette', key: 'axisLabelFontColor' },
48663
+ fill: { type: 'palette', key: 'axisFontColor' },
48659
48664
  fontWeight: 'normal',
48660
48665
  fillOpacity: 1
48661
48666
  }
@@ -48712,7 +48717,7 @@
48712
48717
  space: 10,
48713
48718
  style: {
48714
48719
  fontSize: THEME_CONSTANTS.l5FontSize,
48715
- fill: { type: 'palette', key: 'axisLabelFontColor' },
48720
+ fill: { type: 'palette', key: 'axisFontColor' },
48716
48721
  fontWeight: 'normal',
48717
48722
  fillOpacity: 1
48718
48723
  }
@@ -48788,7 +48793,7 @@
48788
48793
  visible: false,
48789
48794
  style: {
48790
48795
  fontWeight: 'normal',
48791
- fill: { type: 'palette', key: 'axisMarkerFontColor' },
48796
+ fill: { type: 'palette', key: 'labelReverseFontColor' },
48792
48797
  fontSize: THEME_CONSTANTS.l5FontSize
48793
48798
  },
48794
48799
  labelBackground: {
@@ -48799,9 +48804,9 @@
48799
48804
  right: 2
48800
48805
  },
48801
48806
  style: {
48802
- fill: { type: 'palette', key: 'axisMarkerBackgroundColor' },
48807
+ fill: { type: 'palette', key: 'primaryFontColor' },
48803
48808
  outerBorder: {
48804
- stroke: { type: 'palette', key: 'axisMarkerBackgroundColor' },
48809
+ stroke: { type: 'palette', key: 'primaryFontColor' },
48805
48810
  distance: 0,
48806
48811
  lineWidth: 3
48807
48812
  },
@@ -48828,7 +48833,7 @@
48828
48833
  type: 'line',
48829
48834
  visible: true,
48830
48835
  style: {
48831
- stroke: { type: 'palette', key: 'markLineStrokeColor' },
48836
+ stroke: { type: 'palette', key: 'secondaryFontColor' },
48832
48837
  opacity: 0.7,
48833
48838
  lineDash: [2, 3]
48834
48839
  }
@@ -48854,15 +48859,15 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
48854
48859
  background: {
48855
48860
  size: 6,
48856
48861
  style: {
48857
- stroke: { type: 'palette', key: 'dataZoomHandleStrokeColor' },
48862
+ stroke: { type: 'palette', key: 'dataZoomHandlerStrokeColor' },
48858
48863
  cornerRadius: 2
48859
48864
  }
48860
48865
  },
48861
48866
  icon: {
48862
48867
  style: {
48863
48868
  size: 4,
48864
- fill: { type: 'palette', key: 'sliderHandleColor' },
48865
- stroke: { type: 'palette', key: 'dataZoomHandleStrokeColor' },
48869
+ fill: { type: 'palette', key: 'dataZoomHandlerFillColor' },
48870
+ stroke: { type: 'palette', key: 'dataZoomHandlerStrokeColor' },
48866
48871
  symbolType: 'M 0.3 -0.5 C 0.41 -0.5 0.5 -0.41 0.5 -0.3 C 0.5 -0.3 0.5 0.3 0.5 0.3 C 0.5 0.41 0.41 0.5 0.3 0.5 C 0.3 0.5 -0.3 0.5 -0.3 0.5 C -0.41 0.5 -0.5 0.41 -0.5 0.3 C -0.5 0.3 -0.5 -0.3 -0.5 -0.3 C -0.5 -0.41 -0.41 -0.5 -0.3 -0.5 C -0.3 -0.5 0.3 -0.5 0.3 -0.5 Z',
48867
48872
  lineWidth: 0.5
48868
48873
  }
@@ -48871,16 +48876,16 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
48871
48876
  background: {
48872
48877
  size: 20,
48873
48878
  style: {
48874
- fill: { type: 'palette', key: 'sliderRailColor' },
48879
+ fill: { type: 'palette', key: 'dataZoomBackgroundColor' },
48875
48880
  lineWidth: 0
48876
48881
  }
48877
48882
  },
48878
48883
  selectedBackground: {
48879
48884
  style: {
48880
- fill: { type: 'palette', key: 'sliderTrackColor' },
48885
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' },
48881
48886
  fillOpacity: 0.1,
48882
48887
  outerBorder: {
48883
- stroke: { type: 'palette', key: 'sliderTrackColor' },
48888
+ stroke: { type: 'palette', key: 'dataZoomSelectedColor' },
48884
48889
  strokeOpacity: 0.2,
48885
48890
  distance: -0.5,
48886
48891
  lineWidth: 1
@@ -48906,10 +48911,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
48906
48911
  startHandler: {
48907
48912
  style: {
48908
48913
  symbolType: DataZoomHandlerSymbolType,
48909
- fill: { type: 'palette', key: 'sliderHandleColor' },
48914
+ fill: { type: 'palette', key: 'dataZoomHandlerFillColor' },
48910
48915
  scaleX: 1.2,
48911
48916
  scaleY: 1.2,
48912
- stroke: { type: 'palette', key: 'dataZoomHandleStrokeColor' },
48917
+ stroke: { type: 'palette', key: 'dataZoomHandlerStrokeColor' },
48913
48918
  lineWidth: 1,
48914
48919
  zIndex: 100
48915
48920
  }
@@ -48917,10 +48922,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
48917
48922
  endHandler: {
48918
48923
  style: {
48919
48924
  symbolType: DataZoomHandlerSymbolType,
48920
- fill: { type: 'palette', key: 'sliderHandleColor' },
48925
+ fill: { type: 'palette', key: 'dataZoomHandlerFillColor' },
48921
48926
  scaleX: 1.2,
48922
48927
  scaleY: 1.2,
48923
- stroke: { type: 'palette', key: 'dataZoomHandleStrokeColor' },
48928
+ stroke: { type: 'palette', key: 'dataZoomHandlerStrokeColor' },
48924
48929
  lineWidth: 1,
48925
48930
  zIndex: 100
48926
48931
  }
@@ -48975,7 +48980,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
48975
48980
  visible: true,
48976
48981
  style: {
48977
48982
  fontSize: THEME_CONSTANTS.l2FontSize,
48978
- fill: { type: 'palette', key: 'tertiaryFontColor' },
48983
+ fill: { type: 'palette', key: 'secondaryFontColor' },
48979
48984
  fontWeight: 'normal',
48980
48985
  fillOpacity: 1,
48981
48986
  textBaseline: 'top',
@@ -49043,7 +49048,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49043
49048
  shadowBlur: 12,
49044
49049
  shadowOffsetX: 0,
49045
49050
  shadowOffsetY: 4,
49046
- shadowColor: { type: 'palette', key: 'shadowColor' }
49051
+ shadowColor: { type: 'palette', key: 'shadowColor', a: 0.3 }
49047
49052
  }
49048
49053
  };
49049
49054
  const colorLegend$1 = {
@@ -49051,14 +49056,14 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49051
49056
  width: 200,
49052
49057
  height: 8,
49053
49058
  style: {
49054
- fill: { type: 'palette', key: 'sliderRailColor' }
49059
+ fill: { type: 'palette', key: 'dataZoomBackgroundColor' }
49055
49060
  }
49056
49061
  }, handler: handlerTheme$2 }),
49057
49062
  vertical: Object.assign(Object.assign({}, DEFAULT_CONTINUOUS_LEGEND_THEME$1), { rail: {
49058
49063
  width: 8,
49059
49064
  height: 200,
49060
49065
  style: {
49061
- fill: { type: 'palette', key: 'sliderRailColor' }
49066
+ fill: { type: 'palette', key: 'dataZoomBackgroundColor' }
49062
49067
  }
49063
49068
  }, handler: handlerTheme$2 })
49064
49069
  };
@@ -49086,10 +49091,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49086
49091
  background: {
49087
49092
  state: {
49088
49093
  selectedHover: {
49089
- fill: { type: 'palette', key: 'hoverBackgroundColor' }
49094
+ fill: { type: 'palette', key: 'axisGridColor' }
49090
49095
  },
49091
49096
  unSelectedHover: {
49092
- fill: { type: 'palette', key: 'hoverBackgroundColor' }
49097
+ fill: { type: 'palette', key: 'axisGridColor' }
49093
49098
  }
49094
49099
  }
49095
49100
  },
@@ -49133,9 +49138,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49133
49138
  outerBorder: {
49134
49139
  lineWidth: 2,
49135
49140
  distance: 0.8,
49136
- stroke: { type: 'palette', key: 'sliderTrackColor' }
49141
+ stroke: { type: 'palette', key: 'dataZoomSelectedColor' }
49137
49142
  },
49138
- fill: { type: 'palette', key: 'sliderHandleColor' }
49143
+ fill: { type: 'palette', key: 'dataZoomHandlerFillColor' }
49139
49144
  }
49140
49145
  };
49141
49146
  const sizeLegend$1 = {
@@ -49143,26 +49148,26 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49143
49148
  fill: { type: 'palette', key: 'dataZoomChartColor' }
49144
49149
  }, track: {
49145
49150
  style: {
49146
- fill: { type: 'palette', key: 'sliderTrackColor', a: 0.8 }
49151
+ fill: { type: 'palette', key: 'dataZoomSelectedColor', a: 0.8 }
49147
49152
  }
49148
49153
  }, rail: {
49149
49154
  width: 200,
49150
49155
  height: 4,
49151
49156
  style: {
49152
- fill: { type: 'palette', key: 'sliderRailColor' }
49157
+ fill: { type: 'palette', key: 'dataZoomBackgroundColor' }
49153
49158
  }
49154
49159
  }, handler: handlerTheme$1 }),
49155
49160
  vertical: Object.assign(Object.assign({}, DEFAULT_CONTINUOUS_LEGEND_THEME$1), { sizeBackground: {
49156
49161
  fill: { type: 'palette', key: 'dataZoomChartColor' }
49157
49162
  }, track: {
49158
49163
  style: {
49159
- fill: { type: 'palette', key: 'sliderTrackColor', a: 0.8 }
49164
+ fill: { type: 'palette', key: 'dataZoomSelectedColor', a: 0.8 }
49160
49165
  }
49161
49166
  }, rail: {
49162
49167
  width: 4,
49163
49168
  height: 200,
49164
49169
  style: {
49165
- fill: { type: 'palette', key: 'sliderRailColor' }
49170
+ fill: { type: 'palette', key: 'dataZoomBackgroundColor' }
49166
49171
  }
49167
49172
  }, handler: handlerTheme$1 })
49168
49173
  };
@@ -49241,7 +49246,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49241
49246
  line: {
49242
49247
  style: {
49243
49248
  lineDash: [3, 3],
49244
- stroke: { type: 'palette', key: 'markLineStrokeColor' }
49249
+ stroke: { type: 'palette', key: 'primaryFontColor' }
49245
49250
  }
49246
49251
  },
49247
49252
  startSymbol: {
@@ -49249,9 +49254,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49249
49254
  symbolType: 'triangle',
49250
49255
  size: 10,
49251
49256
  style: {
49252
- fill: { type: 'palette', key: 'markLineStrokeColor' },
49253
49257
  stroke: null,
49254
- lineWidth: 0
49258
+ lineWidth: 0,
49259
+ fill: { type: 'palette', key: 'primaryFontColor' }
49255
49260
  }
49256
49261
  },
49257
49262
  endSymbol: {
@@ -49259,9 +49264,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49259
49264
  symbolType: 'triangle',
49260
49265
  size: 10,
49261
49266
  style: {
49262
- fill: { type: 'palette', key: 'markLineStrokeColor' },
49263
49267
  stroke: null,
49264
- lineWidth: 0
49268
+ lineWidth: 0,
49269
+ fill: { type: 'palette', key: 'primaryFontColor' }
49265
49270
  }
49266
49271
  },
49267
49272
  label: {
@@ -49296,21 +49301,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49296
49301
  size: 5,
49297
49302
  visible: true,
49298
49303
  style: {
49299
- fill: { type: 'palette', key: 'markLineStrokeColor' },
49300
- stroke: null,
49301
- lineWidth: 0
49302
- }
49303
- },
49304
- endSymbol: {
49305
- style: {
49306
- fill: { type: 'palette', key: 'markLineStrokeColor' },
49307
- stroke: null,
49308
- lineWidth: 0
49304
+ fill: { type: 'palette', key: 'primaryFontColor' }
49309
49305
  }
49310
49306
  },
49311
49307
  line: {
49312
49308
  style: {
49313
- stroke: { type: 'palette', key: 'markLineStrokeColor' }
49309
+ stroke: { type: 'palette', key: 'primaryFontColor' }
49314
49310
  }
49315
49311
  }
49316
49312
  },
@@ -49329,17 +49325,17 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49329
49325
  slider: {
49330
49326
  space: 10,
49331
49327
  trackStyle: {
49332
- fill: { type: 'palette', key: 'sliderTrackColor' },
49328
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' },
49333
49329
  fillOpacity: 0.8
49334
49330
  },
49335
49331
  railStyle: {
49336
- fill: { type: 'palette', key: 'sliderRailColor' }
49332
+ fill: { type: 'palette', key: 'dataZoomBackgroundColor' }
49337
49333
  },
49338
49334
  handlerStyle: {
49339
49335
  size: 15,
49340
49336
  stroke: { type: 'palette', key: 'backgroundColor' },
49341
49337
  lineWidth: 2,
49342
- fill: { type: 'palette', key: 'playerControllerColor' }
49338
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' }
49343
49339
  }
49344
49340
  },
49345
49341
  controller: {
@@ -49348,7 +49344,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49348
49344
  space: 0,
49349
49345
  style: {
49350
49346
  size: 25,
49351
- fill: { type: 'palette', key: 'playerControllerColor' },
49347
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' },
49352
49348
  fillOpacity: 0.8
49353
49349
  }
49354
49350
  },
@@ -49357,7 +49353,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49357
49353
  space: 0,
49358
49354
  style: {
49359
49355
  size: 25,
49360
- fill: { type: 'palette', key: 'playerControllerColor' },
49356
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' },
49361
49357
  fillOpacity: 0.8
49362
49358
  }
49363
49359
  },
@@ -49367,7 +49363,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49367
49363
  position: 'start',
49368
49364
  style: {
49369
49365
  size: 12,
49370
- fill: { type: 'palette', key: 'playerControllerColor' },
49366
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' },
49371
49367
  fillOpacity: 0.8
49372
49368
  }
49373
49369
  },
@@ -49377,7 +49373,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49377
49373
  position: 'end',
49378
49374
  style: {
49379
49375
  size: 12,
49380
- fill: { type: 'palette', key: 'playerControllerColor' },
49376
+ fill: { type: 'palette', key: 'dataZoomSelectedColor' },
49381
49377
  fillOpacity: 0.8
49382
49378
  }
49383
49379
  }
@@ -49397,7 +49393,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49397
49393
  subtextStyle: {
49398
49394
  fontSize: THEME_CONSTANTS.l4FontSize,
49399
49395
  lineHeight: THEME_CONSTANTS.l4LineHeight,
49400
- fill: { type: 'palette', key: 'tertiaryFontColor' }
49396
+ fill: { type: 'palette', key: 'secondaryFontColor' }
49401
49397
  }
49402
49398
  };
49403
49399
 
@@ -49413,9 +49409,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49413
49409
  right: 10,
49414
49410
  bottom: 10
49415
49411
  },
49416
- backgroundColor: { type: 'palette', key: 'popupBackgroundColor' },
49412
+ backgroundColor: { type: 'palette', key: 'tooltipBackgroundColor' },
49417
49413
  border: {
49418
- color: { type: 'palette', key: 'popupBackgroundColor' },
49414
+ color: { type: 'palette', key: 'tooltipBackgroundColor' },
49419
49415
  width: 0,
49420
49416
  radius: 3
49421
49417
  },
@@ -49424,7 +49420,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49424
49420
  y: 4,
49425
49421
  blur: 12,
49426
49422
  spread: 0,
49427
- color: { type: 'palette', key: 'shadowColor' }
49423
+ color: { type: 'palette', key: 'shadowColor', a: 0.1 }
49428
49424
  }
49429
49425
  },
49430
49426
  spaceRow: 6,
@@ -49470,17 +49466,17 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49470
49466
  },
49471
49467
  contentStyle: {
49472
49468
  fontSize: THEME_CONSTANTS.l5FontSize,
49473
- fill: { type: 'palette', key: 'primaryFontColor' }
49469
+ fill: { type: 'palette', key: 'secondaryFontColor' }
49474
49470
  },
49475
49471
  panel: {
49476
49472
  visible: true,
49477
- fill: { type: 'palette', key: 'popupBackgroundColor' },
49473
+ fill: { type: 'palette', key: 'tooltipBackgroundColor' },
49478
49474
  cornerRadius: 3,
49479
49475
  lineWidth: 0,
49480
49476
  shadowBlur: 12,
49481
49477
  shadowOffsetX: 0,
49482
49478
  shadowOffsetY: 4,
49483
- shadowColor: { type: 'palette', key: 'shadowColor' },
49479
+ shadowColor: { type: 'palette', key: 'shadowColor', a: 0.1 },
49484
49480
  size: 0,
49485
49481
  space: 12
49486
49482
  }
@@ -49505,7 +49501,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49505
49501
  slider: {
49506
49502
  style: {
49507
49503
  fill: { type: 'palette', key: 'scrollBarSliderColor' },
49508
- fillOpacity: 0.3
49504
+ fillOpacity: 0.5
49509
49505
  }
49510
49506
  }
49511
49507
  };
@@ -49817,6 +49813,29 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49817
49813
  return (_b = spec.direction) !== null && _b !== void 0 ? _b : 'vertical';
49818
49814
  }
49819
49815
 
49816
+ const newTokenToLegacyToken = {
49817
+ primaryFontColor: 'titleFontColor',
49818
+ secondaryFontColor: 'labelFontColor'
49819
+ };
49820
+ const legacyTokenToNewToken = {
49821
+ titleFontColor: 'primaryFontColor',
49822
+ labelFontColor: 'secondaryFontColor'
49823
+ };
49824
+ function getUpgradedTokenValue(palette, key) {
49825
+ const legacyKey = newTokenToLegacyToken[key];
49826
+ if (legacyKey && palette[legacyKey]) {
49827
+ return palette[legacyKey];
49828
+ }
49829
+ if (palette[key]) {
49830
+ return palette[key];
49831
+ }
49832
+ const newKey = legacyTokenToNewToken[key];
49833
+ if (newKey) {
49834
+ return palette[newKey];
49835
+ }
49836
+ return undefined;
49837
+ }
49838
+
49820
49839
  function getDataScheme(colorScheme, seriesSpec) {
49821
49840
  var _a;
49822
49841
  if (!colorScheme) {
@@ -49879,12 +49898,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49879
49898
  let color;
49880
49899
  const { palette } = scheme;
49881
49900
  if (isObject$2(palette)) {
49882
- color = (_a = palette[colorKey.key]) !== null && _a !== void 0 ? _a : colorKey.default;
49901
+ color = (_a = getUpgradedTokenValue(palette, colorKey.key)) !== null && _a !== void 0 ? _a : colorKey.default;
49883
49902
  }
49884
49903
  if (!color) {
49885
49904
  return undefined;
49886
49905
  }
49887
- if ((!isValid$1(colorKey.a) && !isValid$1(colorKey.l)) || !isString$1(color)) {
49906
+ if ((isNil$1(colorKey.a) && isNil$1(colorKey.l)) || !isString$1(color)) {
49888
49907
  return color;
49889
49908
  }
49890
49909
  let c = new Color(color);
@@ -49935,7 +49954,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49935
49954
  var _a, _b;
49936
49955
  const { type: seriesType } = seriesSpec !== null && seriesSpec !== void 0 ? seriesSpec : {};
49937
49956
  let scheme;
49938
- if (!seriesSpec || !isValid$1(seriesType)) {
49957
+ if (!seriesSpec || isNil$1(seriesType)) {
49939
49958
  scheme = colorScheme === null || colorScheme === void 0 ? void 0 : colorScheme.default;
49940
49959
  }
49941
49960
  else {
@@ -49996,31 +50015,22 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
49996
50015
  palette: {
49997
50016
  backgroundColor: '#202226',
49998
50017
  borderColor: '#404349',
49999
- shadowColor: 'rgba(0,0,0,0.1)',
50000
- hoverBackgroundColor: '#404349',
50001
- sliderRailColor: '#404349',
50002
- sliderHandleColor: '#202226',
50003
- sliderTrackColor: '#4284FF',
50004
- popupBackgroundColor: '#404349',
50018
+ shadowColor: '#000000',
50005
50019
  primaryFontColor: '#fdfdfd',
50006
- secondaryFontColor: '#bbbdc3',
50007
- tertiaryFontColor: '#888c93',
50008
- axisLabelFontColor: '#888c93',
50020
+ secondaryFontColor: '#888c93',
50021
+ axisFontColor: '#bbbdc3',
50009
50022
  disableFontColor: '#55595f',
50010
- axisMarkerFontColor: '#202226',
50023
+ labelReverseFontColor: '#202226',
50011
50024
  axisGridColor: '#404349',
50012
50025
  axisDomainColor: '#4b4f54',
50013
- dataZoomHandleStrokeColor: '#bbbdc3',
50026
+ dataZoomHandlerStrokeColor: '#888c93',
50027
+ dataZoomHandlerFillColor: '#202226',
50028
+ dataZoomBackgroundColor: '#404349',
50014
50029
  dataZoomChartColor: '#55595F',
50015
- playerControllerColor: '#4284FF',
50030
+ dataZoomSelectedColor: '#4284FF',
50016
50031
  scrollBarSliderColor: '#ffffff',
50017
- axisMarkerBackgroundColor: '#fdfdfd',
50018
- markLabelBackgroundColor: '#404349',
50019
- markLineStrokeColor: '#bbbdc3',
50020
- dangerColor: '#eb4b4b',
50021
- warningColor: '#f0bd30',
50022
- successColor: '#14b267',
50023
- infoColor: '#4284ff'
50032
+ tooltipBackgroundColor: '#404349',
50033
+ markLabelBackgroundColor: '#f0bd30'
50024
50034
  }
50025
50035
  }
50026
50036
  };
@@ -57791,7 +57801,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
57791
57801
  };
57792
57802
  registerVChartCore();
57793
57803
 
57794
- const version = "1.6.1-alpha.0";
57804
+ const version = "1.6.2";
57795
57805
 
57796
57806
  class ChartData {
57797
57807
  get dataList() {
@@ -82863,7 +82873,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
82863
82873
  maxKeyWidth -
82864
82874
  keyStyle.spacing -
82865
82875
  valueStyle.spacing;
82866
- value.multiLine = true;
82867
82876
  if (!value.maxWidth) {
82868
82877
  value.maxWidth = Math.ceil(value.width);
82869
82878
  }
@@ -83434,7 +83443,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
83434
83443
  styleObj.lineHeight = getPixelPropertyStr(lineHeight);
83435
83444
  styleObj.fontWeight = fontWeight;
83436
83445
  styleObj.whiteSpace = multiLine ? 'initial' : 'nowrap';
83437
- styleObj.wordBreak = wordBreak;
83446
+ styleObj.wordBreak = multiLine ? wordBreak !== null && wordBreak !== void 0 ? wordBreak : 'break-word' : 'normal';
83438
83447
  styleObj.maxWidth = getPixelPropertyStr(maxWidth);
83439
83448
  return styleObj;
83440
83449
  }
@@ -83759,7 +83768,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
83759
83768
  let childStyle = {};
83760
83769
  if (this.className === 'key-box') {
83761
83770
  const { key, isKeyAdaptive } = line;
83762
- childStyle = mergeSpec({}, isKeyAdaptive ? defaultAdaptiveKeyStyle : defaultKeyStyle, Object.assign(Object.assign({ height: getPixelPropertyStr(contentAttributes[i].height) }, tooltipStyle.keyColumn.common), (_a = tooltipStyle.keyColumn.items) === null || _a === void 0 ? void 0 : _a[i]));
83771
+ childStyle = mergeSpec({}, isKeyAdaptive ? defaultAdaptiveKeyStyle : defaultKeyStyle, Object.assign(Object.assign({ height: getPixelPropertyStr(contentAttributes[i].height), overflowWrap: 'normal' }, tooltipStyle.keyColumn.common), (_a = tooltipStyle.keyColumn.items) === null || _a === void 0 ? void 0 : _a[i]));
83763
83772
  const hasContent = (isString$1(key) && ((_b = key === null || key === void 0 ? void 0 : key.trim) === null || _b === void 0 ? void 0 : _b.call(key)) !== '') || isNumber$2(key);
83764
83773
  if (!hasContent && !childStyle.visibility) {
83765
83774
  childStyle.visibility = 'hidden';
@@ -83770,7 +83779,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
83770
83779
  this.children[i].setStyle(childStyle);
83771
83780
  }
83772
83781
  else if (this.className === 'value-box') {
83773
- childStyle = mergeSpec({}, defaultValueStyle, Object.assign(Object.assign({ height: getPixelPropertyStr(contentAttributes[i].height) }, tooltipStyle.valueColumn.common), (_c = tooltipStyle.valueColumn.items) === null || _c === void 0 ? void 0 : _c[i]));
83782
+ childStyle = mergeSpec({}, defaultValueStyle, Object.assign(Object.assign({ height: getPixelPropertyStr(contentAttributes[i].height), overflowWrap: 'normal' }, tooltipStyle.valueColumn.common), (_c = tooltipStyle.valueColumn.items) === null || _c === void 0 ? void 0 : _c[i]));
83774
83783
  this.children[i].setStyle(childStyle);
83775
83784
  }
83776
83785
  else if (this.className === 'shape-box') {
@@ -90511,13 +90520,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
90511
90520
  return result;
90512
90521
  }
90513
90522
  getSizeFromUser(spec, type) {
90514
- var _a;
90523
+ var _a, _b;
90515
90524
  const sizeList = type === 'col' ? this._colSize : this._rowSize;
90516
- if (!sizeList[spec[type]].isUserSetting) {
90525
+ if (!((_a = sizeList[spec[type]]) === null || _a === void 0 ? void 0 : _a.isUserSetting)) {
90517
90526
  return undefined;
90518
90527
  }
90519
90528
  let result = 0;
90520
- for (let index = spec[type]; index < spec[type] + ((_a = spec[`${type}Span`]) !== null && _a !== void 0 ? _a : 1); index++) {
90529
+ for (let index = spec[type]; index < spec[type] + ((_b = spec[`${type}Span`]) !== null && _b !== void 0 ? _b : 1); index++) {
90521
90530
  if (!sizeList[index].isUserSetting) {
90522
90531
  return undefined;
90523
90532
  }
@@ -90595,7 +90604,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
90595
90604
  this._chartViewBox = chartViewBox;
90596
90605
  this.clearLayoutSize();
90597
90606
  items.sort((a, b) => b.layoutLevel - a.layoutLevel);
90598
- const normalItems = items.filter(item => item.layoutType === 'normal');
90607
+ const normalItems = items.filter(item => item.layoutType === 'normal' && item.getVisible() !== false);
90599
90608
  const normalItemsCol = normalItems.filter(item => isColItem(item));
90600
90609
  const normalItemsRow = normalItems.filter(item => !isColItem(item));
90601
90610
  normalItems.forEach(item => {