Commit 253f4a49 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete _xlabels_inside, _xlabels_inside_color

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51877 954022d7-b5bf-4e40-9824-e11837661b57
parent 7de9e968
...@@ -54,8 +54,6 @@ OfficeExcel.OtherProps = function() ...@@ -54,8 +54,6 @@ OfficeExcel.OtherProps = function()
this._xlabels = true; this._xlabels = true;
this._xlabels_offset = 0; this._xlabels_offset = 0;
this._xlabels_inside = false;
this._xlabels_inside_color = 'rgba(255,255,255,0.5)';
this._ylabels = true; this._ylabels = true;
this._ylabels_count = 5; this._ylabels_count = 5;
......
...@@ -782,13 +782,6 @@ ...@@ -782,13 +782,6 @@
var valign = 'top'; var valign = 'top';
var halign = 'center'; var halign = 'center';
if (this._otherProps._xlabels_inside) {
yOffset = -5;
bordered = true;
bgcolor = this._otherProps._xlabels_inside_color;
valign = 'bottom';
}
if (this._otherProps._xaxispos == 'top') { if (this._otherProps._xaxispos == 'top') {
valign = 'bottom'; valign = 'bottom';
yOffset += 2; yOffset += 2;
...@@ -839,7 +832,6 @@ ...@@ -839,7 +832,6 @@
font, font,
text_size, text_size,
labelX - diffWidth, labelX - diffWidth,
//(this._otherProps._xaxispos == 'top') ? this._chartGutter._top - yOffset - (this._otherProps._xlabels_inside ? -22 : 0) : (this.canvas.height - this._chartGutter._bottom) + yOffset,
this.nullPositionOX + yOffset*scaleFactor + diffHeight, this.nullPositionOX + yOffset*scaleFactor + diffHeight,
String(this._otherProps._labels[i]), String(this._otherProps._labels[i]),
valign, valign,
...@@ -854,7 +846,7 @@ ...@@ -854,7 +846,7 @@
font, font,
text_size, text_size,
labelX, labelX,
(this._otherProps._xaxispos == 'top') ? this._chartGutter._top - yOffset - (this._otherProps._xlabels_inside ? -22 : 0) : (this.canvas.height - this._chartGutter._bottom) + yOffset, (this._otherProps._xaxispos == 'top') ? this._chartGutter._top - yOffset : (this.canvas.height - this._chartGutter._bottom) + yOffset,
//this.nullPositionOX + 20, //this.nullPositionOX + 20,
String(this._otherProps._labels[i]), String(this._otherProps._labels[i]),
valign, valign,
......
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