UNPKG

igniteui-webcomponents-charts

Version:

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

83 lines (82 loc) 3.34 kB
import { IgcHorizontalStackedSeriesBaseComponent } from "./igc-horizontal-stacked-series-base-component"; import { StackedSplineSeries } from "./StackedSplineSeries"; import { getAllPropertyNames, toSpinal, ensureBool } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent stacked spline series. */ export let IgcStackedSplineSeriesComponent = /*@__PURE__*/ (() => { class IgcStackedSplineSeriesComponent extends IgcHorizontalStackedSeriesBaseComponent { createImplementation() { return new StackedSplineSeries(); } /** * @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 (IgcStackedSplineSeriesComponent._observedAttributesIgcStackedSplineSeriesComponent == null) { let names = getAllPropertyNames(IgcStackedSplineSeriesComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcStackedSplineSeriesComponent._observedAttributesIgcStackedSplineSeriesComponent = names; } return IgcStackedSplineSeriesComponent._observedAttributesIgcStackedSplineSeriesComponent; } static register() { if (!IgcStackedSplineSeriesComponent._isElementRegistered) { IgcStackedSplineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcStackedSplineSeriesComponent.htmlTagName, IgcStackedSplineSeriesComponent); } } /** * Gets or sets whether to include the spline shape in the axis range requested of the axis. */ get isSplineShapePartOfRange() { return this.i.ab7; } set isSplineShapePartOfRange(v) { this.i.ab7 = ensureBool(v); this._a("isSplineShapePartOfRange", this.i.ab7); } /** * Gets whether the current series shows a spline shape. */ get isSpline() { return this.i.f1; } } IgcStackedSplineSeriesComponent._observedAttributesIgcStackedSplineSeriesComponent = null; IgcStackedSplineSeriesComponent.htmlTagName = "igc-stacked-spline-series"; IgcStackedSplineSeriesComponent._isElementRegistered = false; return IgcStackedSplineSeriesComponent; })();