Commit 69d6e59c authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

добавил sideWall3DChart и backWall3DChart для hbar

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68025 954022d7-b5bf-4e40-9824-e11837661b57
parent 77446cd5
...@@ -10168,13 +10168,13 @@ sideWall3DChart.prototype = ...@@ -10168,13 +10168,13 @@ sideWall3DChart.prototype =
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, 0); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, 0);
x1n = convertResult.x / this.chartProp.pxToMM; x1n = convertResult.x / this.chartProp.pxToMM;
y1n = convertResult.y / this.chartProp.pxToMM; y1n = convertResult.y / this.chartProp.pxToMM;
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, maxPositionOy, 0); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, perspectiveDepth);
x2n = convertResult.x / this.chartProp.pxToMM; x2n = convertResult.x / this.chartProp.pxToMM;
y2n = convertResult.y / this.chartProp.pxToMM; y2n = convertResult.y / this.chartProp.pxToMM;
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, maxPositionOy, perspectiveDepth); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.widthCanvas - this.chartProp.chartGutter._right, nullPositionOy, perspectiveDepth);
x3n = convertResult.x / this.chartProp.pxToMM; x3n = convertResult.x / this.chartProp.pxToMM;
y3n = convertResult.y / this.chartProp.pxToMM; y3n = convertResult.y / this.chartProp.pxToMM;
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, perspectiveDepth); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.widthCanvas - this.chartProp.chartGutter._right, nullPositionOy, 0);
x4n = convertResult.x / this.chartProp.pxToMM; x4n = convertResult.x / this.chartProp.pxToMM;
y4n = convertResult.y / this.chartProp.pxToMM; y4n = convertResult.y / this.chartProp.pxToMM;
} }
...@@ -10256,16 +10256,16 @@ backWall3DChart.prototype = ...@@ -10256,16 +10256,16 @@ backWall3DChart.prototype =
var convertResult, x1n, y1n, x2n, y2n, x3n, y3n, x4n, y4n; var convertResult, x1n, y1n, x2n, y2n, x3n, y3n, x4n, y4n;
if(this.chartProp.type == "HBar") if(this.chartProp.type == "HBar")
{ {
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, 0); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, perspectiveDepth);
x1n = convertResult.x / this.chartProp.pxToMM; x1n = convertResult.x / this.chartProp.pxToMM;
y1n = convertResult.y / this.chartProp.pxToMM; y1n = convertResult.y / this.chartProp.pxToMM;
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, maxPositionOy, 0); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, this.chartProp.chartGutter._top, perspectiveDepth);
x2n = convertResult.x / this.chartProp.pxToMM; x2n = convertResult.x / this.chartProp.pxToMM;
y2n = convertResult.y / this.chartProp.pxToMM; y2n = convertResult.y / this.chartProp.pxToMM;
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, maxPositionOy, perspectiveDepth); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.widthCanvas - this.chartProp.chartGutter._right, this.chartProp.chartGutter._top, perspectiveDepth);
x3n = convertResult.x / this.chartProp.pxToMM; x3n = convertResult.x / this.chartProp.pxToMM;
y3n = convertResult.y / this.chartProp.pxToMM; y3n = convertResult.y / this.chartProp.pxToMM;
convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.chartGutter._left, nullPositionOy, perspectiveDepth); convertResult = this.cChartDrawer._convertAndTurnPoint(this.chartProp.widthCanvas - this.chartProp.chartGutter._right, nullPositionOy, perspectiveDepth);
x4n = convertResult.x / this.chartProp.pxToMM; x4n = convertResult.x / this.chartProp.pxToMM;
y4n = convertResult.y / this.chartProp.pxToMM; y4n = convertResult.y / this.chartProp.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