igniteui-webcomponents-charts 5.0.0 → 5.0.1

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.
@@ -29,12 +29,12 @@ export let Legend = /*@__PURE__*/ (() => {
29
29
  a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
30
30
  if (b.oldItems != null) {
31
31
  for (let c of fromEn(b.oldItems)) {
32
- this.bc.an(c);
32
+ this.bc.ao(c);
33
33
  }
34
34
  }
35
35
  if (b.newItems != null) {
36
36
  for (let d of fromEn(b.newItems)) {
37
- this.bc.x(d);
37
+ this.bc.y(d);
38
38
  }
39
39
  }
40
40
  });
@@ -57,7 +57,7 @@ export let Legend = /*@__PURE__*/ (() => {
57
57
  let e;
58
58
  let f;
59
59
  let g;
60
- let h = this.ak.aa(d, e, f, g);
60
+ let h = this.ak.ab(d, e, f, g);
61
61
  e = h.p1;
62
62
  f = h.p2;
63
63
  g = h.p3;
@@ -98,25 +98,25 @@ export let Legend = /*@__PURE__*/ (() => {
98
98
  }
99
99
  }
100
100
  get bb() {
101
- return this.ak.k ? 0 : 1;
101
+ return this.ak.l ? 0 : 1;
102
102
  }
103
103
  set bb(a) {
104
- this.ak.k = a == 0;
104
+ this.ak.l = a == 0;
105
105
  }
106
106
  be(a) {
107
107
  return -1;
108
108
  }
109
109
  get bh() {
110
- return this.ak.v;
110
+ return this.ak.w;
111
111
  }
112
112
  set bh(a) {
113
- this.ak.v = a;
113
+ this.ak.w = a;
114
114
  }
115
115
  get bi() {
116
- return this.ak.w;
116
+ return this.ak.x;
117
117
  }
118
118
  set bi(a) {
119
- this.ak.w = a;
119
+ this.ak.x = a;
120
120
  }
121
121
  }
122
122
  Legend.$t = /*@__PURE__*/ markType(Legend, 'Legend', LegendBase.$);
@@ -129,11 +129,11 @@ export let LegendView = /*@__PURE__*/ (() => {
129
129
  class LegendView extends LegendBaseView {
130
130
  constructor(a) {
131
131
  super(a);
132
- this.ao = null;
133
- this.ao = a;
132
+ this.ap = null;
133
+ this.ap = a;
134
134
  }
135
- ak() {
136
- super.ak();
135
+ al() {
136
+ super.al();
137
137
  }
138
138
  }
139
139
  LegendView.$t = /*@__PURE__*/ markType(LegendView, 'LegendView', LegendBaseView.$);
@@ -32,13 +32,13 @@ export let ScaleLegend = /*@__PURE__*/ (() => {
32
32
  this.bd = a;
33
33
  }
34
34
  get legendScaleElement() {
35
- return this.bd.ba;
35
+ return this.bd.bb;
36
36
  }
37
37
  get minText() {
38
- return this.bd.a6;
38
+ return this.bd.a7;
39
39
  }
40
40
  get maxText() {
41
- return this.bd.a5;
41
+ return this.bd.a6;
42
42
  }
43
43
  constructor() {
44
44
  super();
@@ -55,14 +55,14 @@ export let ScaleLegend = /*@__PURE__*/ (() => {
55
55
  this.bb = a;
56
56
  }
57
57
  bi() {
58
- this.bd.a2();
58
+ this.bd.a3();
59
59
  }
60
60
  restoreOriginalState() {
61
61
  this.bi();
62
62
  }
63
63
  bl(a) {
64
64
  if (a == null) {
65
- return this.bd.a9();
65
+ return this.bd.ba();
66
66
  }
67
67
  return ColorUtil.v(a);
68
68
  }
@@ -86,11 +86,11 @@ export let ScaleLegend = /*@__PURE__*/ (() => {
86
86
  let a = false;
87
87
  let b = typeCast(Shape.$, this.legendScaleElement);
88
88
  if (b != null) {
89
- let c = this.bd.aw();
90
- if (!this.bc.forScaleColors((d, e) => this.bd.ay(c, this.bl(d), e))) {
89
+ let c = this.bd.ax();
90
+ if (!this.bc.forScaleColors((d, e) => this.bd.az(c, this.bl(d), e))) {
91
91
  a = true;
92
92
  }
93
- this.bd.a3(b, a, c);
93
+ this.bd.a4(b, a, c);
94
94
  }
95
95
  if (this.minText != null) {
96
96
  this.minText.al = this.bc.minScaleText;
@@ -110,33 +110,33 @@ export let ScaleLegendView = /*@__PURE__*/ (() => {
110
110
  class ScaleLegendView extends LegendBaseView {
111
111
  constructor(a) {
112
112
  super(a);
113
- this.ap = null;
114
- this.ba = null;
115
- this.a6 = null;
116
- this.a5 = null;
117
- this.ao = null;
118
113
  this.aq = null;
119
- this.bb = new Size();
120
- this.ar = false;
121
- this.as = 0;
122
- this.a8 = null;
114
+ this.bb = null;
123
115
  this.a7 = null;
124
- this.ap = a;
116
+ this.a6 = null;
117
+ this.ap = null;
118
+ this.ar = null;
119
+ this.bc = new Size();
120
+ this.as = false;
121
+ this.at = 0;
122
+ this.a9 = null;
123
+ this.a8 = null;
124
+ this.aq = a;
125
+ this.a7 = new TextBlock();
125
126
  this.a6 = new TextBlock();
126
- this.a5 = new TextBlock();
127
- this.ba = new Polygon();
127
+ this.bb = new Polygon();
128
128
  }
129
- a2() {
129
+ a3() {
130
130
  }
131
- z() {
131
+ aa() {
132
132
  }
133
- a9() {
133
+ ba() {
134
134
  return Color.u(0, 0, 0, 0);
135
135
  }
136
- aw() {
136
+ ax() {
137
137
  return new GradientData();
138
138
  }
139
- ay(a, b, c) {
139
+ az(a, b, c) {
140
140
  let d = a;
141
141
  d.a.add(((() => {
142
142
  let $ret = new GradientStopData();
@@ -149,77 +149,77 @@ export let ScaleLegendView = /*@__PURE__*/ (() => {
149
149
  return $ret;
150
150
  })()));
151
151
  }
152
- a3(a, b, c) {
152
+ a4(a, b, c) {
153
153
  if (b) {
154
- this.a7 = this.ap.bc.actualMarkerBrush;
155
- this.ao = null;
154
+ this.a8 = this.aq.bc.actualMarkerBrush;
155
+ this.ap = null;
156
156
  }
157
157
  else {
158
- this.a7 = null;
159
- this.ao = c;
160
- this.ao.b();
158
+ this.a8 = null;
159
+ this.ap = c;
160
+ this.ap.b();
161
161
  }
162
- this.az();
162
+ this.a0();
163
163
  }
164
- ai(a) {
165
- super.ai(a);
166
- this.aq = this.c.b(a);
167
- this.bb = this.c.ab();
168
- this.az();
164
+ aj(a) {
165
+ super.aj(a);
166
+ this.ar = this.d.b(a);
167
+ this.bc = this.d.ab();
168
+ this.a0();
169
169
  }
170
- az() {
171
- if (!this.ar) {
172
- this.ar = true;
173
- if (this.c.g != null) {
174
- this.c.g.setTimeout(runOn(this, this.a4), 0);
170
+ a0() {
171
+ if (!this.as) {
172
+ this.as = true;
173
+ if (this.d.g != null) {
174
+ this.d.g.setTimeout(runOn(this, this.a5), 0);
175
175
  }
176
176
  else {
177
- window.setTimeout(runOn(this, this.a4), 0);
177
+ window.setTimeout(runOn(this, this.a5), 0);
178
178
  }
179
179
  }
180
180
  }
181
- a4() {
182
- if (this.ar) {
183
- this.ar = false;
184
- this.a1();
181
+ a5() {
182
+ if (this.as) {
183
+ this.as = false;
184
+ this.a2();
185
185
  }
186
186
  }
187
- a1() {
188
- if (this.aq == null) {
187
+ a2() {
188
+ if (this.ar == null) {
189
189
  return;
190
190
  }
191
- this.a0();
191
+ this.a1();
192
192
  }
193
- au(a) {
193
+ av(a) {
194
194
  let b = typeCast(TextBlock.$, a);
195
195
  if (b != null && b.al != null) {
196
- return this.aq.f(b) + 0;
196
+ return this.ar.f(b) + 0;
197
197
  }
198
198
  return 0;
199
199
  }
200
- at(a) {
201
- return this.as + 0;
200
+ au(a) {
201
+ return this.at + 0;
202
202
  }
203
- a0() {
204
- if (this.ap.bc == null || this.ap.bc.container == null || (this.ao == null && this.a7 == null)) {
203
+ a1() {
204
+ if (this.aq.bc == null || this.aq.bc.container == null || (this.ap == null && this.a8 == null)) {
205
205
  return;
206
206
  }
207
- if (this.aq.d) {
208
- let a = typeCast(IInternalLegendOwner_$type, this.ap.bc.container);
209
- this.aq.ad(a.getFontInfo());
210
- this.as = a.getFontHeight();
211
- this.a8 = a.getFontBrush();
212
- let b = this.au(this.a6);
213
- let c = this.au(this.a5);
207
+ if (this.ar.d) {
208
+ let a = typeCast(IInternalLegendOwner_$type, this.aq.bc.container);
209
+ this.ar.ad(a.getFontInfo());
210
+ this.at = a.getFontHeight();
211
+ this.a9 = a.getFontBrush();
212
+ let b = this.av(this.a7);
213
+ let c = this.av(this.a6);
214
214
  let d = Math.max(b, c) + 4;
215
- if (d >= this.bb.width) {
215
+ if (d >= this.bc.width) {
216
216
  d = 0;
217
217
  }
218
- let e = this.bb.width - d;
218
+ let e = this.bc.width - d;
219
219
  let f = 2;
220
220
  let g = 2;
221
221
  e = e - 4;
222
- let h = this.bb.height - 4;
222
+ let h = this.bc.height - 4;
223
223
  let i = f + e + 4;
224
224
  let j = g;
225
225
  let k = h;
@@ -227,36 +227,36 @@ export let ScaleLegendView = /*@__PURE__*/ (() => {
227
227
  let m = { $type: Point_$type, x: f + (5 / 5) * e, y: g };
228
228
  let n = { $type: Point_$type, x: f + (5 / 5) * e, y: h };
229
229
  let o = { $type: Point_$type, x: f, y: h };
230
- let p = this.ba;
230
+ let p = this.bb;
231
231
  p.an.clear();
232
232
  p.an.add(l);
233
233
  p.an.add(m);
234
234
  p.an.add(n);
235
235
  p.an.add(o);
236
+ this.a7.n = i;
237
+ this.a7.o = j;
238
+ this.a7.ao = this.a9;
236
239
  this.a6.n = i;
237
- this.a6.o = j;
238
- this.a6.ao = this.a8;
239
- this.a5.n = i;
240
- this.a5.o = j + k - (this.at(this.a6));
241
- this.a5.ao = this.a8;
242
- if (!this.aq.e) {
243
- this.aq.l(0, 0, this.bb.width, this.bb.height);
240
+ this.a6.o = j + k - (this.au(this.a7));
241
+ this.a6.ao = this.a9;
242
+ if (!this.ar.e) {
243
+ this.ar.l(0, 0, this.bc.width, this.bc.height);
244
244
  }
245
- if (this.ao == null && this.a7 != null) {
246
- p._fill = this.a7;
247
- this.aq.u(p);
245
+ if (this.ap == null && this.a8 != null) {
246
+ p._fill = this.a8;
247
+ this.ar.u(p);
248
248
  }
249
249
  else {
250
- this.c.y(this.aq, p, this.ao, new Rect(0, g, f, e, h));
250
+ this.d.y(this.ar, p, this.ap, new Rect(0, g, f, e, h));
251
251
  }
252
252
  if (d > 0) {
253
- this.aq.x(this.a6);
254
- this.aq.x(this.a5);
253
+ this.ar.x(this.a7);
254
+ this.ar.x(this.a6);
255
255
  }
256
256
  }
257
257
  }
258
- al() {
259
- super.al();
258
+ am() {
259
+ super.am();
260
260
  }
261
261
  }
262
262
  ScaleLegendView.$t = /*@__PURE__*/ markType(ScaleLegendView, 'ScaleLegendView', LegendBaseView.$);
@@ -1675,8 +1675,9 @@ export let ScatterBase = /*@__PURE__*/ (() => {
1675
1675
  for (let ac = 0; ac < this.yo.c.count; ac++) {
1676
1676
  t = v.item(ac);
1677
1677
  u = w.item(ac);
1678
+ let ad = 1E-10;
1678
1679
  if (x) {
1679
- if (t >= k && t <= l && u >= m && u <= n) {
1680
+ if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
1680
1681
  c[ac].x = r.ek(t, h);
1681
1682
  c[ac].y = s.ek(u, i);
1682
1683
  }
@@ -1692,7 +1693,7 @@ export let ScatterBase = /*@__PURE__*/ (() => {
1692
1693
  }
1693
1694
  }
1694
1695
  else {
1695
- if (t >= k && t <= l && u >= m && u <= n) {
1696
+ if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
1696
1697
  c[ac].x = r.ek(t, h);
1697
1698
  c[ac].y = s.ek(u, i);
1698
1699
  }
@@ -34,8 +34,10 @@ import { Extensions } from "igniteui-webcomponents-core";
34
34
  import { TextBlock } from "igniteui-webcomponents-core";
35
35
  import { DataLegendVisualDataRow } from "./DataLegendVisualDataRow";
36
36
  import { DataLegendVisualDataColumn } from "./DataLegendVisualDataColumn";
37
+ import { ILegendContext_$type } from "igniteui-webcomponents-core";
37
38
  import { RectData } from "igniteui-webcomponents-core";
38
39
  import { AppearanceHelper } from "igniteui-webcomponents-core";
40
+ import { PrimitiveAppearanceData } from "igniteui-webcomponents-core";
39
41
  import { FrameworkElement } from "igniteui-webcomponents-core";
40
42
  import { DataLegendSummaryEventArgs } from "./DataLegendSummaryEventArgs";
41
43
  import { DataLegendSummaryCalculationTotal } from "./DataLegendSummaryCalculationTotal";
@@ -776,6 +778,11 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
776
778
  l.badgeMarginBottom = k.z.bottom;
777
779
  l.badgeMarginRight = k.z.right;
778
780
  l.badgeMarginLeft = k.z.left;
781
+ l.badgeAppearance = new PrimitiveAppearanceData();
782
+ var aa = typeCast(ILegendContext_$type, k.n);
783
+ var ab = typeCast(ILegendContext_$type, k.i);
784
+ l.badgeAppearance.fill = AppearanceHelper.b(aa.actualItemBrush);
785
+ l.badgeAppearance.stroke = AppearanceHelper.b(aa.outline);
779
786
  l.badgeShape = k.o;
780
787
  }
781
788
  l.rowBounds = RectData.b(m);
@@ -311,6 +311,7 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
311
311
  _this._badgeMarginRight = 0;
312
312
  _this._badgeMarginBottom = 0;
313
313
  _this._badgeShape = null;
314
+ _this._badgeAppearance = null;
314
315
  _this._rowBounds = null;
315
316
  _this._rowMarginLeft = 0;
316
317
  _this._rowMarginTop = 0;
@@ -400,6 +401,16 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
400
401
  enumerable: false,
401
402
  configurable: true
402
403
  });
404
+ Object.defineProperty(DataLegendVisualDataRow.prototype, "badgeAppearance", {
405
+ get: function () {
406
+ return this._badgeAppearance;
407
+ },
408
+ set: function (a) {
409
+ this._badgeAppearance = a;
410
+ },
411
+ enumerable: false,
412
+ configurable: true
413
+ });
403
414
  Object.defineProperty(DataLegendVisualDataRow.prototype, "rowBounds", {
404
415
  get: function () {
405
416
  return this._rowBounds;
@@ -456,22 +467,25 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
456
467
  var b = " ";
457
468
  var c = new StringBuilder(0);
458
469
  c.u("{");
459
- c.u(b + this.n("badgeMarginLeft") + this.badgeMarginLeft + a);
460
- c.u(b + this.n("badgeMarginTop") + this.badgeMarginTop + a);
461
- c.u(b + this.n("badgeMarginRight") + this.badgeMarginRight + a);
462
- c.u(b + this.n("badgeMarginBottom") + this.badgeMarginBottom + a);
470
+ c.u(b + this.o("badgeMarginLeft") + this.badgeMarginLeft + a);
471
+ c.u(b + this.o("badgeMarginTop") + this.badgeMarginTop + a);
472
+ c.u(b + this.o("badgeMarginRight") + this.badgeMarginRight + a);
473
+ c.u(b + this.o("badgeMarginBottom") + this.badgeMarginBottom + a);
463
474
  if (this.badgeBounds == null) {
464
- c.u(b + this.n("badgeBounds") + "{}" + a);
475
+ c.u(b + this.o("badgeBounds") + "{}" + a);
465
476
  }
466
477
  else {
467
- c.u(b + this.n("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
478
+ c.u(b + this.o("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
479
+ }
480
+ c.u(b + this.o("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
481
+ if (this.badgeAppearance != null) {
482
+ c.u(b + this.o("badgeAppearance") + this.badgeAppearance.serialize() + a);
468
483
  }
469
- c.u(b + this.n("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
470
- c.u(b + this.n("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
471
- c.u(b + this.n("rowMarginLeft") + this.rowMarginLeft + a);
472
- c.u(b + this.n("rowMarginTop") + this.rowMarginTop + a);
473
- c.u(b + this.n("rowMarginRight") + this.rowMarginRight + a);
474
- c.u(b + this.n("rowMarginBottom") + this.rowMarginBottom + a);
484
+ c.u(b + this.o("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
485
+ c.u(b + this.o("rowMarginLeft") + this.rowMarginLeft + a);
486
+ c.u(b + this.o("rowMarginTop") + this.rowMarginTop + a);
487
+ c.u(b + this.o("rowMarginRight") + this.rowMarginRight + a);
488
+ c.u(b + this.o("rowMarginBottom") + this.rowMarginBottom + a);
475
489
  var d = new List$1(String_$type, 0);
476
490
  try {
477
491
  for (var _b = __values(fromEnum(this.columns)), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -492,13 +506,13 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
492
506
  throw e_2.error;
493
507
  }
494
508
  }
495
- c.u(b + this.n("columns") + "[");
509
+ c.u(b + this.o("columns") + "[");
496
510
  c.u(b + b + stringJoin.apply(void 0, __spreadArray([", \n" + b + b], __read(d.toArray()), false)));
497
511
  c.u(b + "]");
498
512
  c.u("}");
499
513
  return c.toString();
500
514
  };
501
- DataLegendVisualDataRow.prototype.n = function (a) {
515
+ DataLegendVisualDataRow.prototype.o = function (a) {
502
516
  return a + ": ";
503
517
  };
504
518
  DataLegendVisualDataRow.$t = markType(DataLegendVisualDataRow, 'DataLegendVisualDataRow');
@@ -24,7 +24,7 @@ var FinancialLegend = /** @class */ /*@__PURE__*/ (function (_super) {
24
24
  try {
25
25
  for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
26
26
  var c = _d.value;
27
- _this.bb.an(c);
27
+ _this.bb.ao(c);
28
28
  }
29
29
  }
30
30
  catch (e_1_1) {
@@ -45,7 +45,7 @@ var FinancialLegend = /** @class */ /*@__PURE__*/ (function (_super) {
45
45
  try {
46
46
  for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
47
47
  var d = _f.value;
48
- _this.bb.x(d);
48
+ _this.bb.y(d);
49
49
  }
50
50
  }
51
51
  catch (e_2_1) {
@@ -92,7 +92,7 @@ var FinancialLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
92
92
  __extends(FinancialLegendView, _super);
93
93
  function FinancialLegendView(a) {
94
94
  var _this = _super.call(this, a) || this;
95
- _this.c = new FinancialLegendViewManager(_this);
95
+ _this.d = new FinancialLegendViewManager(_this);
96
96
  return _this;
97
97
  }
98
98
  FinancialLegendView.$t = markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
@@ -35,7 +35,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
35
35
  try {
36
36
  for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
37
37
  var c = _d.value;
38
- _this.bb.an(c);
38
+ _this.bb.ao(c);
39
39
  }
40
40
  }
41
41
  catch (e_1_1) {
@@ -56,7 +56,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
56
56
  try {
57
57
  for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
58
58
  var d = _f.value;
59
- _this.bb.x(d);
59
+ _this.bb.y(d);
60
60
  }
61
61
  }
62
62
  catch (e_2_1) {
@@ -84,7 +84,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
84
84
  this.bb = a;
85
85
  };
86
86
  ItemLegend.prototype.addChildInOrder = function (a, b) {
87
- if (!this.ak.m()) {
87
+ if (!this.ak.n()) {
88
88
  return;
89
89
  }
90
90
  this.bl(b);
@@ -97,7 +97,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
97
97
  };
98
98
  ItemLegend.prototype.a0 = function (a, b) {
99
99
  var e_3, _a;
100
- this.ak.af();
100
+ this.ak.ag();
101
101
  this.clearLegendItemsForSeries(b);
102
102
  if (b == null || a == null || a.count == 0) {
103
103
  return;
@@ -137,14 +137,14 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
137
137
  throw e_3.error;
138
138
  }
139
139
  }
140
- this.ak.ag();
140
+ this.ak.ah();
141
141
  };
142
142
  ItemLegend.prototype.createLegendItemsInsert = function (a, b) {
143
143
  this.bk(a, b);
144
144
  };
145
145
  ItemLegend.prototype.bk = function (a, b) {
146
146
  var e_4, _a;
147
- this.ak.af();
147
+ this.ak.ag();
148
148
  try {
149
149
  var c = this.bf(b);
150
150
  if (b == null || a == null || a.count == 0) {
@@ -183,7 +183,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
183
183
  }
184
184
  }
185
185
  finally {
186
- this.ak.ag();
186
+ this.ak.ah();
187
187
  }
188
188
  };
189
189
  ItemLegend.prototype.renderItemwiseContent = function (a) {
@@ -312,34 +312,34 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
312
312
  return c;
313
313
  };
314
314
  ItemLegend.prototype.be = function (a) {
315
- return this.bb.ap(a);
315
+ return this.bb.aq(a);
316
316
  };
317
317
  Object.defineProperty(ItemLegend.prototype, "bc", {
318
318
  get: function () {
319
- return this.ak.k ? 0 : 1;
319
+ return this.ak.l ? 0 : 1;
320
320
  },
321
321
  set: function (a) {
322
- this.ak.k = a == 0;
322
+ this.ak.l = a == 0;
323
323
  },
324
324
  enumerable: false,
325
325
  configurable: true
326
326
  });
327
327
  Object.defineProperty(ItemLegend.prototype, "bi", {
328
328
  get: function () {
329
- return this.ak.v;
329
+ return this.ak.w;
330
330
  },
331
331
  set: function (a) {
332
- this.ak.v = a;
332
+ this.ak.w = a;
333
333
  },
334
334
  enumerable: false,
335
335
  configurable: true
336
336
  });
337
337
  Object.defineProperty(ItemLegend.prototype, "bj", {
338
338
  get: function () {
339
- return this.ak.w;
339
+ return this.ak.x;
340
340
  },
341
341
  set: function (a) {
342
- this.ak.w = a;
342
+ this.ak.x = a;
343
343
  },
344
344
  enumerable: false,
345
345
  configurable: true
@@ -355,22 +355,22 @@ var ItemLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
355
355
  __extends(ItemLegendView, _super);
356
356
  function ItemLegendView(a) {
357
357
  var _this = _super.call(this, a) || this;
358
- _this.ao = null;
359
- _this.ao = a;
358
+ _this.ap = null;
359
+ _this.ap = a;
360
360
  return _this;
361
361
  }
362
- ItemLegendView.prototype.ak = function () {
363
- _super.prototype.ak.call(this);
362
+ ItemLegendView.prototype.al = function () {
363
+ _super.prototype.al.call(this);
364
364
  };
365
- ItemLegendView.prototype.get_j = function () {
365
+ ItemLegendView.prototype.get_k = function () {
366
366
  return true;
367
367
  };
368
- ItemLegendView.prototype.ap = function (a) {
369
- return this.c.e(a);
368
+ ItemLegendView.prototype.aq = function (a) {
369
+ return this.d.e(a);
370
370
  };
371
- ItemLegendView.prototype.f = function () {
371
+ ItemLegendView.prototype.g = function () {
372
372
  var a = new LegendVisualData();
373
- var b = this.c.g.rootWrapper;
373
+ var b = this.d.g.rootWrapper;
374
374
  b = b.getChildAt(0);
375
375
  var c = b.getChildCount();
376
376
  for (var d = 0; d < c; d++) {
@@ -379,13 +379,14 @@ var ItemLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
379
379
  e.label = f.getText();
380
380
  e.label = e.label != null ? e.label.trim() : null;
381
381
  e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
382
- e.labelBounds = this.h(f);
383
- e.badgeBounds = this.g(f);
382
+ e.labelBounds = this.i(f);
383
+ e.badgeBounds = this.h(f);
384
384
  a.items.add(e);
385
385
  }
386
386
  if (c == a.items.count) {
387
387
  for (var g = 0; g < c; g++) {
388
388
  a.items._inner[g].appearance.fill = this.a(g);
389
+ a.items._inner[g].appearance.stroke = this.b(g);
389
390
  }
390
391
  }
391
392
  return a;