UNPKG

igniteui-webcomponents-charts

Version:

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

81 lines (80 loc) 3.9 kB
import { __extends } from "tslib"; import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component"; import { EaseOfMovementIndicator } from "./EaseOfMovementIndicator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent Ease of Movement indicator series. * The ease of movement indicator by Richard W. Arms, Jr relates the price change of an asset to * its volume. Normally smoothed with a moving average. * Default required members: Low, High, Volume * * The ease of movment indicator is used to analyze relationships between a price changes and volume. One would usually plot this in a separate chart below the main price chart. It can be added to a chart like this: */ var IgcEaseOfMovementIndicatorComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcEaseOfMovementIndicatorComponent, _super); function IgcEaseOfMovementIndicatorComponent() { return _super.call(this) || this; } IgcEaseOfMovementIndicatorComponent.prototype.createImplementation = function () { return new EaseOfMovementIndicator(); }; Object.defineProperty(IgcEaseOfMovementIndicatorComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcEaseOfMovementIndicatorComponent.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(); } }; IgcEaseOfMovementIndicatorComponent.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(IgcEaseOfMovementIndicatorComponent, "observedAttributes", { get: function () { if (IgcEaseOfMovementIndicatorComponent._observedAttributesIgcEaseOfMovementIndicatorComponent == null) { var names = getAllPropertyNames(IgcEaseOfMovementIndicatorComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcEaseOfMovementIndicatorComponent._observedAttributesIgcEaseOfMovementIndicatorComponent = names; } return IgcEaseOfMovementIndicatorComponent._observedAttributesIgcEaseOfMovementIndicatorComponent; }, enumerable: false, configurable: true }); IgcEaseOfMovementIndicatorComponent.register = function () { if (!IgcEaseOfMovementIndicatorComponent._isElementRegistered) { IgcEaseOfMovementIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcEaseOfMovementIndicatorComponent.htmlTagName, IgcEaseOfMovementIndicatorComponent); } }; IgcEaseOfMovementIndicatorComponent._observedAttributesIgcEaseOfMovementIndicatorComponent = null; IgcEaseOfMovementIndicatorComponent.htmlTagName = "igc-ease-of-movement-indicator"; IgcEaseOfMovementIndicatorComponent._isElementRegistered = false; return IgcEaseOfMovementIndicatorComponent; }(IgcStrategyBasedIndicatorComponent)); export { IgcEaseOfMovementIndicatorComponent };