Commit 1f215953 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@54965 954022d7-b5bf-4e40-9824-e11837661b57
parent 540548b6
......@@ -3098,7 +3098,10 @@ CChartsDrawer.prototype =
resPos = Math.abs(yPoints[1].pos - yPoints[0].pos);
resVal = yPoints[1].val - yPoints[0].val;
diffVal = Math.abs(yPoints[0].val) - Math.abs(val);
result = yPoints[0].pos + Math.abs((diffVal / resVal) * resPos);
if(isOx)
result = yPoints[0].pos - Math.abs((diffVal / resVal) * resPos);
else
result = yPoints[0].pos + Math.abs((diffVal / resVal) * resPos);
}
else if(val > yPoints[yPoints.length - 1].val)
{
......
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