[SSE Update categories list when change series

This commit is contained in:
Julia Radzhabova 2020-07-17 13:51:13 +03:00
parent f11ee3f5a2
commit 36e04823c4

View file

@ -394,6 +394,7 @@ define([
if (result == 'ok') {
me.updateRange();
me.updateSeriesList(me.chartSettings.getSeries(), me.seriesList.store.length-1);
me.updateCategoryList(me.chartSettings.getCatValues());
me.updateButtons();
me.chartSettings.endEditData();
me._isEditRanges = false;
@ -409,6 +410,7 @@ define([
rec.get('series').asc_Remove();
this.updateRange();
this.updateSeriesList(this.chartSettings.getSeries(), order);
this.updateCategoryList(this.chartSettings.getCatValues());
this.updateButtons();
}
},
@ -423,6 +425,7 @@ define([
if (result == 'ok') {
rec.set('value', series.asc_getSeriesName());
me.updateRange();
me.updateCategoryList(me.chartSettings.getCatValues());
me.updateButtons();
me.chartSettings.endEditData();
me._isEditRanges = false;
@ -488,6 +491,7 @@ define([
this.seriesList.selectRecord(rec);
this.seriesList.scrollToRecord(rec);
this.updateRange();
this.updateCategoryList(this.chartSettings.getCatValues());
this.updateButtons();
}
},