UNPKG

igniteui-react-charts

Version:

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

52 lines (51 loc) 1.95 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, markType } from "igniteui-react-core"; import { isNaN_ } from "igniteui-react-core"; /** * @hidden */ export let CategoryMarkerManager = /*@__PURE__*/ (() => { class CategoryMarkerManager extends Base { static e(a, b, c, d) { let e = a.x3(); if (c == null) { return; } if (e) { let f = false; CategoryMarkerManager.a = false; let g = a.x6; let h = !isNaN_(g); for (let i = 0; i < b.count; ++i) { CategoryMarkerManager.d(c, i, b, d, f, g, h); } CategoryMarkerManager.a = false; c.count = b.count; } } static d(a, b, c, d, e, f, g) { if (g) { a.item(b).width = f; a.item(b).height = f; a.item(b).ai = true; } else if (a.item(b).ai) { a.item(b).width = NaN; a.item(b).height = NaN; a.item(b).ai = false; } a.item(b).n = c._inner[b].x; a.item(b).o = c._inner[b].y; } } CategoryMarkerManager.$t = /*@__PURE__*/ markType(CategoryMarkerManager, 'CategoryMarkerManager'); CategoryMarkerManager.a = false; CategoryMarkerManager.c = 0; CategoryMarkerManager.b = 0; return CategoryMarkerManager; })();