UNPKG

igniteui-webcomponents-charts

Version:

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

70 lines (69 loc) 3.3 kB
import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component"; import { AccumulationDistributionIndicator } from "./AccumulationDistributionIndicator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent Accumulation/Distribution indicator series. * Default required members: Close, Low, High, Volume * * You can use the `AccumulationDistributionIndicator` to evaluate the suppy and demand of a stock, security, or index. */ export let IgcAccumulationDistributionIndicatorComponent = /*@__PURE__*/ (() => { class IgcAccumulationDistributionIndicatorComponent extends IgcStrategyBasedIndicatorComponent { createImplementation() { return new AccumulationDistributionIndicator(); } /** * @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 (IgcAccumulationDistributionIndicatorComponent._observedAttributesIgcAccumulationDistributionIndicatorComponent == null) { let names = getAllPropertyNames(IgcAccumulationDistributionIndicatorComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcAccumulationDistributionIndicatorComponent._observedAttributesIgcAccumulationDistributionIndicatorComponent = names; } return IgcAccumulationDistributionIndicatorComponent._observedAttributesIgcAccumulationDistributionIndicatorComponent; } static register() { if (!IgcAccumulationDistributionIndicatorComponent._isElementRegistered) { IgcAccumulationDistributionIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcAccumulationDistributionIndicatorComponent.htmlTagName, IgcAccumulationDistributionIndicatorComponent); } } } IgcAccumulationDistributionIndicatorComponent._observedAttributesIgcAccumulationDistributionIndicatorComponent = null; IgcAccumulationDistributionIndicatorComponent.htmlTagName = "igc-accumulation-distribution-indicator"; IgcAccumulationDistributionIndicatorComponent._isElementRegistered = false; return IgcAccumulationDistributionIndicatorComponent; })();