UNPKG

igniteui-webcomponents-charts

Version:

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

142 lines (141 loc) 5.45 kB
import { IgcDataAnnotationShapeLayerComponent } from "./igc-data-annotation-shape-layer-component"; import { getAllPropertyNames, toSpinal, brushToString, stringToBrush } from "igniteui-webcomponents-core"; let IgcDataAnnotationRangeLayerComponent = /*@__PURE__*/ (() => { class IgcDataAnnotationRangeLayerComponent extends IgcDataAnnotationShapeLayerComponent { /** * @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 (IgcDataAnnotationRangeLayerComponent._observedAttributesIgcDataAnnotationRangeLayerComponent == null) { let names = getAllPropertyNames(IgcDataAnnotationRangeLayerComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcDataAnnotationRangeLayerComponent._observedAttributesIgcDataAnnotationRangeLayerComponent = names; } return IgcDataAnnotationRangeLayerComponent._observedAttributesIgcDataAnnotationRangeLayerComponent; } /** * Gets or sets the text color used for displaying the start annotation label. */ get startLabelTextColor() { return brushToString(this.i.ahm); } set startLabelTextColor(v) { this.i.ahm = stringToBrush(v); this._a("startLabelTextColor", brushToString(this.i.ahm)); } /** * Gets or sets the background used for displaying the start annotation label. */ get startLabelBackground() { return brushToString(this.i.ahk); } set startLabelBackground(v) { this.i.ahk = stringToBrush(v); this._a("startLabelBackground", brushToString(this.i.ahk)); } /** * Gets or sets the border color used for displaying Start annotation label. */ get startLabelBorderColor() { return brushToString(this.i.ahl); } set startLabelBorderColor(v) { this.i.ahl = stringToBrush(v); this._a("startLabelBorderColor", brushToString(this.i.ahl)); } /** * Gets or sets the text color used for displaying the end annotation label. */ get endLabelTextColor() { return brushToString(this.i.ahj); } set endLabelTextColor(v) { this.i.ahj = stringToBrush(v); this._a("endLabelTextColor", brushToString(this.i.ahj)); } /** * Gets or sets the background used for displaying the end annotation label. */ get endLabelBackground() { return brushToString(this.i.ahh); } set endLabelBackground(v) { this.i.ahh = stringToBrush(v); this._a("endLabelBackground", brushToString(this.i.ahh)); } /** * Gets or sets the border used for displaying the end annotation label. */ get endLabelBorderColor() { return brushToString(this.i.ahi); } set endLabelBorderColor(v) { this.i.ahi = stringToBrush(v); this._a("endLabelBorderColor", brushToString(this.i.ahi)); } /** * Gets or sets the text color used for displaying the center annotation label. */ get centerLabelTextColor() { return brushToString(this.i.ahg); } set centerLabelTextColor(v) { this.i.ahg = stringToBrush(v); this._a("centerLabelTextColor", brushToString(this.i.ahg)); } /** * Gets or sets the background used for displaying the center annotation label. */ get centerLabelBackground() { return brushToString(this.i.ahe); } set centerLabelBackground(v) { this.i.ahe = stringToBrush(v); this._a("centerLabelBackground", brushToString(this.i.ahe)); } /** * Gets or sets the border color used for displaying the center annotation label. */ get centerLabelBorderColor() { return brushToString(this.i.ahf); } set centerLabelBorderColor(v) { this.i.ahf = stringToBrush(v); this._a("centerLabelBorderColor", brushToString(this.i.ahf)); } } IgcDataAnnotationRangeLayerComponent._observedAttributesIgcDataAnnotationRangeLayerComponent = null; return IgcDataAnnotationRangeLayerComponent; })(); export { IgcDataAnnotationRangeLayerComponent };