@visactor/react-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.js CHANGED
@@ -60617,6 +60617,16 @@
60617
60617
  const labelGraphic = this._ensureLabelGraphicPostMatrix();
60618
60618
  labelGraphic && labelGraphic.translate(delta[0], delta[1]);
60619
60619
  }
60620
+ onLayoutEnd() {
60621
+ var _a, _b, _c;
60622
+ super.onLayoutEnd(), this._updateSymbolGraphicPosition();
60623
+ const labelGraphic = null === (_b = null === (_a = this._labelMark) || void 0 === _a ? void 0 : _a.getComponent()) || void 0 === _b ? void 0 : _b.getComponent();
60624
+ (null == labelGraphic ? void 0 : labelGraphic.attribute.postMatrix) && labelGraphic.setAttributes({
60625
+ postMatrix: new Matrix()
60626
+ });
60627
+ const vgrammarLabel = null === (_c = this._labelMark) || void 0 === _c ? void 0 : _c.getComponent();
60628
+ vgrammarLabel && vgrammarLabel.renderInner();
60629
+ }
60620
60630
  getDefaultShapeType() {
60621
60631
  return "circle";
60622
60632
  }