Commit 35523ce0 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

жестко проставлен коэффициент перевода пикселов в миллиметры при расчете диаграмм

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61154 954022d7-b5bf-4e40-9824-e11837661b57
parent 6191a293
......@@ -34,7 +34,7 @@ CChartsDrawer.prototype =
{
this.calcProp.pathH = 1000000000;
this.calcProp.pathW = 1000000000;
this.calcProp.pxToMM = 1 / chartSpace.convertPixToMM(1);
this.calcProp.pxToMM = 1 / g_dKoef_pix_to_mm;
this.calcProp.widthCanvas = chartSpace.extX * this.calcProp.pxToMM;
this.calcProp.heightCanvas = chartSpace.extY * this.calcProp.pxToMM;
}
......@@ -331,7 +331,7 @@ CChartsDrawer.prototype =
this.calcProp.chartGutter = {};
if(!this.calcProp.pxToMM)
this.calcProp.pxToMM = 1 / chartSpace.convertPixToMM(1);
this.calcProp.pxToMM = 1 / g_dKoef_pix_to_mm;
var pxToMM = this.calcProp.pxToMM;
......@@ -1529,7 +1529,7 @@ CChartsDrawer.prototype =
//****functions for UP Functions****
preCalculateData: function(chartProp)
{
this.calcProp.pxToMM = 1 / chartProp.convertPixToMM(1);
this.calcProp.pxToMM = 1 / g_dKoef_pix_to_mm;
this.calcProp.pathH = 1000000000;
this.calcProp.pathW = 1000000000;
......
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