Commit e6c815ab 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@51190 954022d7-b5bf-4e40-9824-e11837661b57
parent 19365be9
......@@ -1168,8 +1168,10 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart, options)
arrFormatAdobeLabels[numSeries][n] = formatAdobeLabel;
if(chart.bShowCatName && chart.type != 'Scatter')
{
if(chart.bShowCatName && series[numSeries] && series[numSeries].Cat && chart.type != "Pie")
if(series[numSeries] && series[numSeries].Cat && series[numSeries].Cat.NumCache[col] && chart.type != "Pie")
catNameLabels[numSeries][n] = series[numSeries].Cat.NumCache[col].val;
else if(chart.type != "Pie" && series[numSeries] && series[numSeries].TxCache)
catNameLabels[numSeries][n] = series[numSeries].TxCache.Tx;
else if(series[numSeries] && series[numSeries] && series[numSeries].TxCache)
catNameLabels[numSeries][n] = series[numSeries].TxCache.Tx;
......
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