UNPKG

igniteui-webcomponents-charts

Version:

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

89 lines (88 loc) 3.39 kB
import { IgcPolarLineSeriesBaseComponent } from "./igc-polar-line-series-base-component"; import { PolarSplineAreaSeries } from "./PolarSplineAreaSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent polar spline area series. */ export let IgcPolarSplineAreaSeriesComponent = /*@__PURE__*/ (() => { class IgcPolarSplineAreaSeriesComponent extends IgcPolarLineSeriesBaseComponent { createImplementation() { return new PolarSplineAreaSeries(); } /** * @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 (IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent == null) { let names = getAllPropertyNames(IgcPolarSplineAreaSeriesComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent = names; } return IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent; } static register() { if (!IgcPolarSplineAreaSeriesComponent._isElementRegistered) { IgcPolarSplineAreaSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcPolarSplineAreaSeriesComponent.htmlTagName, IgcPolarSplineAreaSeriesComponent); } } /** * Gets whether the current series shows an area shape. */ get isArea() { return this.i.ew; } /** * Gets whether the current series shows a spline shape. */ get isSpline() { return this.i.f1; } /** * Gets or sets the Stiffness property. */ get stiffness() { return this.i.ac0; } set stiffness(v) { this.i.ac0 = +v; this._a("stiffness", this.i.ac0); } } IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent = null; IgcPolarSplineAreaSeriesComponent.htmlTagName = "igc-polar-spline-area-series"; IgcPolarSplineAreaSeriesComponent._isElementRegistered = false; return IgcPolarSplineAreaSeriesComponent; })();