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

tickmarks

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55918 954022d7-b5bf-4e40-9824-e11837661b57
parent 16733c8b
...@@ -7903,7 +7903,7 @@ valAxisChart.prototype = ...@@ -7903,7 +7903,7 @@ valAxisChart.prototype =
} }
case TICK_MARK_IN: case TICK_MARK_IN:
{ {
widthLine = 3; widthLine = 5;
break; break;
} }
case TICK_MARK_NONE: case TICK_MARK_NONE:
...@@ -7913,7 +7913,7 @@ valAxisChart.prototype = ...@@ -7913,7 +7913,7 @@ valAxisChart.prototype =
} }
case TICK_MARK_OUT: case TICK_MARK_OUT:
{ {
widthLine = -3; widthLine = -5;
break; break;
} }
}; };
...@@ -7945,7 +7945,14 @@ valAxisChart.prototype = ...@@ -7945,7 +7945,14 @@ valAxisChart.prototype =
{ {
widthMinorLine = - widthMinorLine; widthMinorLine = - widthMinorLine;
widthLine = - widthLine; widthLine = - widthLine;
} };
var orientation = this.chartSpace && this.chartSpace.chart.plotArea.catAx ? this.chartSpace.chart.plotArea.catAx.scaling.orientation : ORIENTATION_MIN_MAX;
if(orientation !== ORIENTATION_MIN_MAX)
{
widthMinorLine = - widthMinorLine;
widthLine = - widthLine;
};
if(!(widthLine === 0 && widthMinorLine === 0)) if(!(widthLine === 0 && widthMinorLine === 0))
{ {
...@@ -7989,7 +7996,7 @@ valAxisChart.prototype = ...@@ -7989,7 +7996,7 @@ valAxisChart.prototype =
var stepY = yPoints[1] ? Math.abs(yPoints[1].pos - yPoints[0].pos) : Math.abs(yPoints[1].pos - this.chartProp.chartGutter._bottom / this.chartProp.pxToMM); var stepY = yPoints[1] ? Math.abs(yPoints[1].pos - yPoints[0].pos) : Math.abs(yPoints[1].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.valAx.posX; var posX = this.chartSpace.chart.plotArea.valAx.posX ? this.chartSpace.chart.plotArea.valAx.posX : this.chartSpace.chart.plotArea.valAx.xPos;
var posY; var posY;
var posMinorY; var posMinorY;
......
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