@visactor/vchart 2.0.23-alpha.2 → 2.0.23-alpha.4

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.
package/build/index.es.js CHANGED
@@ -74076,6 +74076,21 @@ class ScatterSeries extends CartesianSeries {
74076
74076
  labelGraphic.translate(delta[0], delta[1]);
74077
74077
  }
74078
74078
  }
74079
+ onLayoutEnd() {
74080
+ var _a, _b, _c;
74081
+ super.onLayoutEnd();
74082
+ this._updateSymbolGraphicPosition();
74083
+ const labelGraphic = (_b = (_a = this._labelMark) === null || _a === void 0 ? void 0 : _a.getComponent()) === null || _b === void 0 ? void 0 : _b.getComponent();
74084
+ if (labelGraphic === null || labelGraphic === void 0 ? void 0 : labelGraphic.attribute.postMatrix) {
74085
+ labelGraphic.setAttributes({
74086
+ postMatrix: new Matrix()
74087
+ });
74088
+ }
74089
+ const vgrammarLabel = (_c = this._labelMark) === null || _c === void 0 ? void 0 : _c.getComponent();
74090
+ if (vgrammarLabel) {
74091
+ vgrammarLabel.renderInner();
74092
+ }
74093
+ }
74079
74094
  getDefaultShapeType() {
74080
74095
  return 'circle';
74081
74096
  }
package/build/index.js CHANGED
@@ -74082,6 +74082,21 @@
74082
74082
  labelGraphic.translate(delta[0], delta[1]);
74083
74083
  }
74084
74084
  }
74085
+ onLayoutEnd() {
74086
+ var _a, _b, _c;
74087
+ super.onLayoutEnd();
74088
+ this._updateSymbolGraphicPosition();
74089
+ const labelGraphic = (_b = (_a = this._labelMark) === null || _a === void 0 ? void 0 : _a.getComponent()) === null || _b === void 0 ? void 0 : _b.getComponent();
74090
+ if (labelGraphic === null || labelGraphic === void 0 ? void 0 : labelGraphic.attribute.postMatrix) {
74091
+ labelGraphic.setAttributes({
74092
+ postMatrix: new Matrix()
74093
+ });
74094
+ }
74095
+ const vgrammarLabel = (_c = this._labelMark) === null || _c === void 0 ? void 0 : _c.getComponent();
74096
+ if (vgrammarLabel) {
74097
+ vgrammarLabel.renderInner();
74098
+ }
74099
+ }
74085
74100
  getDefaultShapeType() {
74086
74101
  return 'circle';
74087
74102
  }