igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
37 lines (36 loc) • 1.65 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 { __extends } from "tslib";
import { Base, Number_$type, markType } from "igniteui-angular-core";
import { List$1 } from "igniteui-angular-core";
import { isNaN_, isInfinity } from "igniteui-angular-core";
/**
* @hidden
*/
var DataLegendSummaryCalculationBase = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(DataLegendSummaryCalculationBase, _super);
function DataLegendSummaryCalculationBase() {
return _super !== null && _super.apply(this, arguments) || this;
}
DataLegendSummaryCalculationBase.prototype.a = function (a) {
var b = new List$1(Number_$type, 0);
for (var d = 0; d < a.length; d++) {
var c = a[d];
if (isNaN_(c)) {
continue;
}
if (isInfinity(c)) {
continue;
}
b.add(c);
}
return b.toArray();
};
DataLegendSummaryCalculationBase.$t = markType(DataLegendSummaryCalculationBase, 'DataLegendSummaryCalculationBase');
return DataLegendSummaryCalculationBase;
}(Base));
export { DataLegendSummaryCalculationBase };