UNPKG

igniteui-webcomponents-charts

Version:

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

81 lines (80 loc) 3.13 kB
import { IgcScatterBaseComponent } from "./igc-scatter-base-component"; import { ScatterSplineSeries } from "./ScatterSplineSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcScatterSplineSeriesComponent = /*@__PURE__*/ (() => { class IgcScatterSplineSeriesComponent extends IgcScatterBaseComponent { createImplementation() { return new ScatterSplineSeries(); } /** * @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 (IgcScatterSplineSeriesComponent._observedAttributesIgcScatterSplineSeriesComponent == null) { let names = getAllPropertyNames(IgcScatterSplineSeriesComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcScatterSplineSeriesComponent._observedAttributesIgcScatterSplineSeriesComponent = names; } return IgcScatterSplineSeriesComponent._observedAttributesIgcScatterSplineSeriesComponent; } static register() { if (!IgcScatterSplineSeriesComponent._isElementRegistered) { IgcScatterSplineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcScatterSplineSeriesComponent.htmlTagName, IgcScatterSplineSeriesComponent); } } /** * Gets whether the current series shows a spline shape. */ get isSpline() { return this.i.f3; } /** * Gets or sets the Stiffness property. */ get stiffness() { return this.i.ac9; } set stiffness(v) { this.i.ac9 = +v; this._a("stiffness", this.i.ac9); } } IgcScatterSplineSeriesComponent._observedAttributesIgcScatterSplineSeriesComponent = null; IgcScatterSplineSeriesComponent.htmlTagName = "igc-scatter-spline-series"; IgcScatterSplineSeriesComponent._isElementRegistered = false; return IgcScatterSplineSeriesComponent; })(); export { IgcScatterSplineSeriesComponent };