Commit 61df342e authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47883 954022d7-b5bf-4e40-9824-e11837661b57
parent aa92712b
......@@ -695,7 +695,7 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart) {
var styleManager = api_doc ? api_doc.chartStyleManager : api_sheet.chartStyleManager;
arrBaseColors = styleManager.getBaseColors( parseInt(chart.styleId) );
if(chart.series && chart.series.length !=0 && window["Asc"]["editor"])
if(chart.series && chart.series.length !=0 && api_sheet)
{
isSeries = true;
var series = chart.series;
......
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