UNPKG

igniteui-react-charts

Version:

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

33 lines (32 loc) 1.39 kB
/* 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 { Base, Number_$type, markType } from "igniteui-react-core"; import { List$1 } from "igniteui-react-core"; import { isNaN_, isInfinity } from "igniteui-react-core"; /** * @hidden */ export let DataLegendSummaryCalculationBase = /*@__PURE__*/ (() => { class DataLegendSummaryCalculationBase extends Base { a(a) { let b = new List$1(Number_$type, 0); for (let d = 0; d < a.length; d++) { let c = a[d]; if (isNaN_(c)) { continue; } if (isInfinity(c)) { continue; } b.add(c); } return b.toArray(); } } DataLegendSummaryCalculationBase.$t = /*@__PURE__*/ markType(DataLegendSummaryCalculationBase, 'DataLegendSummaryCalculationBase'); return DataLegendSummaryCalculationBase; })();