Commit c8b10a16 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@54670 954022d7-b5bf-4e40-9824-e11837661b57
parent f15d43f6
...@@ -3419,7 +3419,7 @@ drawHBarChart.prototype = ...@@ -3419,7 +3419,7 @@ drawHBarChart.prototype =
centerX = x; centerX = x;
centerY = y - h/2 - height/2; centerY = y - h/2 - height/2;
if( point.val < 0 ) if( point.val < 0 )
centerX = x + w - width; centerX = x - width;
break; break;
} }
case DLBL_POS_IN_END: case DLBL_POS_IN_END:
...@@ -3427,7 +3427,7 @@ drawHBarChart.prototype = ...@@ -3427,7 +3427,7 @@ drawHBarChart.prototype =
centerX = x + w - width; centerX = x + w - width;
centerY = y - h/2 - height/2; centerY = y - h/2 - height/2;
if( point.val < 0 ) if( point.val < 0 )
centerX = x; centerX = x + w;
break; break;
} }
case DLBL_POS_OUT_END: case DLBL_POS_OUT_END:
...@@ -3435,7 +3435,7 @@ drawHBarChart.prototype = ...@@ -3435,7 +3435,7 @@ drawHBarChart.prototype =
centerX = x + w; centerX = x + w;
centerY = y - h/2 - height/2; centerY = y - h/2 - height/2;
if( point.val < 0 ) if( point.val < 0 )
centerX = x - width; centerX = x + w - width;
break; break;
} }
} }
......
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