Commit f347fa39 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 27545 - Не обновляется диаграмма при включении/отключении опции Markers в...

Bug 27545 - Не обновляется диаграмма при включении/отключении опции Markers в расширенных настройках

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59651 954022d7-b5bf-4e40-9824-e11837661b57
parent 17dedfb9
......@@ -14711,6 +14711,10 @@ CLineSeries.prototype =
{
History.Add(this, {Type: historyitem_LineSeries_SetMarker, oldPr: this.marker, newPr: pr});
this.marker = pr;
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
},
setOrder: function(pr)
{
......@@ -14721,11 +14725,19 @@ CLineSeries.prototype =
{
History.Add(this, {Type: historyitem_LineSeries_SetSmooth, oldPr: this.smooth, newPr: pr});
this.smooth = pr;
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
},
setSpPr: function(pr)
{
History.Add(this, {Type: historyitem_LineSeries_SetSpPr, oldPr: this.spPr, newPr: pr});
this.spPr = pr;
if(this.spPr && this.spPr.parent !== this)
{
this.spPr.setParent(this);
}
},
setTrendline: function(pr)
{
......@@ -14747,6 +14759,14 @@ CLineSeries.prototype =
}
},
handleUpdateLn: function()
{
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
},
Undo: function(data)
{
switch (data.Type)
......@@ -14789,6 +14809,10 @@ CLineSeries.prototype =
case historyitem_LineSeries_SetMarker:
{
this.marker = data.oldPr;
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
break;
}
case historyitem_LineSeries_SetOrder:
......@@ -14799,6 +14823,10 @@ CLineSeries.prototype =
case historyitem_LineSeries_SetSmooth:
{
this.smooth = data.oldPr;
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
break;
}
case historyitem_LineSeries_SetSpPr:
......@@ -14866,6 +14894,10 @@ CLineSeries.prototype =
case historyitem_LineSeries_SetMarker:
{
this.marker = data.newPr;
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
break;
}
case historyitem_LineSeries_SetOrder:
......@@ -14876,6 +14908,10 @@ CLineSeries.prototype =
case historyitem_LineSeries_SetSmooth:
{
this.smooth = data.newPr;
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
break;
}
case historyitem_LineSeries_SetSpPr:
......@@ -14981,6 +15017,10 @@ CLineSeries.prototype =
case historyitem_LineSeries_SetMarker:
{
this.marker = readObject(r);
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
break;
}
case historyitem_LineSeries_SetOrder:
......@@ -14991,6 +15031,10 @@ CLineSeries.prototype =
case historyitem_LineSeries_SetSmooth:
{
this.smooth = readBool(r);
if(this.parent && this.parent.parent && this.parent.parent.parent && this.parent.parent.parent.parent && this.parent.parent.parent.parent.handleUpdateInternalChart)
{
this.parent.parent.parent.parent.handleUpdateInternalChart();
}
break;
}
case historyitem_LineSeries_SetSpPr:
......
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