igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
315 lines (314 loc) • 9.7 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 { Base, Point_$type, markType } from "igniteui-angular-core";
/**
* @hidden
*/
export let DataAnnotationInfo = /*@__PURE__*/ (() => {
class DataAnnotationInfo extends Base {
constructor() {
super();
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;
}
get xAxisPixel() {
return this._xAxisPixel;
}
set xAxisPixel(a) {
this._xAxisPixel = a;
}
get yAxisPixel() {
return this._yAxisPixel;
}
set yAxisPixel(a) {
this._yAxisPixel = a;
}
get xAxisWindow() {
return this._xAxisWindow;
}
set xAxisWindow(a) {
this._xAxisWindow = a;
}
get yAxisWindow() {
return this._yAxisWindow;
}
set yAxisWindow(a) {
this._yAxisWindow = a;
}
get xAxisValue() {
return this._xAxisValue;
}
set xAxisValue(a) {
this._xAxisValue = a;
}
get yAxisValue() {
return this._yAxisValue;
}
set yAxisValue(a) {
this._yAxisValue = a;
}
get dataIndex() {
return this._dataIndex;
}
set dataIndex(a) {
this._dataIndex = a;
}
get dataValueX() {
return this._dataValueX;
}
set dataValueX(a) {
this._dataValueX = a;
}
get dataValueY() {
return this._dataValueY;
}
set dataValueY(a) {
this._dataValueY = a;
}
get dataLabelX() {
return this._dataLabelX;
}
set dataLabelX(a) {
this._dataLabelX = a;
}
get dataLabelY() {
return this._dataLabelY;
}
set dataLabelY(a) {
this._dataLabelY = a;
}
get xAxisLabel() {
return this._xAxisLabel;
}
set xAxisLabel(a) {
this._xAxisLabel = a;
}
get yAxisLabel() {
return this._yAxisLabel;
}
set yAxisLabel(a) {
this._yAxisLabel = a;
}
get j() {
return this.a != 6;
}
get k() {
return this.b != 6;
}
get isStartLabel() {
return this._isStartLabel;
}
set isStartLabel(a) {
this._isStartLabel = a;
}
get isEndLabel() {
return this._isEndLabel;
}
set isEndLabel(a) {
this._isEndLabel = a;
}
get isCenterLabel() {
return this._isCenterLabel;
}
set isCenterLabel(a) {
this._isCenterLabel = a;
}
get textColor() {
return this._textColor;
}
set textColor(a) {
this._textColor = a;
}
get background() {
return this._background;
}
set background(a) {
this._background = a;
}
get borderColor() {
return this._borderColor;
}
set borderColor(a) {
this._borderColor = a;
}
get borderRadius() {
return this._borderRadius;
}
set borderRadius(a) {
this._borderRadius = a;
}
get borderThickness() {
return this._borderThickness;
}
set borderThickness(a) {
this._borderThickness = a;
}
get xAxisBadgeBackground() {
return this._xAxisBadgeBackground;
}
set xAxisBadgeBackground(a) {
this._xAxisBadgeBackground = a;
}
get yAxisBadgeBackground() {
return this._yAxisBadgeBackground;
}
set yAxisBadgeBackground(a) {
this._yAxisBadgeBackground = a;
}
get xAxisBadgeOutline() {
return this._xAxisBadgeOutline;
}
set xAxisBadgeOutline(a) {
this._xAxisBadgeOutline = a;
}
get yAxisBadgeOutline() {
return this._yAxisBadgeOutline;
}
set yAxisBadgeOutline(a) {
this._yAxisBadgeOutline = a;
}
get xAxisBadgeRadius() {
return this._xAxisBadgeRadius;
}
set xAxisBadgeRadius(a) {
this._xAxisBadgeRadius = a;
}
get yAxisBadgeRadius() {
return this._yAxisBadgeRadius;
}
set yAxisBadgeRadius(a) {
this._yAxisBadgeRadius = a;
}
get xAxisBadgeOutlineThickness() {
return this._xAxisBadgeOutlineThickness;
}
set xAxisBadgeOutlineThickness(a) {
this._xAxisBadgeOutlineThickness = a;
}
get yAxisBadgeOutlineThickness() {
return this._yAxisBadgeOutlineThickness;
}
set yAxisBadgeOutlineThickness(a) {
this._yAxisBadgeOutlineThickness = a;
}
get xAxisBadgeMargin() {
return this._xAxisBadgeMargin;
}
set xAxisBadgeMargin(a) {
this._xAxisBadgeMargin = a;
}
get yAxisBadgeMargin() {
return this._yAxisBadgeMargin;
}
set yAxisBadgeMargin(a) {
this._yAxisBadgeMargin = a;
}
get xAxisBadgeSize() {
return this._xAxisBadgeSize;
}
set xAxisBadgeSize(a) {
this._xAxisBadgeSize = a;
}
get yAxisBadgeSize() {
return this._yAxisBadgeSize;
}
set yAxisBadgeSize(a) {
this._yAxisBadgeSize = a;
}
get xAxisBadgeImagePath() {
return this._xAxisBadgeImagePath;
}
set xAxisBadgeImagePath(a) {
this._xAxisBadgeImagePath = a;
}
get yAxisBadgeImagePath() {
return this._yAxisBadgeImagePath;
}
set yAxisBadgeImagePath(a) {
this._yAxisBadgeImagePath = a;
}
get isXAxisBadgeEnabled() {
return this._isXAxisBadgeEnabled;
}
set isXAxisBadgeEnabled(a) {
this._isXAxisBadgeEnabled = a;
}
get isYAxisBadgeEnabled() {
return this._isYAxisBadgeEnabled;
}
set isYAxisBadgeEnabled(a) {
this._isYAxisBadgeEnabled = a;
}
get xAxisUserAnnotation() {
return this._xAxisUserAnnotation;
}
set xAxisUserAnnotation(a) {
this._xAxisUserAnnotation = a;
}
get yAxisUserAnnotation() {
return this._yAxisUserAnnotation;
}
set yAxisUserAnnotation(a) {
this._yAxisUserAnnotation = a;
}
get at() {
return { $type: Point_$type, x: this.q, y: this.r };
}
}
DataAnnotationInfo.$t = markType(DataAnnotationInfo, 'DataAnnotationInfo');
return DataAnnotationInfo;
})();