igniteui-webcomponents-charts 5.0.1 → 5.0.2

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 (60) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +809 -708
  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/DataPieBaseChart.js +311 -298
  7. package/esm2015/lib/DataPieChart.js +73 -73
  8. package/esm2015/lib/PieChartViewManager_combined.js +11 -1
  9. package/esm2015/lib/PolarBase_combined.js +24 -24
  10. package/esm2015/lib/RadialBucketCalculator_combined.js +32 -32
  11. package/esm2015/lib/RadialPieSeries_combined.js +153 -78
  12. package/esm2015/lib/ScatterBase_combined.js +20 -20
  13. package/esm2015/lib/ScatterPolygonSeries_combined.js +20 -20
  14. package/esm2015/lib/SeriesViewer_combined.js +2 -2
  15. package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
  16. package/esm2015/lib/igc-data-pie-base-chart-component.js +91 -83
  17. package/esm2015/lib/igc-data-pie-chart-component.js +23 -23
  18. package/esm2015/lib/igc-pie-chart-base-component.js +1 -1
  19. package/esm2015/lib/igc-radial-pie-series-component.js +20 -9
  20. package/esm2015/public_api.js +0 -1
  21. package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  22. package/esm5/lib/CalloutLayer_combined.js +1 -1
  23. package/esm5/lib/CategoryBucketCalculator_combined.js +50 -50
  24. package/esm5/lib/DataPieBaseChart.js +285 -268
  25. package/esm5/lib/DataPieChart.js +65 -65
  26. package/esm5/lib/PieChartViewManager_combined.js +11 -1
  27. package/esm5/lib/PolarBase_combined.js +24 -24
  28. package/esm5/lib/RadialBucketCalculator_combined.js +32 -32
  29. package/esm5/lib/RadialPieSeries_combined.js +160 -76
  30. package/esm5/lib/ScatterBase_combined.js +20 -20
  31. package/esm5/lib/ScatterPolygonSeries_combined.js +20 -20
  32. package/esm5/lib/SeriesViewer_combined.js +2 -2
  33. package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
  34. package/esm5/lib/igc-data-pie-base-chart-component.js +95 -83
  35. package/esm5/lib/igc-data-pie-chart-component.js +23 -23
  36. package/esm5/lib/igc-pie-chart-base-component.js +1 -1
  37. package/esm5/lib/igc-radial-pie-series-component.js +24 -9
  38. package/esm5/public_api.js +0 -1
  39. package/fesm2015/igniteui-webcomponents-charts.js +826 -744
  40. package/fesm5/igniteui-webcomponents-charts.js +808 -705
  41. package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
  42. package/lib/CategoryBucketCalculator_combined.d.ts +1 -1
  43. package/lib/DataPieBaseChart.d.ts +96 -92
  44. package/lib/DataPieChart.d.ts +26 -26
  45. package/lib/PieChartViewManager_combined.d.ts +1 -1
  46. package/lib/PolarBase_combined.d.ts +1 -1
  47. package/lib/RadialBucketCalculator_combined.d.ts +2 -2
  48. package/lib/RadialPieSeries_combined.d.ts +18 -12
  49. package/lib/ScatterBase_combined.d.ts +1 -1
  50. package/lib/ScatterPolygonSeries_combined.d.ts +1 -1
  51. package/lib/SeriesViewer_combined.d.ts +1 -1
  52. package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +1 -1
  53. package/lib/igc-data-pie-base-chart-component.d.ts +3 -0
  54. package/lib/igc-pie-chart-base-component.d.ts +1 -1
  55. package/lib/igc-radial-pie-series-component.d.ts +6 -0
  56. package/package.json +2 -2
  57. package/public_api.d.ts +0 -1
  58. package/esm2015/lib/LegendEmptyValuesMode.js +0 -29
  59. package/esm5/lib/LegendEmptyValuesMode.js +0 -29
  60. package/lib/LegendEmptyValuesMode.d.ts +0 -22
@@ -59,7 +59,7 @@ export let DataPieChart = /*@__PURE__*/ (() => {
59
59
  this.he = false;
60
60
  this.b3 = 1;
61
61
  this.bz = 11;
62
- this.akb = true;
62
+ this.ake = true;
63
63
  this.xq = BrushUtil.h(255, 255, 255, 255);
64
64
  this.jl = DeviceUtils.g(2);
65
65
  this.gm = true;
@@ -70,83 +70,83 @@ export let DataPieChart = /*@__PURE__*/ (() => {
70
70
  }
71
71
  uz(a, b) {
72
72
  super.uz(a, b);
73
- a.kc = this.ake;
74
- a.kd = this.akf;
75
- a.dc = this.aj8;
76
- a.dd = this.aj9;
73
+ a.kc = this.akh;
74
+ a.kd = this.aki;
75
+ a.dc = this.akb;
76
+ a.dd = this.akc;
77
77
  }
78
78
  vo(a, b, c) {
79
79
  super.vo(a, b, c);
80
80
  switch (a) {
81
81
  case "TransitionInDuration":
82
- this.um((d) => d.kc = this.ake);
82
+ this.um((d) => d.kc = this.akh);
83
83
  break;
84
84
  case "TransitionOutDuration":
85
- this.um((d) => d.kd = this.akf);
85
+ this.um((d) => d.kd = this.aki);
86
86
  break;
87
87
  case "TransitionInEasingFunction":
88
- this.um((d) => d.dc = this.aj8);
88
+ this.um((d) => d.dc = this.akb);
89
89
  break;
90
90
  case "TransitionOutEasingFunction":
91
- this.um((d) => d.dd = this.aj9);
91
+ this.um((d) => d.dd = this.akc);
92
92
  break;
93
93
  }
94
94
  }
95
- get ake() {
96
- return this.akc;
95
+ get akh() {
96
+ return this.akf;
97
97
  }
98
- set ake(a) {
99
- let b = this.ake;
98
+ set akh(a) {
99
+ let b = this.akh;
100
100
  if (a != b) {
101
- this.akc = a;
102
- this.vl("TransitionInDuration", b, this.ake);
101
+ this.akf = a;
102
+ this.vl("TransitionInDuration", b, this.akh);
103
103
  }
104
104
  }
105
- get akf() {
106
- return this.akd;
105
+ get aki() {
106
+ return this.akg;
107
107
  }
108
- set akf(a) {
109
- let b = this.akf;
108
+ set aki(a) {
109
+ let b = this.aki;
110
110
  if (a != b) {
111
- this.akd = a;
112
- this.vl("TransitionOutDuration", b, this.akf);
111
+ this.akg = a;
112
+ this.vl("TransitionOutDuration", b, this.aki);
113
113
  }
114
114
  }
115
- get aj8() {
116
- return this.aj6;
115
+ get akb() {
116
+ return this.aj9;
117
117
  }
118
- set aj8(a) {
119
- let b = this.aj8;
118
+ set akb(a) {
119
+ let b = this.akb;
120
120
  if (a != b) {
121
- this.aj6 = a;
122
- this.vl("TransitionInEasingFunction", b, this.aj8);
121
+ this.aj9 = a;
122
+ this.vl("TransitionInEasingFunction", b, this.akb);
123
123
  }
124
124
  }
125
- get aj9() {
126
- return this.aj7;
125
+ get akc() {
126
+ return this.aka;
127
127
  }
128
- set aj9(a) {
129
- let b = this.aj9;
128
+ set akc(a) {
129
+ let b = this.akc;
130
130
  if (a != b) {
131
- this.aj7 = a;
132
- this.vl("TransitionOutEasingFunction", b, this.aj9);
131
+ this.aka = a;
132
+ this.vl("TransitionOutEasingFunction", b, this.akc);
133
133
  }
134
134
  }
135
- akh() {
135
+ akk() {
136
136
  let cvd_ = this.lv();
137
137
  cvd_.scaleByViewport();
138
138
  return (cvd_.serialize());
139
139
  }
140
140
  constructor() {
141
141
  super();
142
- this.akc = 1000;
143
- this.akd = 1000;
144
- this.aj6 = null;
145
- this.aj7 = null;
146
- this.aj2 = 0;
147
- this.aka = true;
148
- this.aj0 = 0;
149
- this.aj4 = 3;
142
+ this.akf = 1000;
143
+ this.akg = 1000;
144
+ this.aj9 = null;
145
+ this.aka = null;
146
+ this.aj5 = 0;
147
+ this.akd = true;
148
+ this.aj3 = 0;
149
+ this.aj7 = 3;
150
150
  this.ue();
151
151
  }
152
152
  get_hy() {
@@ -170,14 +170,14 @@ export let DataPieChart = /*@__PURE__*/ (() => {
170
170
  get hx() {
171
171
  return this.get_hx();
172
172
  }
173
- get_ahd() {
173
+ get_ahf() {
174
174
  return false;
175
175
  }
176
176
  bi(a) {
177
- if (this.aj3 == 0) {
177
+ if (this.aj6 == 0) {
178
178
  return a.suggestedSeries;
179
179
  }
180
- if (this.aj3 == 1) {
180
+ if (this.aj6 == 1) {
181
181
  return 34;
182
182
  }
183
183
  return 34;
@@ -195,9 +195,9 @@ export let DataPieChart = /*@__PURE__*/ (() => {
195
195
  if (c == null) {
196
196
  return;
197
197
  }
198
- c.zk = this.akb;
199
- c.yu = this.aj1;
200
- c.c3 = this.aj5;
198
+ c.zk = this.ake;
199
+ c.yu = this.aj4;
200
+ c.c3 = this.aj8;
201
201
  }
202
202
  t3(a, b) {
203
203
  super.t3(a, b);
@@ -223,44 +223,44 @@ export let DataPieChart = /*@__PURE__*/ (() => {
223
223
  get cf() {
224
224
  return this.get_cf();
225
225
  }
226
- get aj3() {
227
- return this.aj2;
226
+ get aj6() {
227
+ return this.aj5;
228
228
  }
229
- set aj3(a) {
230
- if (a != this.aj2) {
231
- let b = this.aj3;
232
- this.aj2 = a;
233
- this.vl("ChartType", enumGetBox(DataPieChartType_$type, b), enumGetBox(DataPieChartType_$type, this.aj3));
229
+ set aj6(a) {
230
+ if (a != this.aj5) {
231
+ let b = this.aj6;
232
+ this.aj5 = a;
233
+ this.vl("ChartType", enumGetBox(DataPieChartType_$type, b), enumGetBox(DataPieChartType_$type, this.aj6));
234
234
  }
235
235
  }
236
- get akb() {
237
- return this.aka;
236
+ get ake() {
237
+ return this.akd;
238
238
  }
239
- set akb(a) {
240
- let b = this.akb;
239
+ set ake(a) {
240
+ let b = this.ake;
241
241
  if (a != b) {
242
- this.aka = a;
243
- this.vl("IsTransitionInEnabled", b, this.akb);
242
+ this.akd = a;
243
+ this.vl("IsTransitionInEnabled", b, this.ake);
244
244
  }
245
245
  }
246
- get aj1() {
247
- return this.aj0;
246
+ get aj4() {
247
+ return this.aj3;
248
248
  }
249
- set aj1(a) {
250
- let b = this.aj1;
249
+ set aj4(a) {
250
+ let b = this.aj4;
251
251
  if (a != b) {
252
- this.aj0 = a;
253
- this.vl("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.aj1));
252
+ this.aj3 = a;
253
+ this.vl("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.aj4));
254
254
  }
255
255
  }
256
- get aj5() {
257
- return this.aj4;
256
+ get aj8() {
257
+ return this.aj7;
258
258
  }
259
- set aj5(a) {
260
- let b = this.aj5;
259
+ set aj8(a) {
260
+ let b = this.aj8;
261
261
  if (a != b) {
262
- this.aj4 = a;
263
- this.vl("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.aj5));
262
+ this.aj7 = a;
263
+ this.vl("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.aj8));
264
264
  }
265
265
  }
266
266
  }
@@ -44,7 +44,7 @@ import { NotifyCollectionChangedEventArgs } from "igniteui-webcomponents-core";
44
44
  import { IChartLegend_$type } from "igniteui-webcomponents-core";
45
45
  import { SweepDirection_$type } from "igniteui-webcomponents-core";
46
46
  import { DataTemplate } from "igniteui-webcomponents-core";
47
- import { LegendEmptyValuesMode_$type } from "./LegendEmptyValuesMode";
47
+ import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
48
48
  import { SliceSelectionMode_$type } from "./SliceSelectionMode";
49
49
  import { ObjectCollection } from "igniteui-webcomponents-core";
50
50
  import { BindingFormatter } from "igniteui-webcomponents-core";
@@ -2475,6 +2475,16 @@ export let PieChartBase = /*@__PURE__*/ (() => {
2475
2475
  }
2476
2476
  destroy() {
2477
2477
  this.gv();
2478
+ if (this.b0) {
2479
+ let a = this.ak;
2480
+ a.collectionChanged = delegateRemove(a.collectionChanged, this.cu);
2481
+ this.b0 = false;
2482
+ }
2483
+ if (this.b3) {
2484
+ let b = this.al;
2485
+ b.collectionChanged = delegateRemove(b.collectionChanged, this.cu);
2486
+ this.b3 = false;
2487
+ }
2478
2488
  this.a4.az(null);
2479
2489
  }
2480
2490
  get fq() {
@@ -68,39 +68,39 @@ export let PolarBase = /*@__PURE__*/ (() => {
68
68
  get_fn() {
69
69
  return true;
70
70
  }
71
- d9(a, b, c, d) {
71
+ d9(a, b, c, d, e) {
72
72
  if (!this.hasMarkers) {
73
73
  return false;
74
74
  }
75
- let e = this.yl;
76
- let f = new ScalerParams(1, this.c9.vl, this.wl, e.ch);
77
- f.c = this.getEffectiveViewport1(this.ct);
78
- let g = this.ym;
79
- let h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
80
- h.c = this.getEffectiveViewport1(this.ct);
75
+ let f = this.yl;
76
+ let g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
77
+ g.c = this.getEffectiveViewport1(this.ct);
78
+ let h = this.ym;
79
+ let i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
80
+ i.c = this.getEffectiveViewport1(this.ct);
81
81
  a.clear();
82
- this.wy.cj((i) => {
83
- if (i._visibility == 0) {
84
- let j = new SeriesPointOfInterest();
85
- let k = i.n;
86
- let l = i.o;
87
- if (k < this.wl.left || k > this.wl.right || l < this.wl.top || l > this.wl.bottom) {
82
+ this.wy.cj((j) => {
83
+ if (j._visibility == 0) {
84
+ let k = new SeriesPointOfInterest();
85
+ let l = j.n;
86
+ let m = j.o;
87
+ if (l < this.wl.left || l > this.wl.right || m < this.wl.top || m > this.wl.bottom) {
88
88
  return;
89
89
  }
90
- let m;
91
90
  let n;
92
- let o = this.yn.f(k, l, this.ct.by, this.ct.bx, this.ct.getEffectiveViewport(), m, n);
93
- m = o.p5;
94
- n = o.p6;
95
- j.d = m;
96
- j.e = n;
97
- j.b = i.content;
98
- j.g = this.va;
99
- j.c = i.ak;
91
+ let o;
92
+ let p = this.yn.f(l, m, this.ct.by, this.ct.bx, this.ct.getEffectiveViewport(), n, o);
93
+ n = p.p5;
94
+ o = p.p6;
95
+ k.d = n;
96
+ k.e = o;
97
+ k.b = j.content;
98
+ k.g = this.va;
99
+ k.c = j.ak;
100
100
  if (this.g7) {
101
- j.g = this.vh(i.ak);
101
+ k.g = this.vh(j.ak);
102
102
  }
103
- a.add(j);
103
+ a.add(k);
104
104
  }
105
105
  });
106
106
  return true;
@@ -176,48 +176,48 @@ export let RadialBase = /*@__PURE__*/ (() => {
176
176
  }
177
177
  super.pn(a);
178
178
  }
179
- d9(a, b, c, d) {
179
+ d9(a, b, c, d, e) {
180
180
  if (!this.hasMarkers) {
181
181
  return false;
182
182
  }
183
- let e = this.yr;
184
- let f = new ScalerParams(1, this.c9.vl, this.wl, e.ch);
185
- f.c = this.getEffectiveViewport1(this.ct);
186
- let g = this.yw;
187
- let h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
188
- h.c = this.getEffectiveViewport1(this.ct);
189
- let i = this.zw;
183
+ let f = this.yr;
184
+ let g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
185
+ g.c = this.getEffectiveViewport1(this.ct);
186
+ let h = this.yw;
187
+ let i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
188
+ i.c = this.getEffectiveViewport1(this.ct);
189
+ let j = this.zw;
190
190
  a.clear();
191
- this.wy.cj((j) => {
192
- if (j._visibility == 0) {
193
- let k = new SeriesPointOfInterest();
194
- let l = j.n;
195
- let m = j.o;
196
- if (l < this.wl.left || l > this.wl.right || m < this.wl.top || m > this.wl.bottom) {
191
+ this.wy.cj((k) => {
192
+ if (k._visibility == 0) {
193
+ let l = new SeriesPointOfInterest();
194
+ let m = k.n;
195
+ let n = k.o;
196
+ if (m < this.wl.left || m > this.wl.right || n < this.wl.top || n > this.wl.bottom) {
197
197
  return;
198
198
  }
199
- let n = null;
200
- if (j.content != null) {
201
- n = j.content.item;
199
+ let o = null;
200
+ if (k.content != null) {
201
+ o = k.content.item;
202
202
  }
203
- let o;
204
203
  let p;
205
- let q = this.yz.g(l, m, this.ct.by, this.ct.bx, this.ct.getEffectiveViewport(), o, p);
206
- o = q.p5;
207
- p = q.p6;
208
- k.d = o;
209
- k.e = p;
210
- let r = k.e;
211
- let s = j.ak;
212
- k.f = this.aav(r, n, s, d, i, c, b, false);
213
- k.b = j.content;
214
- k.g = this.va;
215
- k.c = j.ak;
204
+ let q;
205
+ let r = this.yz.g(m, n, this.ct.by, this.ct.bx, this.ct.getEffectiveViewport(), p, q);
206
+ p = r.p5;
207
+ q = r.p6;
208
+ l.d = p;
209
+ l.e = q;
210
+ let s = l.e;
211
+ let t = k.ak;
212
+ l.f = this.aav(s, o, t, d, j, c, b, false);
213
+ l.b = k.content;
214
+ l.g = this.va;
215
+ l.c = k.ak;
216
216
  if (this.g7) {
217
- k.g = this.vh(j.ak);
217
+ l.g = this.vh(k.ak);
218
218
  }
219
- k.a = this.aq(j.ak, j.al);
220
- a.add(k);
219
+ l.a = this.aq(k.ak, k.al);
220
+ a.add(l);
221
221
  }
222
222
  });
223
223
  return true;