Commit 53c1ac54 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 26679 - [Autosave] Не сохраняется изменение размера диаграммы в XLSX...

Bug 26679 - [Autosave] Не сохраняется изменение размера диаграммы в XLSX книге. Поправлен баг со сбрасыванием позиции подписей данных.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58483 954022d7-b5bf-4e40-9824-e11837661b57
parent 25239f96
...@@ -1278,8 +1278,8 @@ CChartSpace.prototype = ...@@ -1278,8 +1278,8 @@ CChartSpace.prototype =
this.recalcInfo.recalculateGridLines = true; this.recalcInfo.recalculateGridLines = true;
this.recalcInfo.recalculateDLbls = true; this.recalcInfo.recalculateDLbls = true;
this.recalcInfo.recalculateAxisLabels = true; this.recalcInfo.recalculateAxisLabels = true;
this.recalcInfo.dataLbls.length = 0; //this.recalcInfo.dataLbls.length = 0;
this.recalcInfo.axisLabels.length = 0; //this.recalcInfo.axisLabels.length = 0;
this.recalcInfo.recalculateAxisVal = true; this.recalcInfo.recalculateAxisVal = true;
this.recalcInfo.recalculateAxisTickMark = true; this.recalcInfo.recalculateAxisTickMark = true;
this.recalcInfo.recalculateHiLowLines = true; this.recalcInfo.recalculateHiLowLines = true;
...@@ -1298,8 +1298,8 @@ CChartSpace.prototype = ...@@ -1298,8 +1298,8 @@ CChartSpace.prototype =
this.recalcInfo.recalculateSeriesColors = true; this.recalcInfo.recalculateSeriesColors = true;
this.recalcInfo.recalculateDLbls = true; this.recalcInfo.recalculateDLbls = true;
this.recalcInfo.recalculateAxisLabels = true; this.recalcInfo.recalculateAxisLabels = true;
this.recalcInfo.dataLbls.length = 0; //this.recalcInfo.dataLbls.length = 0;
this.recalcInfo.axisLabels.length = 0; //this.recalcInfo.axisLabels.length = 0;
this.recalcInfo.recalculateAxisVal = true; this.recalcInfo.recalculateAxisVal = true;
this.recalcInfo.recalculateLegend = true; this.recalcInfo.recalculateLegend = true;
this.chartObj = null; this.chartObj = null;
......
...@@ -432,6 +432,7 @@ CChartSpace.prototype.recalculate = function() ...@@ -432,6 +432,7 @@ CChartSpace.prototype.recalculate = function()
{ {
this.updateChildLabelsTransform(this.transform.tx, this.transform.ty); this.updateChildLabelsTransform(this.transform.tx, this.transform.ty);
} }
this.recalcInfo.dataLbls.length = 0;
this.recalcInfo.axisLabels.length = 0; this.recalcInfo.axisLabels.length = 0;
this.bNeedUpdatePosition = true; this.bNeedUpdatePosition = true;
......
...@@ -428,6 +428,7 @@ CChartSpace.prototype.recalculate = function() ...@@ -428,6 +428,7 @@ CChartSpace.prototype.recalculate = function()
{ {
this.updateChildLabelsTransform(this.transform.tx, this.transform.ty); this.updateChildLabelsTransform(this.transform.tx, this.transform.ty);
} }
this.recalcInfo.dataLbls.length = 0;
this.recalcInfo.axisLabels.length = 0; this.recalcInfo.axisLabels.length = 0;
this.bNeedUpdatePosition = true; this.bNeedUpdatePosition = true;
......
...@@ -441,7 +441,6 @@ CChartSpace.prototype.recalculate = function() ...@@ -441,7 +441,6 @@ CChartSpace.prototype.recalculate = function()
this.recalculateWrapPolygon(); this.recalculateWrapPolygon();
this.recalcInfo.recalculateWrapPolygon = false; this.recalcInfo.recalculateWrapPolygon = false;
} }
this.recalcInfo.axisLabels.length = 0; this.recalcInfo.axisLabels.length = 0;
this.bNeedUpdatePosition = true; this.bNeedUpdatePosition = true;
if(isRealNumber(this.posX) && isRealNumber(this.posY)) if(isRealNumber(this.posX) && isRealNumber(this.posY))
......
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