UNPKG

igniteui-webcomponents-charts

Version:

Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.

119 lines (118 loc) 4.57 kB
import { IgcDataAnnotationShapeLayerComponent } from "./igc-data-annotation-shape-layer-component"; import { DataAnnotationSliceLayer } from "./DataAnnotationSliceLayer"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcDataAnnotationSliceLayerComponent = /*@__PURE__*/ (() => { class IgcDataAnnotationSliceLayerComponent extends IgcDataAnnotationShapeLayerComponent { createImplementation() { return new DataAnnotationSliceLayer(); } /** * @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 (IgcDataAnnotationSliceLayerComponent._observedAttributesIgcDataAnnotationSliceLayerComponent == null) { let names = getAllPropertyNames(IgcDataAnnotationSliceLayerComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcDataAnnotationSliceLayerComponent._observedAttributesIgcDataAnnotationSliceLayerComponent = names; } return IgcDataAnnotationSliceLayerComponent._observedAttributesIgcDataAnnotationSliceLayerComponent; } static register() { if (!IgcDataAnnotationSliceLayerComponent._isElementRegistered) { IgcDataAnnotationSliceLayerComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcDataAnnotationSliceLayerComponent.htmlTagName, IgcDataAnnotationSliceLayerComponent); } } /** * Gets or sets name of data column with values used to position annotations. */ get annotationValueMemberPath() { return this.i.aho; } set annotationValueMemberPath(v) { this.i.aho = v; } /** * Gets or sets mapping custom label on axis annotations. */ get annotationLabelMemberPath() { return this.i.ahl; } set annotationLabelMemberPath(v) { this.i.ahl = v; } /** * Gets or sets a member path for visibility of the badge annotations on an axis. */ get annotationBadgeEnabledMemberPath() { return this.i.ahc; } set annotationBadgeEnabledMemberPath(v) { this.i.ahc = v; } /** * Gets or sets a member path for background of the badge annotations on an axis. */ get annotationBadgeBackgroundMemberPath() { return this.i.ag9; } set annotationBadgeBackgroundMemberPath(v) { this.i.ag9 = v; } /** * Gets or sets a member path for outline of the badge annotations on an axis. */ get annotationBadgeOutlineMemberPath() { return this.i.ahi; } set annotationBadgeOutlineMemberPath(v) { this.i.ahi = v; } /** * Gets or sets a member path for image of the badge annotations on an axis. */ get annotationBadgeImageMemberPath() { return this.i.ahf; } set annotationBadgeImageMemberPath(v) { this.i.ahf = v; } } IgcDataAnnotationSliceLayerComponent._observedAttributesIgcDataAnnotationSliceLayerComponent = null; IgcDataAnnotationSliceLayerComponent.htmlTagName = "igc-data-annotation-slice-layer"; IgcDataAnnotationSliceLayerComponent._isElementRegistered = false; return IgcDataAnnotationSliceLayerComponent; })(); export { IgcDataAnnotationSliceLayerComponent };