igniteui-webcomponents-charts 5.0.0 → 5.0.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +1088 -948
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  4. package/esm2015/lib/CalloutLayer_combined.js +1 -1
  5. package/esm2015/lib/CategoryBucketCalculator_combined.js +50 -50
  6. package/esm2015/lib/DataLegendContent_combined.js +7 -0
  7. package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
  8. package/esm2015/lib/DataPieBaseChart.js +311 -298
  9. package/esm2015/lib/DataPieChart.js +73 -73
  10. package/esm2015/lib/FinancialLegend_combined.js +3 -3
  11. package/esm2015/lib/ItemLegend_combined.js +26 -25
  12. package/esm2015/lib/LegendBaseViewManager_combined.js +118 -100
  13. package/esm2015/lib/Legend_combined.js +13 -13
  14. package/esm2015/lib/PieChartViewManager_combined.js +11 -1
  15. package/esm2015/lib/PolarBase_combined.js +24 -24
  16. package/esm2015/lib/RadialBucketCalculator_combined.js +32 -32
  17. package/esm2015/lib/RadialPieSeries_combined.js +153 -78
  18. package/esm2015/lib/ScaleLegend_combined.js +82 -82
  19. package/esm2015/lib/ScatterBase_combined.js +23 -22
  20. package/esm2015/lib/ScatterPolygonSeries_combined.js +20 -20
  21. package/esm2015/lib/SeriesViewer_combined.js +2 -2
  22. package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
  23. package/esm2015/lib/igc-data-pie-base-chart-component.js +91 -83
  24. package/esm2015/lib/igc-data-pie-chart-component.js +23 -23
  25. package/esm2015/lib/igc-pie-chart-base-component.js +1 -1
  26. package/esm2015/lib/igc-radial-pie-series-component.js +20 -9
  27. package/esm2015/public_api.js +0 -1
  28. package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  29. package/esm5/lib/CalloutLayer_combined.js +1 -1
  30. package/esm5/lib/CategoryBucketCalculator_combined.js +50 -50
  31. package/esm5/lib/DataLegendContent_combined.js +7 -0
  32. package/esm5/lib/DataLegendVisualData_combined.js +28 -14
  33. package/esm5/lib/DataPieBaseChart.js +285 -268
  34. package/esm5/lib/DataPieChart.js +65 -65
  35. package/esm5/lib/FinancialLegend_combined.js +3 -3
  36. package/esm5/lib/ItemLegend_combined.js +26 -25
  37. package/esm5/lib/LegendBaseViewManager_combined.js +118 -100
  38. package/esm5/lib/Legend_combined.js +13 -13
  39. package/esm5/lib/PieChartViewManager_combined.js +11 -1
  40. package/esm5/lib/PolarBase_combined.js +24 -24
  41. package/esm5/lib/RadialBucketCalculator_combined.js +32 -32
  42. package/esm5/lib/RadialPieSeries_combined.js +160 -76
  43. package/esm5/lib/ScaleLegend_combined.js +82 -82
  44. package/esm5/lib/ScatterBase_combined.js +23 -22
  45. package/esm5/lib/ScatterPolygonSeries_combined.js +20 -20
  46. package/esm5/lib/SeriesViewer_combined.js +2 -2
  47. package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
  48. package/esm5/lib/igc-data-pie-base-chart-component.js +95 -83
  49. package/esm5/lib/igc-data-pie-chart-component.js +23 -23
  50. package/esm5/lib/igc-pie-chart-base-component.js +1 -1
  51. package/esm5/lib/igc-radial-pie-series-component.js +24 -9
  52. package/esm5/public_api.js +0 -1
  53. package/fesm2015/igniteui-webcomponents-charts.js +1101 -984
  54. package/fesm5/igniteui-webcomponents-charts.js +1087 -945
  55. package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
  56. package/lib/CategoryBucketCalculator_combined.d.ts +1 -1
  57. package/lib/DataLegendVisualData_combined.d.ts +5 -1
  58. package/lib/DataPieBaseChart.d.ts +96 -92
  59. package/lib/DataPieChart.d.ts +26 -26
  60. package/lib/ItemLegend_combined.d.ts +5 -5
  61. package/lib/LegendBaseViewManager_combined.d.ts +33 -32
  62. package/lib/Legend_combined.d.ts +2 -2
  63. package/lib/PieChartViewManager_combined.d.ts +1 -1
  64. package/lib/PolarBase_combined.d.ts +1 -1
  65. package/lib/RadialBucketCalculator_combined.d.ts +2 -2
  66. package/lib/RadialPieSeries_combined.d.ts +18 -12
  67. package/lib/ScaleLegend_combined.d.ts +23 -23
  68. package/lib/ScatterBase_combined.d.ts +1 -1
  69. package/lib/ScatterPolygonSeries_combined.d.ts +1 -1
  70. package/lib/SeriesViewer_combined.d.ts +1 -1
  71. package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +1 -1
  72. package/lib/igc-data-pie-base-chart-component.d.ts +3 -0
  73. package/lib/igc-pie-chart-base-component.d.ts +1 -1
  74. package/lib/igc-radial-pie-series-component.d.ts +6 -0
  75. package/package.json +2 -2
  76. package/public_api.d.ts +0 -1
  77. package/esm2015/lib/LegendEmptyValuesMode.js +0 -29
  78. package/esm5/lib/LegendEmptyValuesMode.js +0 -29
  79. package/lib/LegendEmptyValuesMode.d.ts +0 -22
@@ -183,49 +183,49 @@ var RadialBase = /** @class */ /*@__PURE__*/ (function (_super) {
183
183
  }
184
184
  _super.prototype.pn.call(this, a);
185
185
  };
186
- RadialBase.prototype.d9 = function (a, b, c, d) {
186
+ RadialBase.prototype.d9 = function (a, b, c, d, e) {
187
187
  var _this = this;
188
188
  if (!this.hasMarkers) {
189
189
  return false;
190
190
  }
191
- var e = this.yr;
192
- var f = new ScalerParams(1, this.c9.vl, this.wl, e.ch);
193
- f.c = this.getEffectiveViewport1(this.ct);
194
- var g = this.yw;
195
- var h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
196
- h.c = this.getEffectiveViewport1(this.ct);
197
- var i = this.zw;
191
+ var f = this.yr;
192
+ var g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
193
+ g.c = this.getEffectiveViewport1(this.ct);
194
+ var h = this.yw;
195
+ var i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
196
+ i.c = this.getEffectiveViewport1(this.ct);
197
+ var j = this.zw;
198
198
  a.clear();
199
- this.wy.cj(function (j) {
200
- if (j._visibility == 0) {
201
- var k = new SeriesPointOfInterest();
202
- var l = j.n;
203
- var m = j.o;
204
- if (l < _this.wl.left || l > _this.wl.right || m < _this.wl.top || m > _this.wl.bottom) {
199
+ this.wy.cj(function (k) {
200
+ if (k._visibility == 0) {
201
+ var l = new SeriesPointOfInterest();
202
+ var m = k.n;
203
+ var n = k.o;
204
+ if (m < _this.wl.left || m > _this.wl.right || n < _this.wl.top || n > _this.wl.bottom) {
205
205
  return;
206
206
  }
207
- var n = null;
208
- if (j.content != null) {
209
- n = j.content.item;
207
+ var o = null;
208
+ if (k.content != null) {
209
+ o = k.content.item;
210
210
  }
211
- var o = void 0;
212
211
  var p = void 0;
213
- var q = _this.yz.g(l, m, _this.ct.by, _this.ct.bx, _this.ct.getEffectiveViewport(), o, p);
214
- o = q.p5;
215
- p = q.p6;
216
- k.d = o;
217
- k.e = p;
218
- var r = k.e;
219
- var s = j.ak;
220
- k.f = _this.aav(r, n, s, d, i, c, b, false);
221
- k.b = j.content;
222
- k.g = _this.va;
223
- k.c = j.ak;
212
+ var q = void 0;
213
+ var r = _this.yz.g(m, n, _this.ct.by, _this.ct.bx, _this.ct.getEffectiveViewport(), p, q);
214
+ p = r.p5;
215
+ q = r.p6;
216
+ l.d = p;
217
+ l.e = q;
218
+ var s = l.e;
219
+ var t = k.ak;
220
+ l.f = _this.aav(s, o, t, d, j, c, b, false);
221
+ l.b = k.content;
222
+ l.g = _this.va;
223
+ l.c = k.ak;
224
224
  if (_this.g7) {
225
- k.g = _this.vh(j.ak);
225
+ l.g = _this.vh(k.ak);
226
226
  }
227
- k.a = _this.aq(j.ak, j.al);
228
- a.add(k);
227
+ l.a = _this.aq(k.ak, k.al);
228
+ a.add(l);
229
229
  }
230
230
  });
231
231
  return true;
@@ -7,7 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
7
7
  import { __extends, __values } from "tslib";
8
8
  import { AnchoredRadialSeries } from "./AnchoredRadialSeries";
9
9
  import { DependencyProperty } from "igniteui-webcomponents-core";
10
- import { Point_$type, runOn, markType, markDep, fromEnum } from "igniteui-webcomponents-core";
10
+ import { enumGetBox, Point_$type, runOn, typeCast, markType, markDep, fromEnum } from "igniteui-webcomponents-core";
11
+ import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
11
12
  import { Defaults } from "./Defaults";
12
13
  import { Pool$1 } from "igniteui-webcomponents-core";
13
14
  import { Path } from "igniteui-webcomponents-core";
@@ -24,10 +25,12 @@ import { PieSliceCollisionGeometry } from "igniteui-webcomponents-core";
24
25
  import { Size } from "igniteui-webcomponents-core";
25
26
  import { GeometryUtil } from "igniteui-webcomponents-core";
26
27
  import { MathUtil } from "igniteui-webcomponents-core";
28
+ import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
29
+ import { SeriesPointOfInterest } from "./SeriesPointOfInterest";
30
+ import { DataContext } from "igniteui-webcomponents-core";
27
31
  import { PropertyMetadata } from "igniteui-webcomponents-core";
28
32
  import { intDivide, isNaN_ } from "igniteui-webcomponents-core";
29
33
  import { AnchoredRadialSeriesView } from "./AnchoredRadialSeriesView";
30
- import { DataContext } from "igniteui-webcomponents-core";
31
34
  /**
32
35
  * @hidden
33
36
  */
@@ -35,8 +38,9 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
35
38
  __extends(RadialPieSeries, _super);
36
39
  function RadialPieSeries() {
37
40
  var _this = _super.call(this) || this;
38
- _this.ade = null;
39
- _this.adj = null;
41
+ _this.adg = null;
42
+ _this.adl = null;
43
+ _this.add = 0;
40
44
  _this.ab = RadialPieSeries.$;
41
45
  return _this;
42
46
  }
@@ -60,31 +64,45 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
60
64
  };
61
65
  RadialPieSeries.prototype.qx = function (a) {
62
66
  _super.prototype.qx.call(this, a);
63
- this.add = a;
67
+ this.adf = a;
64
68
  };
65
- Object.defineProperty(RadialPieSeries.prototype, "adf", {
69
+ Object.defineProperty(RadialPieSeries.prototype, "adh", {
66
70
  get: function () {
67
- return this.ade;
71
+ return this.adg;
68
72
  },
69
73
  set: function (a) {
70
- if (this.ade != a) {
71
- var b = this.adf;
72
- this.ade = a;
73
- this.raisePropertyChanged("LegendLabelColumn", b, this.adf);
74
+ if (this.adg != a) {
75
+ var b = this.adh;
76
+ this.adg = a;
77
+ this.raisePropertyChanged("LegendLabelColumn", b, this.adh);
74
78
  }
75
79
  },
76
80
  enumerable: false,
77
81
  configurable: true
78
82
  });
79
- Object.defineProperty(RadialPieSeries.prototype, "adl", {
83
+ Object.defineProperty(RadialPieSeries.prototype, "ado", {
80
84
  get: function () {
81
- return this.adj;
85
+ return this.adl;
82
86
  },
83
87
  set: function (a) {
84
- if (this.adj != a) {
85
- var b = this.adj;
86
- this.adj = a;
87
- this.raisePropertyChanged("LegendLabelMemberPath", b, this.adj);
88
+ if (this.adl != a) {
89
+ var b = this.adl;
90
+ this.adl = a;
91
+ this.raisePropertyChanged("LegendLabelMemberPath", b, this.adl);
92
+ }
93
+ },
94
+ enumerable: false,
95
+ configurable: true
96
+ });
97
+ Object.defineProperty(RadialPieSeries.prototype, "ade", {
98
+ get: function () {
99
+ return this.add;
100
+ },
101
+ set: function (a) {
102
+ if (this.add != a) {
103
+ var b = this.add;
104
+ this.add = a;
105
+ this.raisePropertyChanged("LegendEmptyValuesMode", enumGetBox(LegendEmptyValuesMode_$type, b), enumGetBox(LegendEmptyValuesMode_$type, this.add));
88
106
  }
89
107
  },
90
108
  enumerable: false,
@@ -130,7 +148,7 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
130
148
  }
131
149
  var p = o.f._inner[b][0];
132
150
  var q = Math.min(o.f._inner[b][2], h.maxLength);
133
- return this.adg(d, e, f, p - (m * 0.5), p + (m * 0.5), l, q, i);
151
+ return this.adi(d, e, f, p - (m * 0.5), p + (m * 0.5), l, q, i);
134
152
  }
135
153
  };
136
154
  RadialPieSeries.prototype.get_eb = function () {
@@ -158,15 +176,15 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
158
176
  var m = this.yr.k5(d, e, f);
159
177
  var n = this.yr.cl;
160
178
  var o = { $type: Point_$type, x: 0.5, y: 0.5 };
161
- var p = this.adh;
162
- var q = this.adi;
179
+ var p = this.adj;
180
+ var q = this.adk;
163
181
  var r = (p > 0 && q > 0);
164
182
  var s = this.abx.count;
165
183
  this.y7.a2(this, this.zo(), runOn(this, this.yf), this.zx(b), this.zy(b));
166
- this.y7.r = this.adh;
167
- this.y7.s = this.adi;
168
- this.y7.k = this.adh;
169
- this.y7.l = this.adi;
184
+ this.y7.r = this.adj;
185
+ this.y7.s = this.adk;
186
+ this.y7.k = this.adj;
187
+ this.y7.l = this.adk;
170
188
  var t = false;
171
189
  var u = this.y7.b;
172
190
  if (u != null) {
@@ -208,10 +226,10 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
208
226
  r = (ah > 0 && ai > 0);
209
227
  var aj = null;
210
228
  if (r) {
211
- aj = this.adr(d, e, f, aa - (m * 0.5), aa + (m * 0.5), l, ab, o, ah, ai);
229
+ aj = this.adu(d, e, f, aa - (m * 0.5), aa + (m * 0.5), l, ab, o, ah, ai);
212
230
  }
213
231
  else {
214
- aj = this.ads(d, e, f, aa - (m * 0.5), aa + (m * 0.5), l, ab, o);
232
+ aj = this.adv(d, e, f, aa - (m * 0.5), aa + (m * 0.5), l, ab, o);
215
233
  }
216
234
  ag.an = aj;
217
235
  this.y7.ad(ag, false, false, false, false);
@@ -225,7 +243,7 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
225
243
  c.c6.count = x;
226
244
  c.db();
227
245
  };
228
- RadialPieSeries.prototype.ads = function (a, b, c, d, e, f, g, h) {
246
+ RadialPieSeries.prototype.adv = function (a, b, c, d, e, f, g, h) {
229
247
  var i = SliceCoords.b(a, b, c, d, e, f, g, h);
230
248
  var j = new PathFigure();
231
249
  j._startPoint = i.d;
@@ -260,7 +278,7 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
260
278
  k.c.add(j);
261
279
  return k;
262
280
  };
263
- RadialPieSeries.prototype.adg = function (a, b, c, d, e, f, g, h) {
281
+ RadialPieSeries.prototype.adi = function (a, b, c, d, e, f, g, h) {
264
282
  var i = SliceCoords.b(a, b, c, d, e, f, g, h);
265
283
  if (isNaN_(i.n.width) || isNaN_(d) || isNaN_(e)) {
266
284
  return null;
@@ -269,10 +287,10 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
269
287
  var k = ViewportUtils.i(0.5, a, b, c);
270
288
  return new PieSliceCollisionGeometry(j, k, i.n.width, i.m.width, d, e);
271
289
  };
272
- RadialPieSeries.prototype.adr = function (a, b, c, d, e, f, g, h, i, j) {
290
+ RadialPieSeries.prototype.adu = function (a, b, c, d, e, f, g, h, i, j) {
273
291
  var k = SliceCoords.a(a, b, c, d, e, f, g, h, i, j);
274
292
  if (k == null) {
275
- return this.ads(a, b, c, d, e, f, g, h);
293
+ return this.adv(a, b, c, d, e, f, g, h);
276
294
  }
277
295
  var l = new PathFigure();
278
296
  l._startPoint = k.d;
@@ -354,20 +372,20 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
354
372
  break;
355
373
  case "FastItemsSource":
356
374
  if (c != null) {
357
- if (this.adf != null) {
358
- c.deregisterColumn(this.adf);
375
+ if (this.adh != null) {
376
+ c.deregisterColumn(this.adh);
359
377
  }
360
378
  }
361
379
  if (d != null) {
362
- if (this.adl != null) {
363
- this.adf = this.dk(this.adl);
380
+ if (this.ado != null) {
381
+ this.adh = this.dk(this.ado);
364
382
  }
365
383
  }
366
384
  break;
367
385
  case "LegendLabelMemberPath":
368
386
  if (this.dl != null) {
369
- this.dl.deregisterColumn(this.adf);
370
- this.adf = this.dk(this.adl);
387
+ this.dl.deregisterColumn(this.adh);
388
+ this.adh = this.dk(this.ado);
371
389
  this.pc();
372
390
  this.pq();
373
391
  }
@@ -375,61 +393,127 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
375
393
  }
376
394
  };
377
395
  RadialPieSeries.prototype.wh = function (a) {
378
- var b = this.add.by;
379
- var c = this.add.bx;
380
- var d = this.getEffectiveViewport1(this.add);
381
- var e = this.wd(this.add);
396
+ var b = this.adf.by;
397
+ var c = this.adf.bx;
398
+ var d = this.getEffectiveViewport1(this.adf);
399
+ var e = this.wd(this.adf);
382
400
  var f = this.yw.k2(c, b, d, e);
383
401
  var g = { $type: Point_$type, x: 0.5, y: 0.5 };
384
402
  var h = GeometryUtil.i(g, a);
385
403
  var i = this.y1.f;
386
- for (var j = 0; j < i.count; j++) {
387
- var k = i._inner[j][0];
388
- var l = Math.min(i._inner[j][2], f.maxLength);
389
- var m = i._inner[j][3];
390
- if (h >= k - (m * 0.5) && h <= k + (m * 0.5)) {
391
- var n = Math.max(0, 0.5 * this.yw.no);
392
- var o = n;
393
- o = Math.max(o, f.minLength);
394
- var p = SliceCoords.b(b, c, d, k - (m * 0.5), k + (m * 0.5), o, l, g);
395
- var q = GeometryUtil.q({ $type: Point_$type, x: ViewportUtils.e(g.x, b, c, d), y: ViewportUtils.i(g.y, b, c, d) }, MathUtil.f(k), p.n.width);
396
- var r = 1.7976931348623157E+308;
404
+ var j = 0;
405
+ for (var k = 0; k < i.count; k++) {
406
+ var l = i._inner[k][0];
407
+ var m = Math.min(i._inner[k][2], f.maxLength);
408
+ var n = i._inner[k][3];
409
+ if (isNaN_(n)) {
410
+ continue;
411
+ }
412
+ l = l % 6.28318531;
413
+ if (l < 0) {
414
+ l += 6.28318531;
415
+ }
416
+ if (h >= l - (n * 0.5) && h <= l + (n * 0.5)) {
417
+ var o = Math.max(0, 0.5 * this.yw.no);
418
+ var p = o;
419
+ p = Math.max(p, f.minLength);
420
+ var q = SliceCoords.b(b, c, d, l - (n * 0.5), l + (n * 0.5), p, m, g);
421
+ var r = GeometryUtil.q({ $type: Point_$type, x: ViewportUtils.e(g.x, b, c, d), y: ViewportUtils.i(g.y, b, c, d) }, MathUtil.f(l), q.n.width);
397
422
  var s = 1.7976931348623157E+308;
398
- var t = -1.7976931348623157E+308;
423
+ var t = 1.7976931348623157E+308;
399
424
  var u = -1.7976931348623157E+308;
400
- r = Math.min(r, p.d.x);
401
- r = Math.min(r, p.f.x);
402
- r = Math.min(r, p.h.x);
403
- r = Math.min(r, p.j.x);
404
- r = Math.min(r, q.x);
405
- s = Math.min(s, p.d.y);
406
- s = Math.min(s, p.f.y);
407
- s = Math.min(s, p.h.y);
408
- s = Math.min(s, p.j.y);
409
- s = Math.min(s, q.y);
410
- t = Math.max(t, p.d.x);
411
- t = Math.max(t, p.f.x);
412
- t = Math.max(t, p.h.x);
413
- t = Math.max(t, p.j.x);
414
- t = Math.max(t, q.x);
415
- u = Math.max(u, p.d.y);
416
- u = Math.max(u, p.f.y);
417
- u = Math.max(u, p.h.y);
418
- u = Math.max(u, p.j.y);
419
- u = Math.max(u, q.y);
420
- return new Rect(0, r, s, t - r, u - s);
425
+ var v = -1.7976931348623157E+308;
426
+ s = Math.min(s, q.d.x);
427
+ s = Math.min(s, q.f.x);
428
+ s = Math.min(s, q.h.x);
429
+ s = Math.min(s, q.j.x);
430
+ s = Math.min(s, r.x);
431
+ t = Math.min(t, q.d.y);
432
+ t = Math.min(t, q.f.y);
433
+ t = Math.min(t, q.h.y);
434
+ t = Math.min(t, q.j.y);
435
+ t = Math.min(t, r.y);
436
+ u = Math.max(u, q.d.x);
437
+ u = Math.max(u, q.f.x);
438
+ u = Math.max(u, q.h.x);
439
+ u = Math.max(u, q.j.x);
440
+ u = Math.max(u, r.x);
441
+ v = Math.max(v, q.d.y);
442
+ v = Math.max(v, q.f.y);
443
+ v = Math.max(v, q.h.y);
444
+ v = Math.max(v, q.j.y);
445
+ v = Math.max(v, r.y);
446
+ return new Rect(0, s, t, u - s, v - t);
421
447
  }
448
+ j++;
422
449
  }
423
450
  return new Rect(0, 0, 0, 0, 0);
424
451
  };
425
452
  RadialPieSeries.prototype.ks = function (a) {
426
- if (this.adf != null) {
427
- return this.adf.item(a);
453
+ if (this.yr != null && this.yr.cl && a == this.yr.othersIndex) {
454
+ return null;
455
+ }
456
+ if (this.adh != null) {
457
+ return this.adh.item(a);
428
458
  }
429
459
  return null;
430
460
  };
461
+ RadialPieSeries.prototype.d9 = function (a, b, c, d, e) {
462
+ var _this = this;
463
+ if (_super.prototype.d9.call(this, a, b, c, d, e)) {
464
+ var f = typeCast(ProportionalCategoryAngleAxis.$, this.yr) !== null && this.yr.hasOthersCategory;
465
+ if (e && (this.ade == 1 || (this.ade == 2 && !f))) {
466
+ var g = this.yr;
467
+ var h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
468
+ h.c = this.getEffectiveViewport1(this.ct);
469
+ var i = this.yw;
470
+ var j = new ScalerParams(1, this.c9.vl, this.wl, i.ch);
471
+ j.c = this.getEffectiveViewport1(this.ct);
472
+ var k = this.zw;
473
+ var _loop_1 = function (l) {
474
+ var m = this_1.dl.item(l);
475
+ var n = NaN;
476
+ if (m != null) {
477
+ n = this_1.ja(m);
478
+ }
479
+ if (n == 0) {
480
+ var o = new SeriesPointOfInterest();
481
+ o.f = this_1.aav(n, m, l, d, k, c, b, false);
482
+ o.b = ((function () {
483
+ var $ret = new DataContext();
484
+ $ret.item = m;
485
+ $ret.series = _this;
486
+ return $ret;
487
+ })());
488
+ o.g = this_1.va;
489
+ o.c = l;
490
+ if (this_1.g7) {
491
+ o.g = this_1.vh(l);
492
+ }
493
+ var p = false;
494
+ for (var q = 0; q < a.count; q++) {
495
+ if (o.c < a._inner[q].c) {
496
+ a.insert(q, o);
497
+ p = true;
498
+ break;
499
+ }
500
+ }
501
+ if (!p) {
502
+ a.add(o);
503
+ }
504
+ }
505
+ };
506
+ var this_1 = this;
507
+ for (var l = 0; l < this.dl.count; l++) {
508
+ _loop_1(l);
509
+ }
510
+ }
511
+ return true;
512
+ }
513
+ return false;
514
+ };
431
515
  RadialPieSeries.$t = markType(RadialPieSeries, 'RadialPieSeries', AnchoredRadialSeries.$);
432
- RadialPieSeries.$$p = markDep(DependencyProperty, PropertyMetadata, RadialPieSeries, 'raisePropertyChanged', ['RadiusX:adh:adp', [1, 2], 'RadiusY:adi:adq', [1, 2]]);
516
+ RadialPieSeries.$$p = markDep(DependencyProperty, PropertyMetadata, RadialPieSeries, 'raisePropertyChanged', ['RadiusX:adj:ads', [1, 2], 'RadiusY:adk:adt', [1, 2]]);
433
517
  return RadialPieSeries;
434
518
  }(AnchoredRadialSeries));
435
519
  export { RadialPieSeries };