UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

38 lines (36 loc) 1.87 kB
import { Component } from '@angular/core'; import { IgxStrategyBasedIndicatorComponent } from "./igx-strategy-based-indicator-component"; import * as i0 from "@angular/core"; /** * Financial indicator base class for doing calculating an itemwize indicator. * An itemwise indicator's individual values don't depend on any other values in the * collection so can always be independently recalculated. Also, because of this, the * base class handles all the looping logic and inheritors only need to provide the * actual calculation. */ export class IgxItemwiseStrategyBasedIndicatorComponent extends IgxStrategyBasedIndicatorComponent { /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } /** * This is a marker method to distinguish this from a public api perspective on some platforms compared to the base strategy based indicators. */ resolveIsItemwise() { let iv = this.i.ac5(); return (iv); } static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxItemwiseStrategyBasedIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); } static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0-rc.1", type: IgxItemwiseStrategyBasedIndicatorComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxItemwiseStrategyBasedIndicatorComponent, decorators: [{ type: Component, args: [{ template: ``, }] }], ctorParameters: () => [] });