igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
251 lines (250 loc) • 7.56 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { Base, Point_$type, markType } from "igniteui-react-core";
/**
* @hidden
*/
var DataAnnotationInfo = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(DataAnnotationInfo, _super);
function DataAnnotationInfo() {
var _this = _super.call(this) || this;
_this.j = 0;
_this.k = 0;
_this._xAxisPixel = 0;
_this._yAxisPixel = 0;
_this._xAxisWindow = 0;
_this._yAxisWindow = 0;
_this._xAxisValue = 0;
_this._yAxisValue = 0;
_this._dataIndex = 0;
_this._dataValueX = 0;
_this._dataValueY = 0;
_this._dataLabelX = null;
_this._dataLabelY = null;
_this._xAxisLabel = null;
_this._yAxisLabel = null;
_this.a = 0;
_this.b = 0;
_this._textColor = null;
_this._background = null;
_this._borderColor = null;
_this._borderRadius = 0;
_this._borderThickness = 0;
_this.borderThickness = NaN;
_this.borderRadius = NaN;
_this.xAxisLabel = null;
_this.yAxisLabel = null;
_this.a = 6;
_this.b = 6;
return _this;
}
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisPixel", {
get: function () {
return this._xAxisPixel;
},
set: function (a) {
this._xAxisPixel = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisPixel", {
get: function () {
return this._yAxisPixel;
},
set: function (a) {
this._yAxisPixel = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisWindow", {
get: function () {
return this._xAxisWindow;
},
set: function (a) {
this._xAxisWindow = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisWindow", {
get: function () {
return this._yAxisWindow;
},
set: function (a) {
this._yAxisWindow = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisValue", {
get: function () {
return this._xAxisValue;
},
set: function (a) {
this._xAxisValue = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisValue", {
get: function () {
return this._yAxisValue;
},
set: function (a) {
this._yAxisValue = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "dataIndex", {
get: function () {
return this._dataIndex;
},
set: function (a) {
this._dataIndex = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "dataValueX", {
get: function () {
return this._dataValueX;
},
set: function (a) {
this._dataValueX = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "dataValueY", {
get: function () {
return this._dataValueY;
},
set: function (a) {
this._dataValueY = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "dataLabelX", {
get: function () {
return this._dataLabelX;
},
set: function (a) {
this._dataLabelX = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "dataLabelY", {
get: function () {
return this._dataLabelY;
},
set: function (a) {
this._dataLabelY = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisLabel", {
get: function () {
return this._xAxisLabel;
},
set: function (a) {
this._xAxisLabel = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisLabel", {
get: function () {
return this._yAxisLabel;
},
set: function (a) {
this._yAxisLabel = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "c", {
get: function () {
return this.a != 6;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "d", {
get: function () {
return this.b != 6;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "textColor", {
get: function () {
return this._textColor;
},
set: function (a) {
this._textColor = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "background", {
get: function () {
return this._background;
},
set: function (a) {
this._background = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "borderColor", {
get: function () {
return this._borderColor;
},
set: function (a) {
this._borderColor = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "borderRadius", {
get: function () {
return this._borderRadius;
},
set: function (a) {
this._borderRadius = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "borderThickness", {
get: function () {
return this._borderThickness;
},
set: function (a) {
this._borderThickness = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "y", {
get: function () {
return { $type: Point_$type, x: this.j, y: this.k };
},
enumerable: false,
configurable: true
});
DataAnnotationInfo.$t = markType(DataAnnotationInfo, 'DataAnnotationInfo');
return DataAnnotationInfo;
}(Base));
export { DataAnnotationInfo };