igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
485 lines (484 loc) • 14.9 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.q = 0;
_this.r = 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._isStartLabel = false;
_this._isEndLabel = false;
_this._isCenterLabel = false;
_this._textColor = null;
_this._background = null;
_this._borderColor = null;
_this._borderRadius = 0;
_this._borderThickness = 0;
_this._xAxisBadgeBackground = null;
_this._yAxisBadgeBackground = null;
_this._xAxisBadgeOutline = null;
_this._yAxisBadgeOutline = null;
_this._xAxisBadgeRadius = 0;
_this._yAxisBadgeRadius = 0;
_this._xAxisBadgeOutlineThickness = 0;
_this._yAxisBadgeOutlineThickness = 0;
_this._xAxisBadgeMargin = 0;
_this._yAxisBadgeMargin = 0;
_this._xAxisBadgeSize = 0;
_this._yAxisBadgeSize = 0;
_this._xAxisBadgeImagePath = null;
_this._yAxisBadgeImagePath = null;
_this._isXAxisBadgeEnabled = false;
_this._isYAxisBadgeEnabled = false;
_this._xAxisUserAnnotation = null;
_this._yAxisUserAnnotation = null;
_this.borderThickness = NaN;
_this.borderRadius = NaN;
_this.xAxisLabel = null;
_this.yAxisLabel = null;
_this.a = 6;
_this.b = 6;
_this.isStartLabel = false;
_this.isEndLabel = false;
_this.isCenterLabel = false;
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, "j", {
get: function () {
return this.a != 6;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "k", {
get: function () {
return this.b != 6;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "isStartLabel", {
get: function () {
return this._isStartLabel;
},
set: function (a) {
this._isStartLabel = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "isEndLabel", {
get: function () {
return this._isEndLabel;
},
set: function (a) {
this._isEndLabel = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "isCenterLabel", {
get: function () {
return this._isCenterLabel;
},
set: function (a) {
this._isCenterLabel = a;
},
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, "xAxisBadgeBackground", {
get: function () {
return this._xAxisBadgeBackground;
},
set: function (a) {
this._xAxisBadgeBackground = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeBackground", {
get: function () {
return this._yAxisBadgeBackground;
},
set: function (a) {
this._yAxisBadgeBackground = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisBadgeOutline", {
get: function () {
return this._xAxisBadgeOutline;
},
set: function (a) {
this._xAxisBadgeOutline = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeOutline", {
get: function () {
return this._yAxisBadgeOutline;
},
set: function (a) {
this._yAxisBadgeOutline = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisBadgeRadius", {
get: function () {
return this._xAxisBadgeRadius;
},
set: function (a) {
this._xAxisBadgeRadius = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeRadius", {
get: function () {
return this._yAxisBadgeRadius;
},
set: function (a) {
this._yAxisBadgeRadius = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisBadgeOutlineThickness", {
get: function () {
return this._xAxisBadgeOutlineThickness;
},
set: function (a) {
this._xAxisBadgeOutlineThickness = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeOutlineThickness", {
get: function () {
return this._yAxisBadgeOutlineThickness;
},
set: function (a) {
this._yAxisBadgeOutlineThickness = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisBadgeMargin", {
get: function () {
return this._xAxisBadgeMargin;
},
set: function (a) {
this._xAxisBadgeMargin = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeMargin", {
get: function () {
return this._yAxisBadgeMargin;
},
set: function (a) {
this._yAxisBadgeMargin = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisBadgeSize", {
get: function () {
return this._xAxisBadgeSize;
},
set: function (a) {
this._xAxisBadgeSize = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeSize", {
get: function () {
return this._yAxisBadgeSize;
},
set: function (a) {
this._yAxisBadgeSize = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisBadgeImagePath", {
get: function () {
return this._xAxisBadgeImagePath;
},
set: function (a) {
this._xAxisBadgeImagePath = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisBadgeImagePath", {
get: function () {
return this._yAxisBadgeImagePath;
},
set: function (a) {
this._yAxisBadgeImagePath = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "isXAxisBadgeEnabled", {
get: function () {
return this._isXAxisBadgeEnabled;
},
set: function (a) {
this._isXAxisBadgeEnabled = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "isYAxisBadgeEnabled", {
get: function () {
return this._isYAxisBadgeEnabled;
},
set: function (a) {
this._isYAxisBadgeEnabled = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "xAxisUserAnnotation", {
get: function () {
return this._xAxisUserAnnotation;
},
set: function (a) {
this._xAxisUserAnnotation = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "yAxisUserAnnotation", {
get: function () {
return this._yAxisUserAnnotation;
},
set: function (a) {
this._yAxisUserAnnotation = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(DataAnnotationInfo.prototype, "at", {
get: function () {
return { $type: Point_$type, x: this.q, y: this.r };
},
enumerable: false,
configurable: true
});
DataAnnotationInfo.$t = markType(DataAnnotationInfo, 'DataAnnotationInfo');
return DataAnnotationInfo;
}(Base));
export { DataAnnotationInfo };