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

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50147 954022d7-b5bf-4e40-9824-e11837661b57
parent 8ac3d13c
......@@ -731,14 +731,14 @@ function calcAllMargin(isFormatCell,isformatCellScOy,minX,maxX,minY,maxY, chart)
if(bar._otherProps._key_levels && bar._otherProps._key_levels.length)
level = bar._otherProps._key_levels.length;
var heigthTextKey = (context.getHeightText()/0.75);
var heigthTextKey = context.getHeightText();
var kF = 1;
if(bar.type == 'pie')
kF = 2;
if(bar._otherProps._key_halign == 'top')
top += (heigthTextKey*kF)*(level + 1) + 7;
top += (heigthTextKey*kF)*(level) + 7;
else
bottom += (heigthTextKey*kF)*(level + 1) + 7;
bottom += (heigthTextKey*kF)*(level) + 7;
}
//+ ширина легенды
if (bar._otherProps._key_halign == 'left' || bar._otherProps._key_halign == 'right')
......
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