Commit 049da866 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@54113 954022d7-b5bf-4e40-9824-e11837661b57
parent 76cc257e
...@@ -894,7 +894,7 @@ CChartsDrawer.prototype = ...@@ -894,7 +894,7 @@ CChartsDrawer.prototype =
//left margin = vertical axis(if min x == 0) + vertical title + width of legend; //left margin = vertical axis(if min x == 0) + vertical title + width of legend;
this.calcProp.chartGutter._left = standartMargin; this.calcProp.chartGutter._left = standartMargin;
if(chartSpace.chart.plotArea.valAx.title != undefined) if(chartSpace.chart.plotArea.valAx.title != null)
this.calcProp.chartGutter._left += chartSpace.chart.plotArea.valAx.title.extX * pxToMM; this.calcProp.chartGutter._left += chartSpace.chart.plotArea.valAx.title.extX * pxToMM;
//right margin = legend; //right margin = legend;
...@@ -902,12 +902,12 @@ CChartsDrawer.prototype = ...@@ -902,12 +902,12 @@ CChartsDrawer.prototype =
//top margin = legend + title; //top margin = legend + title;
this.calcProp.chartGutter._top = standartMargin; this.calcProp.chartGutter._top = standartMargin;
if(chartSpace.chart.title.extY !== undefined) if(chartSpace.chart.title !== null)
this.calcProp.chartGutter._top += chartSpace.chart.title.extY * pxToMM; this.calcProp.chartGutter._top += chartSpace.chart.title.extY * pxToMM;
//bottom margin = legend + horizontal title + horizontal axis(if min y == 0); //bottom margin = legend + horizontal title + horizontal axis(if min y == 0);
this.calcProp.chartGutter._bottom = standartMargin; this.calcProp.chartGutter._bottom = standartMargin;
if(chartSpace.chart.plotArea.catAx.title != undefined) if(chartSpace.chart.plotArea.catAx.title != null)
this.calcProp.chartGutter._bottom += chartSpace.chart.plotArea.catAx.title.extY * pxToMM; this.calcProp.chartGutter._bottom += chartSpace.chart.plotArea.catAx.title.extY * pxToMM;
}, },
......
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