Commit 21a61b70 authored by Igor.Zotov's avatar Igor.Zotov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49438 954022d7-b5bf-4e40-9824-e11837661b57
parent d8401dfc
...@@ -1503,7 +1503,7 @@ ...@@ -1503,7 +1503,7 @@
if('auto' == this._otherProps._ylabels_count) if('auto' == this._otherProps._ylabels_count)
{ {
diffWidth = axisOxAngleOptions ? (axisOxAngleOptions[countLabels]*Math.sin(angle*Math.PI/180))/(4) : 0; 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, OfficeExcel.Text(context, font,
text_size, text_size,
x + (this._otherProps._text_angle == 90 ? 0 : 0) - diffWidth, x + (this._otherProps._text_angle == 90 ? 0 : 0) - diffWidth,
......
...@@ -1171,7 +1171,7 @@ ...@@ -1171,7 +1171,7 @@
if('auto' == this._otherProps._ylabels_count) if('auto' == this._otherProps._ylabels_count)
{ {
diffWidth = axisOxAngleOptions ? (axisOxAngleOptions[i]*Math.sin(angle*Math.PI/180))/(4) : 0; 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, OfficeExcel.Text(context,
font, font,
text_size, 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