UNPKG

igniteui-webcomponents-charts

Version:

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

103 lines (102 loc) 4.1 kB
import { __extends } from "tslib"; import { IgcHorizontalRangeCategorySeriesComponent } from "./igc-horizontal-range-category-series-component"; import { RangeAreaSeries } from "./RangeAreaSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent range area series. * * The `RangeAreaSeries` class represents the range area series of the IgxDataChartComponent. */ export var IgcRangeAreaSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcRangeAreaSeriesComponent, _super); function IgcRangeAreaSeriesComponent() { return _super.call(this) || this; } IgcRangeAreaSeriesComponent.prototype.createImplementation = function () { return new RangeAreaSeries(); }; Object.defineProperty(IgcRangeAreaSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcRangeAreaSeriesComponent.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(); } }; IgcRangeAreaSeriesComponent.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(IgcRangeAreaSeriesComponent, "observedAttributes", { get: function () { if (IgcRangeAreaSeriesComponent._observedAttributesIgcRangeAreaSeriesComponent == null) { var names = getAllPropertyNames(IgcRangeAreaSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcRangeAreaSeriesComponent._observedAttributesIgcRangeAreaSeriesComponent = names; } return IgcRangeAreaSeriesComponent._observedAttributesIgcRangeAreaSeriesComponent; }, enumerable: false, configurable: true }); IgcRangeAreaSeriesComponent.register = function () { if (!IgcRangeAreaSeriesComponent._isElementRegistered) { IgcRangeAreaSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcRangeAreaSeriesComponent.htmlTagName, IgcRangeAreaSeriesComponent); } }; Object.defineProperty(IgcRangeAreaSeriesComponent.prototype, "isAreaOrLine", { /** * Gets whether the current series shows an area or line shape. * * Use the `IsAreaOrLine` property to check if the current series shows an area or line shape. * * ```ts * var x= series.isAreaOrLine; * ``` */ get: function () { return this.i.ey; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRangeAreaSeriesComponent.prototype, "isArea", { /** * Gets whether the current series shows an area shape. */ get: function () { return this.i.ex; }, enumerable: false, configurable: true }); IgcRangeAreaSeriesComponent._observedAttributesIgcRangeAreaSeriesComponent = null; IgcRangeAreaSeriesComponent.htmlTagName = "igc-range-area-series"; IgcRangeAreaSeriesComponent._isElementRegistered = false; return IgcRangeAreaSeriesComponent; }(IgcHorizontalRangeCategorySeriesComponent));