|
1 | 1 | /*! |
2 | | -Plottable 2.0.0-rc2 (https://github.com/palantir/plottable) |
| 2 | +Plottable 2.0.0 (https://github.com/palantir/plottable) |
3 | 3 | Copyright 2014-2015 Palantir Technologies |
4 | 4 | Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) |
5 | 5 | */ |
@@ -885,7 +885,7 @@ var Plottable; |
885 | 885 | })(Plottable || (Plottable = {})); |
886 | 886 | var Plottable; |
887 | 887 | (function (Plottable) { |
888 | | - Plottable.version = "2.0.0-rc2"; |
| 888 | + Plottable.version = "2.0.0"; |
889 | 889 | })(Plottable || (Plottable = {})); |
890 | 890 | var Plottable; |
891 | 891 | (function (Plottable) { |
@@ -9328,7 +9328,19 @@ var Plottable; |
9328 | 9328 | this._stackingResult = new Plottable.Utils.Map(); |
9329 | 9329 | this._stackedExtent = []; |
9330 | 9330 | this._baselineValueProvider = function () { return [_this._baselineValue]; }; |
| 9331 | + this.croppedRenderingEnabled(false); |
9331 | 9332 | } |
| 9333 | + StackedArea.prototype.croppedRenderingEnabled = function (croppedRendering) { |
| 9334 | + if (croppedRendering == null) { |
| 9335 | + return _super.prototype.croppedRenderingEnabled.call(this); |
| 9336 | + } |
| 9337 | + if (croppedRendering === true) { |
| 9338 | + // HACKHACK #3032: cropped rendering doesn't currently work correctly on StackedArea |
| 9339 | + Plottable.Utils.Window.warn("Warning: Stacked Area Plot does not support cropped rendering."); |
| 9340 | + return this; |
| 9341 | + } |
| 9342 | + return _super.prototype.croppedRenderingEnabled.call(this, croppedRendering); |
| 9343 | + }; |
9332 | 9344 | StackedArea.prototype._getAnimator = function (key) { |
9333 | 9345 | return new Plottable.Animators.Null(); |
9334 | 9346 | }; |
|
0 commit comments