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
@@ -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
  }
@@ -26,12 +26,12 @@ export let FinancialLegend = /*@__PURE__*/ (() => {
26
26
  a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
27
27
  if (b.oldItems != null) {
28
28
  for (let c of fromEn(b.oldItems)) {
29
- this.bb.an(c);
29
+ this.bb.ao(c);
30
30
  }
31
31
  }
32
32
  if (b.newItems != null) {
33
33
  for (let d of fromEn(b.newItems)) {
34
- this.bb.x(d);
34
+ this.bb.y(d);
35
35
  }
36
36
  }
37
37
  });
@@ -53,7 +53,7 @@ export let FinancialLegendView = /*@__PURE__*/ (() => {
53
53
  class FinancialLegendView extends LegendBaseView {
54
54
  constructor(a) {
55
55
  super(a);
56
- this.c = new FinancialLegendViewManager(this);
56
+ this.d = new FinancialLegendViewManager(this);
57
57
  }
58
58
  }
59
59
  FinancialLegendView.$t = /*@__PURE__*/ markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
@@ -38,18 +38,18 @@ export let ItemLegend = /*@__PURE__*/ (() => {
38
38
  a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
39
39
  if (b.oldItems != null) {
40
40
  for (let c of fromEn(b.oldItems)) {
41
- this.bb.an(c);
41
+ this.bb.ao(c);
42
42
  }
43
43
  }
44
44
  if (b.newItems != null) {
45
45
  for (let d of fromEn(b.newItems)) {
46
- this.bb.x(d);
46
+ this.bb.y(d);
47
47
  }
48
48
  }
49
49
  });
50
50
  }
51
51
  addChildInOrder(a, b) {
52
- if (!this.ak.m()) {
52
+ if (!this.ak.n()) {
53
53
  return;
54
54
  }
55
55
  this.bl(b);
@@ -61,7 +61,7 @@ export let ItemLegend = /*@__PURE__*/ (() => {
61
61
  this.a0(a, b);
62
62
  }
63
63
  a0(a, b) {
64
- this.ak.af();
64
+ this.ak.ag();
65
65
  this.clearLegendItemsForSeries(b);
66
66
  if (b == null || a == null || a.count == 0) {
67
67
  return;
@@ -85,13 +85,13 @@ export let ItemLegend = /*@__PURE__*/ (() => {
85
85
  }
86
86
  }
87
87
  }
88
- this.ak.ag();
88
+ this.ak.ah();
89
89
  }
90
90
  createLegendItemsInsert(a, b) {
91
91
  this.bk(a, b);
92
92
  }
93
93
  bk(a, b) {
94
- this.ak.af();
94
+ this.ak.ag();
95
95
  try {
96
96
  let c = this.bf(b);
97
97
  if (b == null || a == null || a.count == 0) {
@@ -114,7 +114,7 @@ export let ItemLegend = /*@__PURE__*/ (() => {
114
114
  }
115
115
  }
116
116
  finally {
117
- this.ak.ag();
117
+ this.ak.ah();
118
118
  }
119
119
  }
120
120
  renderItemwiseContent(a) {
@@ -192,25 +192,25 @@ export let ItemLegend = /*@__PURE__*/ (() => {
192
192
  return c;
193
193
  }
194
194
  be(a) {
195
- return this.bb.ap(a);
195
+ return this.bb.aq(a);
196
196
  }
197
197
  get bc() {
198
- return this.ak.k ? 0 : 1;
198
+ return this.ak.l ? 0 : 1;
199
199
  }
200
200
  set bc(a) {
201
- this.ak.k = a == 0;
201
+ this.ak.l = a == 0;
202
202
  }
203
203
  get bi() {
204
- return this.ak.v;
204
+ return this.ak.w;
205
205
  }
206
206
  set bi(a) {
207
- this.ak.v = a;
207
+ this.ak.w = a;
208
208
  }
209
209
  get bj() {
210
- return this.ak.w;
210
+ return this.ak.x;
211
211
  }
212
212
  set bj(a) {
213
- this.ak.w = a;
213
+ this.ak.x = a;
214
214
  }
215
215
  }
216
216
  ItemLegend.$t = /*@__PURE__*/ markType(ItemLegend, 'ItemLegend', LegendBase.$, [IChartItemLegend_$type]);
@@ -223,21 +223,21 @@ export let ItemLegendView = /*@__PURE__*/ (() => {
223
223
  class ItemLegendView extends LegendBaseView {
224
224
  constructor(a) {
225
225
  super(a);
226
- this.ao = null;
227
- this.ao = a;
226
+ this.ap = null;
227
+ this.ap = a;
228
228
  }
229
- ak() {
230
- super.ak();
229
+ al() {
230
+ super.al();
231
231
  }
232
- get_j() {
232
+ get_k() {
233
233
  return true;
234
234
  }
235
- ap(a) {
236
- return this.c.e(a);
235
+ aq(a) {
236
+ return this.d.e(a);
237
237
  }
238
- f() {
238
+ g() {
239
239
  let a = new LegendVisualData();
240
- let b = this.c.g.rootWrapper;
240
+ let b = this.d.g.rootWrapper;
241
241
  b = b.getChildAt(0);
242
242
  let c = b.getChildCount();
243
243
  for (let d = 0; d < c; d++) {
@@ -246,13 +246,14 @@ export let ItemLegendView = /*@__PURE__*/ (() => {
246
246
  e.label = f.getText();
247
247
  e.label = e.label != null ? e.label.trim() : null;
248
248
  e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
249
- e.labelBounds = this.h(f);
250
- e.badgeBounds = this.g(f);
249
+ e.labelBounds = this.i(f);
250
+ e.badgeBounds = this.h(f);
251
251
  a.items.add(e);
252
252
  }
253
253
  if (c == a.items.count) {
254
254
  for (let g = 0; g < c; g++) {
255
255
  a.items._inner[g].appearance.fill = this.a(g);
256
+ a.items._inner[g].appearance.stroke = this.b(g);
256
257
  }
257
258
  }
258
259
  return a;