ag-grid-enterprise 28.1.1 → 28.1.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.
package/.hash CHANGED
@@ -1 +1 @@
1
- f9baffbe73e29abb3b039f8c1aff6a8c694ee167 -
1
+ 0534f756421a4561b0858d2879addde6649c9182 -
@@ -73014,9 +73014,9 @@ var CartesianChart = /** @class */ (function (_super) {
73014
73014
  series.group.translationY = Math.floor(seriesRect.y);
73015
73015
  });
73016
73016
  var seriesRoot = this.seriesRoot;
73017
- seriesRoot.x = seriesRect.x + 1;
73017
+ seriesRoot.x = seriesRect.x;
73018
73018
  seriesRoot.y = seriesRect.y;
73019
- seriesRoot.width = seriesRect.width - 1;
73019
+ seriesRoot.width = seriesRect.width;
73020
73020
  seriesRoot.height = seriesRect.height;
73021
73021
  };
73022
73022
  CartesianChart.prototype.setupDomListeners = function (chartElement) {
@@ -73113,18 +73113,20 @@ var CartesianChart = /** @class */ (function (_super) {
73113
73113
  // and vice-versa, we need to iteratively try and find a fit for the axes and their
73114
73114
  // ticks/labels.
73115
73115
  var lastPass = {};
73116
+ var clipSeries = false;
73116
73117
  var seriesRect = undefined;
73117
73118
  var count = 0;
73118
73119
  do {
73119
73120
  Object.assign(axisWidths, lastPass);
73120
73121
  var result = this.updateAxesPass(axisWidths, inputShrinkRect.clone(), seriesRect);
73121
73122
  lastPass = ceilValues(result.axisWidths);
73123
+ clipSeries = result.clipSeries;
73122
73124
  seriesRect = result.seriesRect;
73123
73125
  if (count++ > 10) {
73124
73126
  throw new Error('AG Charts - unable to find stable axis layout.');
73125
73127
  }
73126
73128
  } while (!stableWidths(lastPass));
73127
- this.seriesRoot.enabled = true;
73129
+ this.seriesRoot.enabled = clipSeries;
73128
73130
  return { seriesRect: seriesRect };
73129
73131
  };
73130
73132
  CartesianChart.prototype.updateAxesPass = function (axisWidths, bounds, lastPassSeriesRect) {