UNPKG

igniteui-react-charts

Version:

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

1,173 lines (1,172 loc) 40.3 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, enumGetBox, EnumUtil, Array_$type, runOn, delegateCombine, typeCast, fromEnum, markDep } from "igniteui-react-core"; import { IBucketizer_$type } from "./IBucketizer"; import { NotImplementedException } from "igniteui-react-core"; import { CategoryAngleAxis } from "./CategoryAngleAxis"; import { NumericRadiusAxis } from "./NumericRadiusAxis"; import { truncate, intDivide, isNaN_ } from "igniteui-react-core"; import { MarkerSeries } from "./MarkerSeries"; import { IHasCategoryModePreference_$type } from "./IHasCategoryModePreference"; import { DependencyProperty } from "igniteui-react-core"; import { RadialLabelMode_$type } from "igniteui-react-core"; import { CategoryCollisionMode_$type } from "./CategoryCollisionMode"; import { CategoryTransitionInMode_$type } from "./CategoryTransitionInMode"; import { HighlightingInfo } from "igniteui-react-core"; import { BindingFormatter } from "igniteui-react-core"; import { CategoryTransitionSourceFramePreparer } from "./CategoryTransitionSourceFramePreparer"; import { RadialFrame } from "./RadialFrame"; import { RadialSeriesRenderManager } from "./RadialSeriesRenderManager"; import { List$1 } from "igniteui-react-core"; import { SeriesPointOfInterest } from "./SeriesPointOfInterest"; import { ScalerParams } from "./ScalerParams"; import { Marker } from "./Marker"; import { MarkerSeriesView } from "./MarkerSeriesView"; import { ProportionalRadialLabelContext } from "./ProportionalRadialLabelContext"; import { SeriesLayerPropertyOverlay } from "./SeriesLayerPropertyOverlay"; import { DoubleCollection } from "igniteui-react-core"; import { RadialAxes } from "./RadialAxes"; import { Visibility_$type } from "igniteui-react-core"; import { ChartSelection } from "./ChartSelection"; import { PropertyMetadata } from "igniteui-react-core"; import { round10N } from "igniteui-react-core"; import { Pool$1 } from "igniteui-react-core"; /** * @hidden */ export let RadialBucketCalculator = /*@__PURE__*/ (() => { class RadialBucketCalculator extends Base { constructor(a) { super(); this.a = null; this.c = 0; this.d = 0; this.b = 0; this.a = a; } getBucket(a) { throw new NotImplementedException(0); } getBucketWithoutUnknowns(a) { return this.getBucket(a); } getErrorBucket(a, b) { return NaN; } getBucketInfo(a, b, c, d) { a = this.c; b = this.d; c = this.b; d = this.a.c9.ie; return { p0: a, p1: b, p2: c, p3: d }; } e(a) { let b = this.a.ca; let c = this.a.b9; let d = this.a.getEffectiveViewport(); let e = this.a.c9.y4; if (b.isEmpty || c.isEmpty || e == null || this.a.c9.dp == null || this.a.c9.dp.count == 0) { this.b = 0; return; } let f = Math.floor(e.m9(c, d, b)); let g = Math.ceil(e.m8(c, d, b)); if (e.ch) { g = Math.ceil(e.m9(c, d, b)); f = Math.floor(e.m8(c, d, b)); } if (g < f) { g = e.lj + g; } let h = this.a.c9.za; let i = h != null ? h.n7 : 0.75; let j = Math.min(c.width, c.height) * 0.5 * (i) * 2 * Math.PI; let k = Math.floor((g - f + 1) * a / j); this.b = truncate(Math.max(1, k)); this.c = truncate(Math.max(0, Math.floor(f / this.b) - 1)); this.d = truncate(Math.ceil(g / this.b)); if (e.cl) { this.b = 1; this.c = truncate(Math.max(0, Math.floor(f / this.b) - 1)); this.d = truncate(Math.ceil(g / this.b)); } } cacheValues() { } unCacheValues() { } } RadialBucketCalculator.$t = /*@__PURE__*/ markType(RadialBucketCalculator, 'RadialBucketCalculator', Base.$, [IBucketizer_$type]); return RadialBucketCalculator; })(); /** * @hidden */ export let RadialBase = /*@__PURE__*/ (() => { class RadialBase extends MarkerSeries { q3(a) { super.q3(a); this.zc = a; } constructor() { super(); this.zj = null; this.zq = false; this.zp = false; this.zn = null; this.zo = null; this.assigningRadialStyle = null; this.assigningRadialMarkerStyle = null; this.yx = null; this.y1 = null; this.yy = null; this.y0 = null; this.yz = null; this.zf = new RadialFrame(4); this.zg = new RadialFrame(4); this.zd = new RadialFrame(4); this.zb = null; this.y9 = null; this.y9 = new CategoryTransitionSourceFramePreparer(); this.zj = new RadialSeriesRenderManager(); } abb() { if (this.dd.g) { this.dd.t(); } } get categoryAxis() { return this.y4; } a0() { return this.y4; } ys(a, b) { return null; } pu(a) { if (this.y4.cl && this.y4.n6(a)) { if (this.fj) { this.ba.a$x(this, a, this.y4.lk - 1); } return; } super.pu(a); } eg(a) { if (this.y4 != null && this.y4.cl && this.y4.hasOthersCategory) { if (this.y4.n6(a)) { return true; } } return super.eg(a); } ps(a) { if (this.y4.cl && this.y4.n6(a)) { if (this.fj) { this.ba.a$an(this, a, this.dp.count - 1); } return; } super.ps(a); } ed(a, b, c, d, e) { if (!this.hasMarkers) { return false; } let f = this.y4; let g = new ScalerParams(1, this.dc.wt, this.wx, f.ch); g.c = this.getEffectiveViewport1(this.cw); let h = this.za; let i = new ScalerParams(1, this.dc.wt, this.wx, h.ch); i.c = this.getEffectiveViewport1(this.cw); let j = this.z8; a.clear(); this.xb.cw((k) => { if (k._visibility == 0) { let l = new SeriesPointOfInterest(); let m = k.n; let n = k.o; if (!e && (m < this.wx.left || m > this.wx.right || n < this.wx.top || n > this.wx.bottom)) { return; } let o = null; if (k.content != null) { o = k.content.item; } let p; let q; let r = this.zb.h(m, n, this.cw.ca, this.cw.b9, this.cw.getEffectiveViewport(), p, q); p = r.p5; q = r.p6; l.d = p; l.e = q; let s = l.e; let t = k.ak; l.f = this.aa8(s, o, t, d, j, c, b, false); l.b = k.content; l.g = this.vl; l.c = k.ak; if (this.ha) { l.g = this.vs(k.ak); } l.a = this.ar(k.ak, k.al); a.add(l); } }); return true; } kt(a, b) { let c = null; if (this.dp != null) { if (a >= 0 && a < this.dp.count) { c = this.dp.item(a); } if (this.y4 != null && this.y4.cl && a == this.y4.othersIndex) { c = this.y4.oj(false); } } let d = NaN; if (c != null) { d = this.jd(c); } let e = this.aa8(d, c, a, this.z7 >= 0 ? this.z7 : 5, this.z8, false, false, b); if (e != null) { return e; } return super.kt(a, b); } aa8(a, b, c, d, e, f, g, h) { let i = null; let j = this.y4.cl && this.y4.n6(b); let k = this.zh; if (h) { k = this.zi; } if (k == 0) { if (h) { k = 5; } else { k = 6; } } if ((h && ((this.yy != null) || (j && this.yz != null))) || (!h && ((this.y1 != null) || (j && this.y0 != null)))) { let l = this.z4(a, b, c, d, f); let m = this.z5(a, b, c, e, f); let n = this.aap(c); let o = ((() => { let $ret = new ProportionalRadialLabelContext(); $ret.value = l; $ret.percent = m; $ret.label = n; $ret.item = b; return $ret; })()); let p = null; if (j) { if (h) { p = this.yz; } else { p = this.y0; } if (p == null) { if (h) { p = this.yy; } else { p = this.y1; } } } else { if (h) { p = this.yy; } else { p = this.y1; } } i = p.i(o); } else if (k != 1) { switch (k) { case 2: i = this.aaq(a, b, c, d, f); break; case 3: i = this.aar(a, b, c, e, f); break; case 4: { let q = this.aaq(a, b, c, d, f); let r = this.aar(a, b, c, e, f); i = q + this.aag + r; } break; case 5: i = this.aap(c); break; case 6: { let s = this.aaq(a, b, c, d, f); let t = this.aap(c); i = t + this.aag + s; } break; case 7: { let u = this.aar(a, b, c, e, f); let v = this.aap(c); i = v + this.aag + u; } break; case 8: { let w = this.aaq(a, b, c, d, f); let x = this.aar(a, b, c, e, f); let y = this.aap(c); i = y + this.aag + w + this.aag + x; } break; } } else { if (g) { i = this.aaq(a, b, c, d, f); } else { i = this.aap(c); } } return i; } aap(a) { let b = this.y4; let c = this.au(true); if (this.y4 != null && this.y4.cl && this.y4.hasOthersCategory && a == this.y4.othersIndex) { if (this.yx != null) { c = this.yx; } } if (c != null) { let d = super.kt(a, false); if (d != null) { return c.i(d); } else { return null; } } else { return b.gf(a); } } aaq(a, b, c, d, e) { let f = a; f = this.aac(c, f); if (e) { return this.aae(f, d); } else { a = this.jd(b); if (!isNaN_(a)) { return this.aae(a, d); } else { return this.aae(f, d); } } } z4(a, b, c, d, e) { let f = a; f = this.aac(c, f); if (e) { return f; } else { a = this.jd(b); if (!isNaN_(a)) { return a; } else { return f; } } } aar(a, b, c, d, e) { if (this.y4 == null || !this.y4.cl) { return this.aaq(a, b, c, d, e); } let f = this.y4.od(c); if (e) { return this.aae(f, d) + "%"; } else { a = this.y4.od(c); if (!isNaN_(a)) { return this.aae(a, d) + "%"; } else { return this.aae(f, d) + "%"; } } } z5(a, b, c, d, e) { if (this.y4 == null || !this.y4.cl) { return this.z4(a, b, c, d, e); } let f = this.y4.od(c); if (e) { return f; } else { a = this.y4.od(c); if (!isNaN_(a)) { return a; } else { return f; } } } aac(a, b) { return b; } aae(a, b) { let c; if (b >= 0) { c = round10N(a, b); } else { c = a; } let d = this.au(false); if (d != null) { let e = d; return e.i(c); } else { return c.toString(); } } get_fu() { return true; } get_ff() { return true; } zk(a, b, c) { let d = new HighlightingInfo(); d.i = this; d.g = 0; d.f = this.dp.count - 1; d.c = true; if (c != null && c.g == d.g && c.f == d.f) { return c; } return d; } z1() { return false; } hu() { let a = super.hu(); if (this.z1()) { let b = ((() => { let $ret = new SeriesLayerPropertyOverlay(); $ret.r = true; $ret.ad = "DashArray"; $ret.p = true; $ret.x = ((() => { let $ret = new DoubleCollection(); $ret.add(5); $ret.add(5); return $ret; })()); $ret.q = true; return $ret; })()); a.add(b); } if (!this.z1()) { let c = ((() => { let $ret = new SeriesLayerPropertyOverlay(); $ret.r = true; $ret.ad = "Brush"; $ret.p = true; $ret.y = "ActualBrush"; $ret.q = true; return $ret; })()); c.valueResolving = delegateCombine(c.valueResolving, runOn(this, this.r4)); a.add(c); } if (!this.z1()) { let d = ((() => { let $ret = new SeriesLayerPropertyOverlay(); $ret.r = true; $ret.ad = "Outline"; $ret.p = true; $ret.y = "ActualOutline"; $ret.q = true; return $ret; })()); d.valueResolving = delegateCombine(d.valueResolving, runOn(this, this.r4)); a.add(d); } let e = ((() => { let $ret = new SeriesLayerPropertyOverlay(); $ret.p = true; $ret.ad = "IsTransitionInEnabled"; $ret.x = true; $ret.q = true; return $ret; })()); a.add(e); let f = ((() => { let $ret = new SeriesLayerPropertyOverlay(); $ret.p = true; $ret.ad = "TransitionInMode"; $ret.x = enumGetBox(CategoryTransitionInMode_$type, 20); $ret.q = true; return $ret; })()); a.add(f); return a; } kw() { if (this.d4()) { return this.bo.zg; } else { return this.bo.zd; } } zl(a, b, c) { if (this.dp == null) { return null; } let d = this.zc.da.c; let e = this.zc.da.d; let f = this.zc.da.b; let g = this.ze(); let h = this.dp.count; let i = this.y4; let j = -1; let k = -1; let l = this.j4(b); if (isNaN_(b.x) || isNaN_(b.y)) { if (a != null && this.dp != null) { if (this.y4.cl && this.y4.n6(a)) { l = this.y4.othersIndex; } else { l = this.dp.indexOf(a); } } } j = truncate(Math.floor((intDivide(l, f)))) * f; k = j + (f - 1); if (c != null && c.g == j && c.f == k) { return c; } let m = new HighlightingInfo(); m.i = this; m.g = j; m.f = k; return m; } zm(a, b, c) { if (this.dp == null) { return null; } let d = this.zc.da.c; let e = this.zc.da.d; let f = this.zc.da.b; let g = this.ze(); let h = this.dp.count; let i = this.y4; let j = -1; let k = -1; let l = this.j4(b); if (isNaN_(b.x) || isNaN_(b.y)) { if (a != null && this.dp != null) { if (this.y4.cl && this.y4.n6(a)) { l = this.y4.othersIndex; } else { l = this.dp.indexOf(a); } } } j = truncate(Math.floor((intDivide(l, f)))) * f; k = j + (f - 1); if (c != null && c.g == j && c.f == k) { return c; } let m = new HighlightingInfo(); m.d = true; m.i = this; m.g = j; m.f = k; return m; } dh(a, b, c) { if (this.ef && this.f0(this.by) && !c) { let d = this.zl(a, b, this.zn); this.zn = d; return d; } else { let e = this.zk(a, b, this.zn); this.zn = e; return e; } } di(a, b, c) { if (this.f0(this.by) && !c) { let d = this.zm(a, b, this.zo); this.zo = d; return d; } else { let e = this.zk(a, b, this.zo); e.d = true; this.zo = e; return e; } } z0() { return (this.assigningRadialStyle != null && this.zq) || this.d3 || (this.by != 1) || (this.cq != 1) || (this.cp != 1); } zz() { return (this.assigningRadialMarkerStyle != null && this.zp) || this.d3 || (this.by != 1) || (this.cq != 1) || (this.cp != 1); } abe(a) { if (this.assigningRadialStyle != null && this.zq) { this.assigningRadialStyle(this, a); } } abd(a) { if (this.assigningRadialMarkerStyle != null && this.zp) { this.assigningRadialMarkerStyle(this, a); } } z9(a) { return a.da.b; } aaa(a) { return a.da.c; } ai() { return [this.y4, this.za]; } sv(a, b) { this.zc.da.e(this.ie); this.ru(false); } su(a, b) { if (this.g2 && this.jr < 0.05 && (this.dc == null || !this.dc.fr())) { this.g3 = true; this.g6 = false; this.gl = false; } this.zc.da.e(this.ie); this.ru(false); } rc(a, b, c, d) { super.rc(a, b, c, d); switch (b) { case RadialBase.$$p[6]: this.ru(false); break; case RadialBase.$$p[14]: this.pg(); this.ru(false); break; case "SeriesViewer": if (c != null && d == null) { if (this.y4 != null) { this.y4.b0(this); } if (this.za != null) { this.za.b0(this); } } if (c == null && d != null) { if (this.y4 != null) { this.y4.ct(this); } if (this.za != null) { this.za.ct(this); } } this.zc.da.e(this.ie); this.ru(false); break; case RadialBase.$$p[0]: if (this.y4 != null && this.za != null) { this.zb = new RadialAxes(this.za, this.y4); } if (c != null) { c.b0(this); } if (d != null) { d.ct(this); } this.zc.da.e(this.ie); this.ru(false); break; case RadialBase.$$p[22]: if (this.y4 != null && this.za != null) { this.zb = new RadialAxes(this.za, this.y4); } if (c != null) { c.b0(this); } if (d != null) { d.ct(this); } this.zc.da.e(this.ie); if (this.za == null || !this.za.c1()) { this.ru(false); } break; case RadialBase.$$p[3]: case RadialBase.$$p[4]: if (this.aai != null) { this.yx = new BindingFormatter(); this.yx.j = this.aai; this.yx.d = this.yr; } else { this.yx = null; } break; case RadialBase.$$p[19]: case RadialBase.$$p[20]: if (this.aa5 != null) { this.y1 = new BindingFormatter(); this.y1.j = this.aa5; this.y1.d = this.yw; } else { this.y1 = null; } break; case RadialBase.$$p[12]: case RadialBase.$$p[13]: if (this.aav != null) { this.yy = new BindingFormatter(); this.yy.j = this.aav; this.yy.d = this.yt; } else { this.yy = null; } break; case RadialBase.$$p[17]: case RadialBase.$$p[18]: if (this.aa5 != null) { this.y0 = new BindingFormatter(); this.y0.j = this.aa2; this.y0.d = this.yv; } else { this.y0 = null; } break; case RadialBase.$$p[15]: case RadialBase.$$p[16]: if (this.aav != null) { this.yz = new BindingFormatter(); this.yz.j = this.aaz; this.yz.d = this.yu; } else { this.yz = null; } break; case "SyncLink": if (this.c4 != null && this.dc != null) { this.zc.da.e(this.ie); this.ru(false); } break; case "TransitionProgress": this.zg.c(this.jr, this.zf, this.zd); if (this.d7(this.cw)) { return; } if (this.jr == 1) { this.zd.y(); this.abf(this.zd, this.zc); if (this.g2) { this.g2 = false; this.o8(); this.dd.r = truncate(this.ja()); this.dd.b = this.de; } if (this.g5) { this.g5 = false; this.o8(); this.dd.r = truncate(this.ja()); this.dd.b = this.de; this.q2(); } this.qq(); } else { this.abf(this.zg, this.zc); } if (this.dc != null) { this.dc.q7(this); } break; case RadialBase.$$p[8]: this.ru(false); this.qn(); break; case "VisibilityProxy": if (EnumUtil.getEnumValue(Visibility_$type, c) != 0 && EnumUtil.getEnumValue(Visibility_$type, d) == 0) { this.zc.da.e(this.ie); } break; case RadialBase.$$p[10]: this.zq = this.zy(); this.ru(false); break; case RadialBase.$$p[9]: this.zp = this.zx(); this.ru(false); break; } } zy() { return this.zv; } zx() { return this.zu; } zs(a) { if (typeCast(NumericRadiusAxis.$, a) !== null) { return true; } return false; } zr(a) { if (typeCast(CategoryAngleAxis.$, a) !== null) { return true; } return false; } ko(a) { let b = this.j4(a); let c = false; if (this.y4 != null && this.y4.cl) { let d = this.y4; let e = d.hasOthersCategory && b == this.y4.lj - 1; c = e; } if (c) { return this.y4.oj(true); } return b >= 0 && this.dp != null && b < this.dp.count ? this.dp.item(b) : null; } z2(a) { let b = this.cw.ca; let c = this.cw.b9; let d = this.cw.getEffectiveViewport(); if (this.y4 != null && !b.isEmpty && !c.isEmpty && this.zb != null) { let e = this.zb.c(a, b, c, d); if (e < 0) { e += Math.PI * 2; } if (e > Math.PI * 2) { e -= Math.PI * 2; } return e; } return NaN; } is(a) { let b = this.cw.ca; let c = this.cw.b9; let d = this.getEffectiveViewport1(this.cw); let e = -1; if (this.y4 != null && !b.isEmpty && !c.isEmpty && this.zb != null) { let f = this.zb.c(a, b, c, d); if (f < 0) { f += Math.PI * 2; } if (f > Math.PI * 2) { f -= Math.PI * 2; } let g = this.y4.getUnscaledAngle(f); if (this.y4.categoryMode != 0) { g -= 0.5; } e = g; } return e; } z3(a, b, c, d) { return this.y4.m7(a, b, c, d); } j4(a) { let b = truncate(Math.round(this.is(a))); let c = false; if (this.y4 != null && this.y4.cl) { let d = this.y4; let e = d.hasOthersCategory && b == this.y4.lj - 1; c = e; } if (c) { let f = this.y4; return this.y4.lj - 1; } if (this.dp != null && b == this.dp.count) { b = 0; } return b; } ge(a) { return false; } ze() { let a = this.zd; if (this.d4()) { if (this.dd.g) { this.dd.t(); } a = this.zg; } return a; } qd() { super.qd(); if (this.y4 != null) { this.y4.ib(false); } if (this.za != null) { this.za.ib(false); } } hf(a, b, c) { let d = true; let e = c; if (!super.hf(a, b, c) || !c.r() || b.isEmpty || a.isEmpty || this.y4 == null || this.y4.itemsSource == null || this.za == null || this.zb == null || this.dp == null || this.y4.bi == null || this.za.bi == null || this.za.l4 == this.za.l3) { e.da.b = 0; d = false; } return d; } y7() { return 1; } z6() { return Math.max(0, 0.5 * this.za.n6); } go() { return this.zw; } gp() { return true; } rv(a) { super.rv(a); this.zc.da.e(this.ie); if (this.d7(this.cw)) { this.zd.ab(); this.zg.ab(); this.zf.ab(); return; } if (this.gs) { if (this.d4()) { if (this.dd.g) { this.dd.t(); } this.abf(this.zg, this.zc); } else { this.abf(this.zd, this.zc); } return; } if (this.gg(a)) { let b = this.zf; if (this.d4()) { if (this.dd.g) { this.dd.t(); } this.zf = this.zg; this.zg = b; } else { this.zf = this.zd; this.zd = b; } let c = false; this.abc(this.zd, this.zc); if (this.g4) { this.dd.w(); this.dd.r = truncate(this.jb()); this.dd.b = this.df != null ? this.df : this.de; if (this.g5) { let d = this.zg; this.zg = this.zf; this.zf = d; c = true; } this.y9.x(this, this.zf, this.zd, this.isVertical, this.y4, this.za, this.y8, this.y7(), this.c6, this.c5(), runOn(this, this.z6), this.zc.b9); if (this.g5) { let e = this.zg; this.zg = this.zf; this.zf = e; } this.g5 = false; } if (this.g7) { this.dd.w(); this.dd.r = truncate(this.jc()); this.dd.b = this.dg != null ? this.dg : this.de; if (this.g2) { let f = this.zg; this.zg = this.zf; this.zf = f; c = true; } this.y9.x(this, this.zf, this.zd, this.isVertical, this.y4, this.za, this.y8, this.y7(), this.c6, this.c5(), runOn(this, this.z6), this.zc.b9); let g = this.zd; this.zd = this.zf; this.zf = g; if (this.g2) { let h = this.zg; this.zg = this.zf; this.zf = h; } this.g2 = false; } this.eb = false; if (!c) { this.o3(); } this.sb(); if (this.g4) { this.g3 = false; this.g2 = true; } if (this.g7) { this.g6 = false; this.g5 = true; } } else { this.abc(this.zd, this.zc); this.abf(this.zd, this.zc); } } aab() { if (this.bo != null) { let a = this.bo; return a.aab(); } let b = 0; for (let c of fromEnum(this.dc.series)) { if (c == this || this.bo == c) { return b; } let d = typeCast(RadialBase.$, c); if (d != null && d.y4 == this.y4 && d.preferredCategoryMode(d.y4) == 2) { b++; } } return -1; } ak(a, b) { let c = new List$1(ChartSelection.$, 0); this.p6(a, c, b); return c.toArray(); } p6(a, b, c) { let d = this.cw.ca; let e = this.cw.b9; let f = this.cw.getEffectiveViewport(); let g, h; let i = this.zb.f(this.dc.wy(a), d, e, f, g, h); g = i.p4; h = i.p5; if (g == -1 || h == -1) { return; } let j = h - g + 1; if (g > h) { j = this.y4.lk - g + h + 1; } if (j > 0 && (c == 7 || c == 6)) { b.add(((() => { let $ret = new ChartSelection(); $ret.series = this; return $ret; })())); return; } for (let k = 0; k < j; k++) { let l = (k + g) % (this.y4.lk); if (c == 2 || c == 1) { b.add(((() => { let $ret = new ChartSelection(); $ret.item = this.y4.kv.item(l); return $ret; })())); } else { b.add(((() => { let $ret = new ChartSelection(); $ret.item = this.y4.kv.item(l); $ret.series = this; return $ret; })())); } } } } RadialBase.$t = /*@__PURE__*/ markType(RadialBase, 'RadialBase', MarkerSeries.$, [IHasCategoryModePreference_$type]); RadialBase.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, RadialBase, 'raisePropertyChanged', ['AngleAxis:y4:abg', [CategoryAngleAxis.$, null], 'AutoCalloutLabelPrecision:z7:abh', [1, -1], 'AutoCalloutLabelValueSeparator:aag:abi', [2, " - "], 'AutoCalloutOthersLabelFormat:aai:abj', [2, null], 'AutoCalloutOthersLabelFormatSpecifiers:yr:abk', [Array_$type, null], 'AutoCalloutPercentagePrecision:z8:abl', [1, 2], 'AutoCalloutRadialLabelMode:zh:abm', [RadialLabelMode_$type, /*@__PURE__*/ enumGetBox(RadialLabelMode_$type, 0)], 'CategoryCollisionMode:y5:abn', [CategoryCollisionMode_$type, /*@__PURE__*/ enumGetBox(CategoryCollisionMode_$type, 1)], 'ClipSeriesToBounds:zt:abo', [0, false], 'IsCustomRadialMarkerStyleAllowed:zu:abp', [0, false], 'IsCustomRadialStyleAllowed:zv:abq', [0, false], 'IsTransitionInEnabled:zw:abr', [0, false], 'LegendProportionalRadialLabelFormat:aav:abs', [2, null], 'LegendProportionalRadialLabelFormatSpecifiers:yt:abt', [Array_$type, null], 'LegendRadialLabelMode:zi:abu', [RadialLabelMode_$type, /*@__PURE__*/ enumGetBox(RadialLabelMode_$type, 0)], 'OthersLegendProportionalRadialLabelFormat:aaz:abv', [2, null], 'OthersLegendProportionalRadialLabelFormatSpecifiers:yu:abw', [Array_$type, null], 'OthersProportionalRadialLabelFormat:aa2:abx', [2, null], 'OthersProportionalRadialLabelFormatSpecifiers:yv:aby', [Array_$type, null], 'ProportionalRadialLabelFormat:aa5:abz', [2, null], 'ProportionalRadialLabelFormatSpecifiers:yw:ab0', [Array_$type, null], 'TransitionInMode:y8:ab1', [CategoryTransitionInMode_$type, /*@__PURE__*/ enumGetBox(CategoryTransitionInMode_$type, 0)], 'ValueAxis:za:ab2', [NumericRadiusAxis.$, null]]); return RadialBase; })(); /** * @hidden */ export let RadialBaseView = /*@__PURE__*/ (() => { class RadialBaseView extends MarkerSeriesView { constructor(a) { super(a); this.da = null; this.c9 = null; this.db = null; this.dc = 0; this.dd = null; this.c9 = a; this.db = new Pool$1(Marker.$); this.c0(this.db); } cw(a) { this.db.c(a); } } RadialBaseView.$t = /*@__PURE__*/ markType(RadialBaseView, 'RadialBaseView', MarkerSeriesView.$); return RadialBaseView; })();