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

правка падения (баг 23968)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55812 954022d7-b5bf-4e40-9824-e11837661b57
parent c4ecf535
......@@ -2477,7 +2477,7 @@ CChartsDrawer.prototype =
for(var l = 0; l < series.length; ++l)
{
newArr[l] = [];
yNumCache = series[l].yVal.numRef.numCache ? series[l].yVal.numRef.numCache : series[l].yVal.numLit;
yNumCache = series[l].yVal.numRef && series[l].yVal.numRef.numCache ? series[l].yVal.numRef.numCache : series[l].yVal && series[l].yVal.numLit ? series[l].yVal.numLit : null;
for(var j = 0; j < yNumCache.pts.length; ++j)
{
yVal = parseFloat(yNumCache.pts[j].val);
......@@ -6033,7 +6033,7 @@ drawScatterChart.prototype =
for(var i = 0; i < this.chartProp.series.length; i++)
{
seria = this.chartProp.series[i];
yNumCache = seria.yVal.numRef.numCache ? seria.yVal.numRef.numCache : seria.yVal.numRef.numLit;
yNumCache = seria.yVal.numRef && seria.yVal.numRef.numCache ? seria.yVal.numRef.numCache : seria.yVal && seria.yVal.numLit ? seria.yVal.numLit : null;
for(var n = 0; n < yNumCache.ptCount; n++)
......
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