UNPKG

igniteui-webcomponents-charts

Version:

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

85 lines (84 loc) 3.39 kB
import { __extends } from "tslib"; import { IgcScatterBaseComponent } from "./igc-scatter-base-component"; import { ScatterSeries } from "./ScatterSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent scatter series */ export var IgcScatterSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcScatterSeriesComponent, _super); function IgcScatterSeriesComponent() { return _super.call(this) || this; } IgcScatterSeriesComponent.prototype.createImplementation = function () { return new ScatterSeries(); }; Object.defineProperty(IgcScatterSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcScatterSeriesComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcScatterSeriesComponent.prototype.disconnectedCallback = function () { if (_super.prototype["disconnectedCallback"]) { _super.prototype["disconnectedCallback"].call(this); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } }; Object.defineProperty(IgcScatterSeriesComponent, "observedAttributes", { get: function () { if (IgcScatterSeriesComponent._observedAttributesIgcScatterSeriesComponent == null) { var names = getAllPropertyNames(IgcScatterSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcScatterSeriesComponent._observedAttributesIgcScatterSeriesComponent = names; } return IgcScatterSeriesComponent._observedAttributesIgcScatterSeriesComponent; }, enumerable: false, configurable: true }); IgcScatterSeriesComponent.register = function () { if (!IgcScatterSeriesComponent._isElementRegistered) { IgcScatterSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcScatterSeriesComponent.htmlTagName, IgcScatterSeriesComponent); } }; Object.defineProperty(IgcScatterSeriesComponent.prototype, "hasOnlyMarkers", { /** * Gets whether the series has only marker as visuals */ get: function () { return this.i.ek; }, enumerable: false, configurable: true }); IgcScatterSeriesComponent._observedAttributesIgcScatterSeriesComponent = null; IgcScatterSeriesComponent.htmlTagName = "igc-scatter-series"; IgcScatterSeriesComponent._isElementRegistered = false; return IgcScatterSeriesComponent; }(IgcScatterBaseComponent));