Commit 5f66b4be authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55552 954022d7-b5bf-4e40-9824-e11837661b57
parent 1c8bf092
...@@ -7270,7 +7270,7 @@ catAxisChart.prototype = ...@@ -7270,7 +7270,7 @@ catAxisChart.prototype =
var stepY = yPoints[1] ? Math.abs(yPoints[1].pos - yPoints[0].pos) : Math.abs(yPoints[0].pos - this.chartProp.chartGutter._bottom / this.chartProp.pxToMM); var stepY = yPoints[1] ? Math.abs(yPoints[1].pos - yPoints[0].pos) : Math.abs(yPoints[0].pos - this.chartProp.chartGutter._bottom / this.chartProp.pxToMM);
var minorStep = stepY / this.chartProp.numhMinorlines; var minorStep = stepY / this.chartProp.numhMinorlines;
var posX = this.chartSpace.chart.plotArea.catAx.posX; var posX = this.chartSpace.chart.plotArea.catAx.posX ? this.chartSpace.chart.plotArea.catAx.posX : this.chartSpace.chart.plotArea.catAx.xPos;
var posY; var posY;
var posMinorY; var posMinorY;
...@@ -7303,7 +7303,7 @@ catAxisChart.prototype = ...@@ -7303,7 +7303,7 @@ catAxisChart.prototype =
{ {
for(var n = 0; n < this.chartProp.numhMinorlines; n++) for(var n = 0; n < this.chartProp.numhMinorlines; n++)
{ {
posMinorY = posY + n * minorStep; posMinorY = posY - n * minorStep;
if(!this.paths.minorTickMarks) if(!this.paths.minorTickMarks)
this.paths.minorTickMarks = []; this.paths.minorTickMarks = [];
if(!this.paths.minorTickMarks[i]) if(!this.paths.minorTickMarks[i])
...@@ -7337,7 +7337,7 @@ catAxisChart.prototype = ...@@ -7337,7 +7337,7 @@ catAxisChart.prototype =
{ {
for(var n = 0; n < this.chartProp.numhMinorlines; n++) for(var n = 0; n < this.chartProp.numhMinorlines; n++)
{ {
posMinorY = posY + n * minorStep; posMinorY = posY - n * minorStep;
if(!this.paths.minorTickMarks) if(!this.paths.minorTickMarks)
this.paths.minorTickMarks = []; this.paths.minorTickMarks = [];
if(!this.paths.minorTickMarks[i]) if(!this.paths.minorTickMarks[i])
......
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