Skip to content

Commit

Permalink
Fixed highcharts#2887 where zoom state is not preserved after running…
Browse files Browse the repository at this point in the history
… Axis.update. Reverts fix for highcharts#2306.
  • Loading branch information
TorsteinHonsi authored and arjeousski committed Apr 8, 2014
1 parent 2400135 commit 52e6e7d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/highcharts.src.js
Expand Up @@ -14821,7 +14821,7 @@ extend(Axis.prototype, {
newOptions = chart.options[this.coll][this.options.index] = merge(this.userOptions, newOptions);

this.destroy(true);
this._addedPlotLB = this.userMin = this.userMax = UNDEFINED; // #1611, #2306
this._addedPlotLB = UNDEFINED; // #1611, #2887

this.init(chart, extend(newOptions, { events: UNDEFINED }));

Expand Down
2 changes: 1 addition & 1 deletion js/highmaps.src.js
Expand Up @@ -14034,7 +14034,7 @@ extend(Axis.prototype, {
newOptions = chart.options[this.coll][this.options.index] = merge(this.userOptions, newOptions);

this.destroy(true);
this._addedPlotLB = this.userMin = this.userMax = UNDEFINED; // #1611, #2306
this._addedPlotLB = UNDEFINED; // #1611, #2887

this.init(chart, extend(newOptions, { events: UNDEFINED }));

Expand Down
2 changes: 1 addition & 1 deletion js/highstock.src.js
Expand Up @@ -14821,7 +14821,7 @@ extend(Axis.prototype, {
newOptions = chart.options[this.coll][this.options.index] = merge(this.userOptions, newOptions);

this.destroy(true);
this._addedPlotLB = this.userMin = this.userMax = UNDEFINED; // #1611, #2306
this._addedPlotLB = UNDEFINED; // #1611, #2887

this.init(chart, extend(newOptions, { events: UNDEFINED }));

Expand Down
2 changes: 1 addition & 1 deletion js/parts/Dynamics.js
Expand Up @@ -419,7 +419,7 @@ extend(Axis.prototype, {
newOptions = chart.options[this.coll][this.options.index] = merge(this.userOptions, newOptions);

this.destroy(true);
this._addedPlotLB = this.userMin = this.userMax = UNDEFINED; // #1611, #2306
this._addedPlotLB = UNDEFINED; // #1611, #2887

this.init(chart, extend(newOptions, { events: UNDEFINED }));

Expand Down

0 comments on commit 52e6e7d

Please sign in to comment.