Commit ef962099 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@50358 954022d7-b5bf-4e40-9824-e11837661b57
parent 27f1e7b7
...@@ -928,8 +928,9 @@ function calcAllMargin(isFormatCell,isformatCellScOy,minX,maxX,minY,maxY, chart) ...@@ -928,8 +928,9 @@ function calcAllMargin(isFormatCell,isformatCellScOy,minX,maxX,minY,maxY, chart)
} }
tempScale = bar._otherProps._labels; tempScale = bar._otherProps._labels;
} }
if((bar._chartGutter._left + bar._chartGutter._right) >= (chartCanvas.width + 5)) //если очень маленький размер ширины диаграммы
bar._chartGutter._right += (chartCanvas.width + 5) - (bar._chartGutter._left + bar._chartGutter._right); if((bar._chartGutter._left + bar._chartGutter._right) >= (chartCanvas.width - 1))
bar._chartGutter._right += (chartCanvas.width - 1) - (bar._chartGutter._left + bar._chartGutter._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