Commit a2c610bb 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@49438 954022d7-b5bf-4e40-9824-e11837661b57
parent ef4fb505
......@@ -1503,7 +1503,7 @@
if('auto' == this._otherProps._ylabels_count)
{
diffWidth = axisOxAngleOptions ? (axisOxAngleOptions[countLabels]*Math.sin(angle*Math.PI/180))/(4) : 0;
diffHeight = axisOxAngleOptions ? (axisOxAngleOptions[countLabels]*Math.cos(angle*Math.PI/180)) : 0;
diffHeight = axisOxAngleOptions ? (axisOxAngleOptions[countLabels]*Math.cos(angle*Math.PI/180) - 10) : 0;
OfficeExcel.Text(context, font,
text_size,
x + (this._otherProps._text_angle == 90 ? 0 : 0) - diffWidth,
......
......@@ -1171,7 +1171,7 @@
if('auto' == this._otherProps._ylabels_count)
{
diffWidth = axisOxAngleOptions ? (axisOxAngleOptions[i]*Math.sin(angle*Math.PI/180))/(4) : 0;
diffHeight = axisOxAngleOptions ? (axisOxAngleOptions[i]*Math.cos(angle*Math.PI/180)) : 0;
diffHeight = axisOxAngleOptions ? (axisOxAngleOptions[i]*Math.cos(angle*Math.PI/180) - 10) : 0;
OfficeExcel.Text(context,
font,
text_size,
......
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