UNPKG

igniteui-webcomponents-charts

Version:

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

62 lines (61 loc) 2.41 kB
import { IgcSplineSeriesBaseComponent } from "./igc-spline-series-base-component"; import { getAllPropertyNames, toSpinal, toPoint, fromPoint } from "igniteui-webcomponents-core"; let IgcSplineFragmentBaseComponent = /*@__PURE__*/ (() => { class IgcSplineFragmentBaseComponent extends IgcSplineSeriesBaseComponent { /** * @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 (IgcSplineFragmentBaseComponent._observedAttributesIgcSplineFragmentBaseComponent == null) { let names = getAllPropertyNames(IgcSplineFragmentBaseComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcSplineFragmentBaseComponent._observedAttributesIgcSplineFragmentBaseComponent = names; } return IgcSplineFragmentBaseComponent._observedAttributesIgcSplineFragmentBaseComponent; } /** * Gets whether the current series is a stack fragment. */ get isFragment() { return this.i.isFragment; } getSeriesValuePosition(world, useInterpolation, skipUnknowns) { let iv = this.i.ww(toPoint(world), useInterpolation, skipUnknowns); return fromPoint(iv); } } IgcSplineFragmentBaseComponent._observedAttributesIgcSplineFragmentBaseComponent = null; return IgcSplineFragmentBaseComponent; })(); export { IgcSplineFragmentBaseComponent };