Commit 773a1cd6 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33885

parent 8d4641dd
...@@ -5958,7 +5958,7 @@ CBubbleChart.prototype = ...@@ -5958,7 +5958,7 @@ CBubbleChart.prototype =
{ {
if(this.series[idx]) if(this.series[idx])
{ {
History.Add(new CChangesDrawingsContent(this, AscDFH.historyitem_CommonChart_RemoveSeries, idx, this.series.splice(idx, 1)[0], false)); History.Add(new CChangesDrawingsContent(this, AscDFH.historyitem_CommonChart_RemoveSeries, idx, this.series.splice(idx, 1), false));
} }
}, },
getSeriesConstructor: function() getSeriesConstructor: function()
...@@ -8222,7 +8222,7 @@ CLineChart.prototype = ...@@ -8222,7 +8222,7 @@ CLineChart.prototype =
{ {
if(!pr) if(!pr)
return; return;
History.Add(new CChangesDrawingsContent(this, AscDFH.historyitem_LineChart_AddAxId, this.axId,length, [pr], true)); History.Add(new CChangesDrawingsContent(this, AscDFH.historyitem_LineChart_AddAxId, this.axId.length, [pr], true));
this.axId.push(pr); this.axId.push(pr);
}, },
...@@ -10689,7 +10689,7 @@ CScatterChart.prototype = ...@@ -10689,7 +10689,7 @@ CScatterChart.prototype =
{ {
if(!pr) if(!pr)
return; return;
History.Add(new CChangesDrawingsContent(this, AscDFH.historyitem_ScatterChart_AddAxId, this.axId.length, pr, true)); History.Add(new CChangesDrawingsContent(this, AscDFH.historyitem_ScatterChart_AddAxId, this.axId.length, [pr], true));
this.axId.push(pr); this.axId.push(pr);
}, },
......
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