Commit 81965f10 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 25812 - Диапазон значений сменяется на предыдущий, после смены типа диаграмммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57570 954022d7-b5bf-4e40-9824-e11837661b57
parent 23317ade
...@@ -3221,6 +3221,7 @@ function DrawingObjects() { ...@@ -3221,6 +3221,7 @@ function DrawingObjects() {
var chartSeries = getChartSeries(worksheet.model, options, catHeadersBBox, serHeadersBBox); var chartSeries = getChartSeries(worksheet.model, options, catHeadersBBox, serHeadersBBox);
drawingObject.rebuildSeriesFromAsc(chartSeries); drawingObject.rebuildSeriesFromAsc(chartSeries);
_this.controller.startRecalculate(); _this.controller.startRecalculate();
_this.sendGraphicObjectProps();
}; };
var callbackCheck = function (result) { var callbackCheck = function (result) {
if(result) if(result)
...@@ -3263,7 +3264,7 @@ function DrawingObjects() { ...@@ -3263,7 +3264,7 @@ function DrawingObjects() {
return ""; return "";
}; };
_this.updateChartReferences = function(oldWorksheet, newWorksheet) _this.updateChartReferences = function(oldWorksheet, newWorksheet, bNoRedraw)
{ {
ExecuteNoHistory(function(){ ExecuteNoHistory(function(){
for (var i = 0; i < aObjects.length; i++) { for (var i = 0; i < aObjects.length; i++) {
...@@ -3273,8 +3274,7 @@ function DrawingObjects() { ...@@ -3273,8 +3274,7 @@ function DrawingObjects() {
graphicObject.updateChartReferences(oldWorksheet, newWorksheet); graphicObject.updateChartReferences(oldWorksheet, newWorksheet);
} }
} }
if(this.controller)
this.controller.startRecalculate();
}, this, []); }, this, []);
}; };
......
...@@ -1223,6 +1223,7 @@ ...@@ -1223,6 +1223,7 @@
} }
ws.objectRender.controller.updateSelectionState(); ws.objectRender.controller.updateSelectionState();
ws.objectRender.controller.updateOverlay();
if (isSendInfo) { if (isSendInfo) {
this._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false)); this._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment