[SSE] Fix Bug 47614
This commit is contained in:
parent
0083bb3347
commit
872d3f0801
|
@ -528,11 +528,15 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onSwitch: function() {
|
onSwitch: function() {
|
||||||
this.chartSettings.switchRowCol();
|
var res = this.chartSettings.switchRowCol();
|
||||||
|
if (res === Asc.c_oAscError.ID.MaxDataSeriesError)
|
||||||
|
Common.UI.warning({msg: this.errorMaxRows, maxwidth: 600});
|
||||||
|
else {
|
||||||
this.updateSeriesList(this.chartSettings.getSeries(), 0);
|
this.updateSeriesList(this.chartSettings.getSeries(), 0);
|
||||||
this.updateCategoryList(this.chartSettings.getCatValues());
|
this.updateCategoryList(this.chartSettings.getCatValues());
|
||||||
this.updateRange();
|
this.updateRange();
|
||||||
this.updateButtons();
|
this.updateButtons();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
textTitle: 'Chart Data',
|
textTitle: 'Chart Data',
|
||||||
|
|
Loading…
Reference in a new issue