igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
35 lines (34 loc) • 1.51 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { IndicatorCalculationStrategy } from "./IndicatorCalculationStrategy";
import { markType } from "igniteui-angular-core";
/**
* @hidden
*/
export let ItemwiseStrategyCalculationStrategy = /*@__PURE__*/ (() => {
class ItemwiseStrategyCalculationStrategy extends IndicatorCalculationStrategy {
constructor() {
super(...arguments);
this.c = null;
}
b(a, b) {
return this.c.b(a, b);
}
a(a, b) {
let c = true;
for (let d = a.calculateFrom; d < a.calculateFrom + a.calculateCount; d++) {
c = this.c.a(a, b, d);
if (!c) {
return false;
}
}
return c;
}
}
ItemwiseStrategyCalculationStrategy.$t = markType(ItemwiseStrategyCalculationStrategy, 'ItemwiseStrategyCalculationStrategy', IndicatorCalculationStrategy.$);
return ItemwiseStrategyCalculationStrategy;
})();