@carbon/charts-vue 0.51.2 → 0.51.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.
package/charts-vue.umd.js CHANGED
@@ -35403,8 +35403,9 @@ var axis_Axis = /** @class */ (function (_super) {
35403
35403
  var mockTextPiece = invisibleAxisRef
35404
35404
  .append('text')
35405
35405
  .text('A');
35406
- var averageLetterWidth_1 = mockTextPiece.node().getBBox()
35407
- .width;
35406
+ var averageLetterWidth_1 = dom_utils_DOMUtils.getSVGElementSize(mockTextPiece.node(), {
35407
+ useBBox: true,
35408
+ }).width;
35408
35409
  var lastStartPosition_1;
35409
35410
  // Find out whether any text nodes roughly collide
35410
35411
  invisibleAxisRef.selectAll('g.tick').each(function () {