Commit 1d89acf0 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

fix #20118

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49462 954022d7-b5bf-4e40-9824-e11837661b57
parent ba5048b5
...@@ -980,6 +980,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) { ...@@ -980,6 +980,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
var formatCell = 'General'; var formatCell = 'General';
var formatCellScOy = 'General'; var formatCellScOy = 'General';
var defaultFormat = 'General'; var defaultFormat = 'General';
var isDateTimeFormat;
var api_doc = window["editor"]; var api_doc = window["editor"];
var api_sheet = window["Asc"]["editor"]; var api_sheet = window["Asc"]["editor"];
...@@ -1027,7 +1028,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) { ...@@ -1027,7 +1028,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
{ {
var firstCol = 0; var firstCol = 0;
var firstRow = 0; var firstRow = 0;
if(series[0].xVal.Formula != null && numSeries == 0 && chart.type == 'Scatter') if(series[0].xVal.Formula != null && numSeries == 0 && chart.type == 'Scatter' && series[0].xVal.NumCache.length)
{ {
curSeria = series[numSeries].xVal.NumCache; curSeria = series[numSeries].xVal.NumCache;
} }
......
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