igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
296 lines (295 loc) • 10.7 kB
JavaScript
import { Component, Input } from '@angular/core';
import { DataAnnotationDisplayMode, 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
*/
export class IgxDataAnnotationPointLayerComponent extends IgxDataAnnotationRangeLayerComponent {
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor() {
super();
}
/**
* Gets or sets name of data column with x-positions for the start of annotations.
*/
get startValueXMemberPath() {
return this.i.akg;
}
set startValueXMemberPath(v) {
this.i.akg = v;
}
/**
* Gets or sets name of data column with y-positions for the start of annotations.
*/
get startValueYMemberPath() {
return this.i.akj;
}
set startValueYMemberPath(v) {
this.i.akj = v;
}
/**
* Gets or sets mapping custom label at the start of annotations on x-axis.
*/
get startLabelXMemberPath() {
return this.i.aj9;
}
set startLabelXMemberPath(v) {
this.i.aj9 = v;
}
/**
* Gets or sets mapping custom label at the start of annotations on y-axis.
*/
get startLabelYMemberPath() {
return this.i.akd;
}
set startLabelYMemberPath(v) {
this.i.akd = v;
}
/**
* Gets or sets display mode of label in the start annotation on x-axis.
*/
get startLabelXDisplayMode() {
return this.i.ahv;
}
set startLabelXDisplayMode(v) {
this.i.ahv = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets display mode of label in the start annotation on y-axis.
*/
get startLabelYDisplayMode() {
return this.i.ahw;
}
set startLabelYDisplayMode(v) {
this.i.ahw = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets name of data column with x-positions for end of annotation.
*/
get endValueXMemberPath() {
return this.i.aj2;
}
set endValueXMemberPath(v) {
this.i.aj2 = v;
}
/**
* Gets or sets name of data column with y-positions for end of annotation.
*/
get endValueYMemberPath() {
return this.i.aj5;
}
set endValueYMemberPath(v) {
this.i.aj5 = v;
}
/**
* Gets or sets mapping custom label at the end of annotations on x-axis.
*/
get endLabelXMemberPath() {
return this.i.ajv;
}
set endLabelXMemberPath(v) {
this.i.ajv = v;
}
/**
* Gets or sets mapping custom label at the end of annotations on y-axis.
*/
get endLabelYMemberPath() {
return this.i.ajz;
}
set endLabelYMemberPath(v) {
this.i.ajz = v;
}
/**
* Gets or sets display mode of label at the end annotation on x-axis.
*/
get endLabelXDisplayMode() {
return this.i.ahr;
}
set endLabelXDisplayMode(v) {
this.i.ahr = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets display mode of label at the end annotation on y-axis.
*/
get endLabelYDisplayMode() {
return this.i.ahs;
}
set endLabelYDisplayMode(v) {
this.i.ahs = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets mapping custom label at the center of the annotations on x-axis.
*/
get centerLabelXMemberPath() {
return this.i.ajn;
}
set centerLabelXMemberPath(v) {
this.i.ajn = v;
}
/**
* Gets or sets mapping custom label at the center of the annotations on y-axis.
*/
get centerLabelYMemberPath() {
return this.i.ajr;
}
set centerLabelYMemberPath(v) {
this.i.ajr = v;
}
/**
* Gets or sets display mode of label in the annotation on x-axis.
*/
get centerLabelXDisplayMode() {
return this.i.ahp;
}
set centerLabelXDisplayMode(v) {
this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets display mode of label in the annotation on y-axis.
*/
get centerLabelYDisplayMode() {
return this.i.ahq;
}
set centerLabelYDisplayMode(v) {
this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets a member path for visibility of the badge annotations on x-axis.
*/
get annotationBadgeEnabledXMemberPath() {
return this.i.ai4;
}
set annotationBadgeEnabledXMemberPath(v) {
this.i.ai4 = v;
}
/**
* Gets or sets a member path for visibility of the badge annotations on y-axis.
*/
get annotationBadgeEnabledYMemberPath() {
return this.i.ai7;
}
set annotationBadgeEnabledYMemberPath(v) {
this.i.ai7 = v;
}
/**
* Gets or sets a member path for background of the badge annotations on x-axis.
*/
get annotationBadgeBackgroundXMemberPath() {
return this.i.aiy;
}
set annotationBadgeBackgroundXMemberPath(v) {
this.i.aiy = v;
}
/**
* Gets or sets a member path for background of the badge annotations on y-axis.
*/
get annotationBadgeBackgroundYMemberPath() {
return this.i.ai1;
}
set annotationBadgeBackgroundYMemberPath(v) {
this.i.ai1 = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on x-axis.
*/
get annotationBadgeOutlineXMemberPath() {
return this.i.ajg;
}
set annotationBadgeOutlineXMemberPath(v) {
this.i.ajg = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on y-axis.
*/
get annotationBadgeOutlineYMemberPath() {
return this.i.ajj;
}
set annotationBadgeOutlineYMemberPath(v) {
this.i.ajj = v;
}
/**
* Gets or sets a member path for displaying an image in the badge annotations on x-axis.
*/
get annotationBadgeImageXMemberPath() {
return this.i.aja;
}
set annotationBadgeImageXMemberPath(v) {
this.i.aja = v;
}
/**
* Gets or sets a member path for displaying an image in the badge annotations on y-axis.
*/
get annotationBadgeImageYMemberPath() {
return this.i.ajd;
}
set annotationBadgeImageYMemberPath(v) {
this.i.ajd = v;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataAnnotationPointLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0-rc.1", type: IgxDataAnnotationPointLayerComponent, isStandalone: true, 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 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataAnnotationPointLayerComponent, decorators: [{
type: Component,
args: [{
template: ``,
}]
}], ctorParameters: () => [], 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
}] } });