igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
275 lines (274 loc) • 9.69 kB
JavaScript
import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode";
import { IgcDataAnnotationRangeLayerComponent } from "./igc-data-annotation-range-layer-component";
import { getAllPropertyNames, toSpinal, ensureEnum, enumToString } from "igniteui-webcomponents-core";
let IgcDataAnnotationPointLayerComponent = /*@__PURE__*/ (() => {
class IgcDataAnnotationPointLayerComponent extends IgcDataAnnotationRangeLayerComponent {
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor() {
super();
}
connectedCallback() {
if (super["connectedCallback"]) {
super["connectedCallback"]();
}
if (this.i.connectedCallback) {
this.i.connectedCallback();
}
if (!this._attached) {
this._attached = true;
this._flushQueuedAttributes();
}
}
disconnectedCallback() {
if (super["disconnectedCallback"]) {
super["disconnectedCallback"]();
}
if (this.i.disconnectedCallback) {
this.i.disconnectedCallback();
}
if (this._attached) {
this._attached = false;
}
}
static get observedAttributes() {
if (IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent == null) {
let names = getAllPropertyNames(IgcDataAnnotationPointLayerComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent = names;
}
return IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent;
}
/**
* Gets or sets name of data column with x-positions for the start of annotations.
*/
get startValueXMemberPath() {
return this.i.ake;
}
set startValueXMemberPath(v) {
this.i.ake = v;
}
/**
* Gets or sets name of data column with y-positions for the start of annotations.
*/
get startValueYMemberPath() {
return this.i.akh;
}
set startValueYMemberPath(v) {
this.i.akh = v;
}
/**
* Gets or sets mapping custom label at the start of annotations on x-axis.
*/
get startLabelXMemberPath() {
return this.i.aj7;
}
set startLabelXMemberPath(v) {
this.i.aj7 = v;
}
/**
* Gets or sets mapping custom label at the start of annotations on y-axis.
*/
get startLabelYMemberPath() {
return this.i.akb;
}
set startLabelYMemberPath(v) {
this.i.akb = v;
}
/**
* Gets or sets display mode of label in the start annotation on x-axis.
*/
get startLabelXDisplayMode() {
return this.i.aht;
}
set startLabelXDisplayMode(v) {
this.i.aht = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("startLabelXDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.aht));
}
/**
* Gets or sets display mode of label in the start annotation on y-axis.
*/
get startLabelYDisplayMode() {
return this.i.ahu;
}
set startLabelYDisplayMode(v) {
this.i.ahu = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("startLabelYDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahu));
}
/**
* Gets or sets name of data column with x-positions for end of annotation.
*/
get endValueXMemberPath() {
return this.i.aj0;
}
set endValueXMemberPath(v) {
this.i.aj0 = v;
}
/**
* Gets or sets name of data column with y-positions for end of annotation.
*/
get endValueYMemberPath() {
return this.i.aj3;
}
set endValueYMemberPath(v) {
this.i.aj3 = v;
}
/**
* Gets or sets mapping custom label at the end of annotations on x-axis.
*/
get endLabelXMemberPath() {
return this.i.ajt;
}
set endLabelXMemberPath(v) {
this.i.ajt = v;
}
/**
* Gets or sets mapping custom label at the end of annotations on y-axis.
*/
get endLabelYMemberPath() {
return this.i.ajx;
}
set endLabelYMemberPath(v) {
this.i.ajx = v;
}
/**
* Gets or sets display mode of label at the end annotation on x-axis.
*/
get endLabelXDisplayMode() {
return this.i.ahp;
}
set endLabelXDisplayMode(v) {
this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("endLabelXDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahp));
}
/**
* Gets or sets display mode of label at the end annotation on y-axis.
*/
get endLabelYDisplayMode() {
return this.i.ahq;
}
set endLabelYDisplayMode(v) {
this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("endLabelYDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahq));
}
/**
* Gets or sets mapping custom label at the center of the annotations on x-axis.
*/
get centerLabelXMemberPath() {
return this.i.ajl;
}
set centerLabelXMemberPath(v) {
this.i.ajl = v;
}
/**
* Gets or sets mapping custom label at the center of the annotations on y-axis.
*/
get centerLabelYMemberPath() {
return this.i.ajp;
}
set centerLabelYMemberPath(v) {
this.i.ajp = v;
}
/**
* Gets or sets display mode of label in the annotation on x-axis.
*/
get centerLabelXDisplayMode() {
return this.i.ahn;
}
set centerLabelXDisplayMode(v) {
this.i.ahn = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("centerLabelXDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahn));
}
/**
* Gets or sets display mode of label in the annotation on y-axis.
*/
get centerLabelYDisplayMode() {
return this.i.aho;
}
set centerLabelYDisplayMode(v) {
this.i.aho = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("centerLabelYDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.aho));
}
/**
* Gets or sets a member path for visibility of the badge annotations on x-axis.
*/
get annotationBadgeEnabledXMemberPath() {
return this.i.ai2;
}
set annotationBadgeEnabledXMemberPath(v) {
this.i.ai2 = v;
}
/**
* Gets or sets a member path for visibility of the badge annotations on y-axis.
*/
get annotationBadgeEnabledYMemberPath() {
return this.i.ai5;
}
set annotationBadgeEnabledYMemberPath(v) {
this.i.ai5 = v;
}
/**
* Gets or sets a member path for background of the badge annotations on x-axis.
*/
get annotationBadgeBackgroundXMemberPath() {
return this.i.aiw;
}
set annotationBadgeBackgroundXMemberPath(v) {
this.i.aiw = v;
}
/**
* Gets or sets a member path for background of the badge annotations on y-axis.
*/
get annotationBadgeBackgroundYMemberPath() {
return this.i.aiz;
}
set annotationBadgeBackgroundYMemberPath(v) {
this.i.aiz = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on x-axis.
*/
get annotationBadgeOutlineXMemberPath() {
return this.i.aje;
}
set annotationBadgeOutlineXMemberPath(v) {
this.i.aje = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on y-axis.
*/
get annotationBadgeOutlineYMemberPath() {
return this.i.ajh;
}
set annotationBadgeOutlineYMemberPath(v) {
this.i.ajh = v;
}
/**
* Gets or sets a member path for displaying an image in the badge annotations on x-axis.
*/
get annotationBadgeImageXMemberPath() {
return this.i.ai8;
}
set annotationBadgeImageXMemberPath(v) {
this.i.ai8 = v;
}
/**
* Gets or sets a member path for displaying an image in the badge annotations on y-axis.
*/
get annotationBadgeImageYMemberPath() {
return this.i.ajb;
}
set annotationBadgeImageYMemberPath(v) {
this.i.ajb = v;
}
}
IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent = null;
return IgcDataAnnotationPointLayerComponent;
})();
export { IgcDataAnnotationPointLayerComponent };