Commit 964bec8d authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

fix #18345

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49600 954022d7-b5bf-4e40-9824-e11837661b57
parent 57897419
......@@ -1040,7 +1040,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
else
curSeria = series[l].Val.NumCache;
var lastCol = curSeria.length;
skipSeries[numSeries] = true;
skipSeries[l] = true;
var isRow = false;
if(firstCol == lastCol)
isRow = true;
......@@ -1049,9 +1049,13 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
{
continue;
}
if(!curSeria.length)
{
continue;
}
if(series[0].xVal.Formula != null && numSeries == 0 && chart.type == 'Scatter')
l--;
skipSeries[numSeries] = false;
skipSeries[l] = false;
arrValues[numSeries] = [];
arrFormatAdobeLabels[numSeries] = [];
isSkip[numSeries] = true;
......
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