Commit 2f3a6eec authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка бага с применением линии для точечных диаграмм

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60809 954022d7-b5bf-4e40-9824-e11837661b57
parent 7e15c0b3
......@@ -3233,6 +3233,34 @@ DrawingObjectsController.prototype =
break;
}
}
if(ret.bLine)
{
for(var i = 0; i < chart_type.series.length; ++i)
{
if(!(chart_type.series[i].spPr && chart_type.series[i].spPr.ln &&
chart_type.series[i].spPr.ln.Fill &&chart_type.series[i].spPr.ln.Fill.fill && chart_type.series[i].spPr.ln.Fill.fill.type === FILL_TYPE_NOFILL))
{
break;
}
}
if(i === chart_type.series.length)
{
ret.bLine = false;
}
var b_smooth = ret.smooth;
if(b_smooth)
{
for(var i = 0; i < chart_type.series.length; ++i)
{
if(!chart_type.series[i].smooth)
{
b_smooth = false;
break;
}
}
}
ret.putSmooth(b_smooth);
}
}
else
{
......
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