igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
400 lines (399 loc) • 15.4 kB
JavaScript
import { __extends } from "tslib";
import { Component, Input } from '@angular/core';
import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode";
import { IgxDataAnnotationRangeLayerComponent } from "./igx-data-annotation-range-layer-component";
import { ensureEnum } from "igniteui-angular-core";
import * as i0 from "@angular/core";
/**
* Represents a base of annotation layers that render shapes at locations of x/y values mapped to these properties:
* StartValueXMemberPath
* StartValueYMemberPath
* EndValueXMemberPath
* EndValueYMemberPath
*/
var IgxDataAnnotationPointLayerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgxDataAnnotationPointLayerComponent, _super);
function IgxDataAnnotationPointLayerComponent() {
return _super.call(this) || this;
}
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "startValueXMemberPath", {
/**
* Gets or sets name of data column with x-positions for the start of annotations.
*/
get: function () {
return this.i.ake;
},
set: function (v) {
this.i.ake = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "startValueYMemberPath", {
/**
* Gets or sets name of data column with y-positions for the start of annotations.
*/
get: function () {
return this.i.akh;
},
set: function (v) {
this.i.akh = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "startLabelXMemberPath", {
/**
* Gets or sets mapping custom label at the start of annotations on x-axis.
*/
get: function () {
return this.i.aj7;
},
set: function (v) {
this.i.aj7 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "startLabelYMemberPath", {
/**
* Gets or sets mapping custom label at the start of annotations on y-axis.
*/
get: function () {
return this.i.akb;
},
set: function (v) {
this.i.akb = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "startLabelXDisplayMode", {
/**
* Gets or sets display mode of label in the start annotation on x-axis.
*/
get: function () {
return this.i.aht;
},
set: function (v) {
this.i.aht = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "startLabelYDisplayMode", {
/**
* Gets or sets display mode of label in the start annotation on y-axis.
*/
get: function () {
return this.i.ahu;
},
set: function (v) {
this.i.ahu = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "endValueXMemberPath", {
/**
* Gets or sets name of data column with x-positions for end of annotation.
*/
get: function () {
return this.i.aj0;
},
set: function (v) {
this.i.aj0 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "endValueYMemberPath", {
/**
* Gets or sets name of data column with y-positions for end of annotation.
*/
get: function () {
return this.i.aj3;
},
set: function (v) {
this.i.aj3 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "endLabelXMemberPath", {
/**
* Gets or sets mapping custom label at the end of annotations on x-axis.
*/
get: function () {
return this.i.ajt;
},
set: function (v) {
this.i.ajt = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "endLabelYMemberPath", {
/**
* Gets or sets mapping custom label at the end of annotations on y-axis.
*/
get: function () {
return this.i.ajx;
},
set: function (v) {
this.i.ajx = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "endLabelXDisplayMode", {
/**
* Gets or sets display mode of label at the end annotation on x-axis.
*/
get: function () {
return this.i.ahp;
},
set: function (v) {
this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "endLabelYDisplayMode", {
/**
* Gets or sets display mode of label at the end annotation on y-axis.
*/
get: function () {
return this.i.ahq;
},
set: function (v) {
this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "centerLabelXMemberPath", {
/**
* Gets or sets mapping custom label at the center of the annotations on x-axis.
*/
get: function () {
return this.i.ajl;
},
set: function (v) {
this.i.ajl = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "centerLabelYMemberPath", {
/**
* Gets or sets mapping custom label at the center of the annotations on y-axis.
*/
get: function () {
return this.i.ajp;
},
set: function (v) {
this.i.ajp = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "centerLabelXDisplayMode", {
/**
* Gets or sets display mode of label in the annotation on x-axis.
*/
get: function () {
return this.i.ahn;
},
set: function (v) {
this.i.ahn = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "centerLabelYDisplayMode", {
/**
* Gets or sets display mode of label in the annotation on y-axis.
*/
get: function () {
return this.i.aho;
},
set: function (v) {
this.i.aho = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeEnabledXMemberPath", {
/**
* Gets or sets a member path for visibility of the badge annotations on x-axis.
*/
get: function () {
return this.i.ai2;
},
set: function (v) {
this.i.ai2 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeEnabledYMemberPath", {
/**
* Gets or sets a member path for visibility of the badge annotations on y-axis.
*/
get: function () {
return this.i.ai5;
},
set: function (v) {
this.i.ai5 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeBackgroundXMemberPath", {
/**
* Gets or sets a member path for background of the badge annotations on x-axis.
*/
get: function () {
return this.i.aiw;
},
set: function (v) {
this.i.aiw = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeBackgroundYMemberPath", {
/**
* Gets or sets a member path for background of the badge annotations on y-axis.
*/
get: function () {
return this.i.aiz;
},
set: function (v) {
this.i.aiz = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeOutlineXMemberPath", {
/**
* Gets or sets a member path for outline of the badge annotations on x-axis.
*/
get: function () {
return this.i.aje;
},
set: function (v) {
this.i.aje = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeOutlineYMemberPath", {
/**
* Gets or sets a member path for outline of the badge annotations on y-axis.
*/
get: function () {
return this.i.ajh;
},
set: function (v) {
this.i.ajh = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeImageXMemberPath", {
/**
* Gets or sets a member path for displaying an image in the badge annotations on x-axis.
*/
get: function () {
return this.i.ai8;
},
set: function (v) {
this.i.ai8 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxDataAnnotationPointLayerComponent.prototype, "annotationBadgeImageYMemberPath", {
/**
* Gets or sets a member path for displaying an image in the badge annotations on y-axis.
*/
get: function () {
return this.i.ajb;
},
set: function (v) {
this.i.ajb = v;
},
enumerable: false,
configurable: true
});
IgxDataAnnotationPointLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataAnnotationPointLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
IgxDataAnnotationPointLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataAnnotationPointLayerComponent, selector: "ng-component", inputs: { startValueXMemberPath: "startValueXMemberPath", startValueYMemberPath: "startValueYMemberPath", startLabelXMemberPath: "startLabelXMemberPath", startLabelYMemberPath: "startLabelYMemberPath", startLabelXDisplayMode: "startLabelXDisplayMode", startLabelYDisplayMode: "startLabelYDisplayMode", endValueXMemberPath: "endValueXMemberPath", endValueYMemberPath: "endValueYMemberPath", endLabelXMemberPath: "endLabelXMemberPath", endLabelYMemberPath: "endLabelYMemberPath", endLabelXDisplayMode: "endLabelXDisplayMode", endLabelYDisplayMode: "endLabelYDisplayMode", centerLabelXMemberPath: "centerLabelXMemberPath", centerLabelYMemberPath: "centerLabelYMemberPath", centerLabelXDisplayMode: "centerLabelXDisplayMode", centerLabelYDisplayMode: "centerLabelYDisplayMode", annotationBadgeEnabledXMemberPath: "annotationBadgeEnabledXMemberPath", annotationBadgeEnabledYMemberPath: "annotationBadgeEnabledYMemberPath", annotationBadgeBackgroundXMemberPath: "annotationBadgeBackgroundXMemberPath", annotationBadgeBackgroundYMemberPath: "annotationBadgeBackgroundYMemberPath", annotationBadgeOutlineXMemberPath: "annotationBadgeOutlineXMemberPath", annotationBadgeOutlineYMemberPath: "annotationBadgeOutlineYMemberPath", annotationBadgeImageXMemberPath: "annotationBadgeImageXMemberPath", annotationBadgeImageYMemberPath: "annotationBadgeImageYMemberPath" }, usesInheritance: true, ngImport: i0, template: "", isInline: true });
return IgxDataAnnotationPointLayerComponent;
}(IgxDataAnnotationRangeLayerComponent));
export { IgxDataAnnotationPointLayerComponent };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataAnnotationPointLayerComponent, decorators: [{
type: Component,
args: [{
template: "",
}]
}], ctorParameters: function () { return []; }, propDecorators: { startValueXMemberPath: [{
type: Input
}], startValueYMemberPath: [{
type: Input
}], startLabelXMemberPath: [{
type: Input
}], startLabelYMemberPath: [{
type: Input
}], startLabelXDisplayMode: [{
type: Input
}], startLabelYDisplayMode: [{
type: Input
}], endValueXMemberPath: [{
type: Input
}], endValueYMemberPath: [{
type: Input
}], endLabelXMemberPath: [{
type: Input
}], endLabelYMemberPath: [{
type: Input
}], endLabelXDisplayMode: [{
type: Input
}], endLabelYDisplayMode: [{
type: Input
}], centerLabelXMemberPath: [{
type: Input
}], centerLabelYMemberPath: [{
type: Input
}], centerLabelXDisplayMode: [{
type: Input
}], centerLabelYDisplayMode: [{
type: Input
}], annotationBadgeEnabledXMemberPath: [{
type: Input
}], annotationBadgeEnabledYMemberPath: [{
type: Input
}], annotationBadgeBackgroundXMemberPath: [{
type: Input
}], annotationBadgeBackgroundYMemberPath: [{
type: Input
}], annotationBadgeOutlineXMemberPath: [{
type: Input
}], annotationBadgeOutlineYMemberPath: [{
type: Input
}], annotationBadgeImageXMemberPath: [{
type: Input
}], annotationBadgeImageYMemberPath: [{
type: Input
}] } });