Commit f513ab50 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@54483 954022d7-b5bf-4e40-9824-e11837661b57
parent b7986d7d
......@@ -146,7 +146,7 @@ CChartsDrawer.prototype =
var widthTitle = chartSpace.chart.title.extX;
var heightTitle = chartSpace.chart.title.extY;
var standartMargin = 13;
var standartMargin = 7;
var y = standartMargin / this.calcProp.pxToMM;
var x = widthGraph / 2 - widthTitle / 2;
......@@ -908,7 +908,7 @@ CChartsDrawer.prototype =
//top margin = legend + title;
this.calcProp.chartGutter._top = standartMargin;
if(chartSpace.chart.title !== null)
this.calcProp.chartGutter._top += chartSpace.chart.title.extY * pxToMM;
this.calcProp.chartGutter._top = 7 + chartSpace.chart.title.extY * pxToMM + standartMargin;
//bottom margin = legend + horizontal title + horizontal axis(if min y == 0);
this.calcProp.chartGutter._bottom = standartMargin;
......
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