Commit 297d0d2d authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete _centerx, _centery, _border, _border_color

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51871 954022d7-b5bf-4e40-9824-e11837661b57
parent d02fed58
......@@ -54,12 +54,7 @@ OfficeExcel.OtherProps = function()
this._segments = [];
this._centerx = null;
this._centery = null;
this._border = false;
this._area_border = true; // граница для всей области диаграммы
this._border_color = 'rgba(255,255,255,0.5)';
this._align = 'center';
......
......@@ -39,13 +39,6 @@
this.centery = ((this.canvas.height - this._chartGutter._top - this._chartGutter._bottom) / 2) + this._chartGutter._top;
this.subTotal = 0;
this.angles = [];
/**
* Allow the specification of a custom centery
*/
if (typeof(this._otherProps._centery) == 'number') {
this.centery = this._otherProps._centery;
}
/**
* Alignment (Pie is center aligned by default) Only if centerx is not defined - donut defines the centerx
......@@ -60,13 +53,6 @@
this.centerx = this.canvas.width / 2;
}
/**
* Allow the specification of a custom centerx
*/
if (typeof(this._otherProps._centerx) == 'number') {
this.centerx = this._otherProps._centerx;
}
//Draw Area
OfficeExcel.background.DrawArea(this);
......@@ -123,27 +109,6 @@
*/
this.DrawLabels(isFormatCell);
/**
* If a border is pecified, draw it
*/
if (this._otherProps._border) {
this.context.beginPath();
this.context.lineWidth = 5;
this.context.strokeStyle = this._otherProps._border_color;
this.context.arc(this.centerx,
this.centery,
this.radius - 2,
0,
6.28,
0);
this.context.stroke();
}
/**
* Draw the kay if desired
*/
if (this._otherProps._key != null) {
OfficeExcel.DrawKey(this, this._otherProps._key, this._otherProps._colors);
}
......
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