UNPKG

igniteui-angular-charts

Version:

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

49 lines (48 loc) 1.69 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-angular-core"; import { isNaN_ } from "igniteui-angular-core"; /** * @hidden */ export class CategoryMarkerManager extends Base { static { this.$t = markType(CategoryMarkerManager, 'CategoryMarkerManager'); } static { this.a = false; } static { this.c = 0; } static { this.b = 0; } static e(a, b, c, d) { let e = a.x4(); if (c == null) { return; } if (e) { let f = false; CategoryMarkerManager.a = false; let g = a.yh; 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; } }