plottable 3.9.0-dev-75-g48a03107 → 3.9.0-dev-76-g6a7bb807

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.
@@ -10,4 +10,4 @@ exports.version = void 0;
10
10
  * real version number during the dist phase for for npm module publishing. Modifying this line should
11
11
  * be accompanied by modifying the "sed-version" task in package.json accordingly.
12
12
  */
13
- exports.version = "3.9.0-dev-75-g48a03107";
13
+ exports.version = "3.9.0-dev-76-g6a7bb807";
@@ -55,6 +55,7 @@ var Pie = /** @class */ (function (_super) {
55
55
  if (this.outerRadius().scale != null) {
56
56
  this.outerRadius().scale.range([0, radiusLimit]);
57
57
  }
58
+ this._updateExtents();
58
59
  return this;
59
60
  };
60
61
  Pie.prototype.addDataset = function (dataset) {
@@ -120,7 +120,7 @@ var Plot = /** @class */ (function (_super) {
120
120
  };
121
121
  Plot.prototype.setBounds = function (width, height, originX, originY) {
122
122
  _super.prototype.setBounds.call(this, width, height, originX, originY);
123
- this._updateExtents();
123
+ this._resetEntityStore();
124
124
  if (this._canvas != null) {
125
125
  if (this._bufferCanvas && !this._bufferCanvasValid) {
126
126
  // copy current canvas to buffer 1:1
@@ -196,6 +196,7 @@ var XYPlot = /** @class */ (function (_super) {
196
196
  yScale.range([this.height(), 0]);
197
197
  }
198
198
  }
199
+ this._updateExtents();
199
200
  return this;
200
201
  };
201
202
  XYPlot.prototype._updateXExtentsAndAutodomain = function () {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "plottable",
3
3
  "description": "A modular charting library built on D3",
4
- "version": "3.9.0-dev-75-g48a03107",
4
+ "version": "3.9.0-dev-76-g6a7bb807",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
package/plottable.js CHANGED
@@ -522,7 +522,7 @@ var Plot = /** @class */ (function (_super) {
522
522
  };
523
523
  Plot.prototype.setBounds = function (width, height, originX, originY) {
524
524
  _super.prototype.setBounds.call(this, width, height, originX, originY);
525
- this._updateExtents();
525
+ this._resetEntityStore();
526
526
  if (this._canvas != null) {
527
527
  if (this._bufferCanvas && !this._bufferCanvasValid) {
528
528
  // copy current canvas to buffer 1:1
@@ -3030,6 +3030,7 @@ var XYPlot = /** @class */ (function (_super) {
3030
3030
  yScale.range([this.height(), 0]);
3031
3031
  }
3032
3032
  }
3033
+ this._updateExtents();
3033
3034
  return this;
3034
3035
  };
3035
3036
  XYPlot.prototype._updateXExtentsAndAutodomain = function () {
@@ -16079,6 +16080,7 @@ var Pie = /** @class */ (function (_super) {
16079
16080
  if (this.outerRadius().scale != null) {
16080
16081
  this.outerRadius().scale.range([0, radiusLimit]);
16081
16082
  }
16083
+ this._updateExtents();
16082
16084
  return this;
16083
16085
  };
16084
16086
  Pie.prototype.addDataset = function (dataset) {