UNPKG

igniteui-webcomponents-charts

Version:

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

71 lines (70 loc) 2.89 kB
import { IgcHorizontalStackedSeriesBaseComponent } from "./igc-horizontal-stacked-series-base-component"; import { StackedLineSeries } from "./StackedLineSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcStackedLineSeriesComponent = /*@__PURE__*/ (() => { class IgcStackedLineSeriesComponent extends IgcHorizontalStackedSeriesBaseComponent { createImplementation() { return new StackedLineSeries(); } /** * @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 (IgcStackedLineSeriesComponent._observedAttributesIgcStackedLineSeriesComponent == null) { let names = getAllPropertyNames(IgcStackedLineSeriesComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcStackedLineSeriesComponent._observedAttributesIgcStackedLineSeriesComponent = names; } return IgcStackedLineSeriesComponent._observedAttributesIgcStackedLineSeriesComponent; } static register() { if (!IgcStackedLineSeriesComponent._isElementRegistered) { IgcStackedLineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcStackedLineSeriesComponent.htmlTagName, IgcStackedLineSeriesComponent); } } /** * Gets whether the current series shows only line shapes. */ get isLineOnly() { return this.i.fn; } } IgcStackedLineSeriesComponent._observedAttributesIgcStackedLineSeriesComponent = null; IgcStackedLineSeriesComponent.htmlTagName = "igc-stacked-line-series"; IgcStackedLineSeriesComponent._isElementRegistered = false; return IgcStackedLineSeriesComponent; })(); export { IgcStackedLineSeriesComponent };