UNPKG

igniteui-webcomponents-charts

Version:

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

115 lines (114 loc) 4.45 kB
import { __extends } from "tslib"; import { IgcHorizontalAnchoredCategorySeriesComponent } from "./igc-horizontal-anchored-category-series-component"; import { StepLineSeries } from "./StepLineSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent step line series. */ export var IgcStepLineSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcStepLineSeriesComponent, _super); function IgcStepLineSeriesComponent() { return _super.call(this) || this; } IgcStepLineSeriesComponent.prototype.createImplementation = function () { return new StepLineSeries(); }; Object.defineProperty(IgcStepLineSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcStepLineSeriesComponent.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(); } }; IgcStepLineSeriesComponent.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(IgcStepLineSeriesComponent, "observedAttributes", { get: function () { if (IgcStepLineSeriesComponent._observedAttributesIgcStepLineSeriesComponent == null) { var names = getAllPropertyNames(IgcStepLineSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcStepLineSeriesComponent._observedAttributesIgcStepLineSeriesComponent = names; } return IgcStepLineSeriesComponent._observedAttributesIgcStepLineSeriesComponent; }, enumerable: false, configurable: true }); IgcStepLineSeriesComponent.register = function () { if (!IgcStepLineSeriesComponent._isElementRegistered) { IgcStepLineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcStepLineSeriesComponent.htmlTagName, IgcStepLineSeriesComponent); } }; Object.defineProperty(IgcStepLineSeriesComponent.prototype, "isLineOnly", { /** * Gets whether the current series shows only line shapes. */ get: function () { return this.i.fn; }, enumerable: false, configurable: true }); Object.defineProperty(IgcStepLineSeriesComponent.prototype, "isStep", { /** * Gets whether the current series shows step shapes. */ get: function () { return this.i.f4; }, enumerable: false, configurable: true }); Object.defineProperty(IgcStepLineSeriesComponent.prototype, "isMarkerlessDisplayPreferred", { /** * Overridden by derived series classes to indicate when marker-less display is preferred or not. */ get: function () { return this.i.fo; }, enumerable: false, configurable: true }); Object.defineProperty(IgcStepLineSeriesComponent.prototype, "isAreaOrLine", { /** * Gets whether the current series shows an area or line shape. */ get: function () { return this.i.ey; }, enumerable: false, configurable: true }); IgcStepLineSeriesComponent._observedAttributesIgcStepLineSeriesComponent = null; IgcStepLineSeriesComponent.htmlTagName = "igc-step-line-series"; IgcStepLineSeriesComponent._isElementRegistered = false; return IgcStepLineSeriesComponent; }(IgcHorizontalAnchoredCategorySeriesComponent));