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.
@@ -43,21 +43,21 @@ var ScaleLegend = /** @class */ /*@__PURE__*/ (function (_super) {
43
43
  };
44
44
  Object.defineProperty(ScaleLegend.prototype, "legendScaleElement", {
45
45
  get: function () {
46
- return this.bd.ba;
46
+ return this.bd.bb;
47
47
  },
48
48
  enumerable: false,
49
49
  configurable: true
50
50
  });
51
51
  Object.defineProperty(ScaleLegend.prototype, "minText", {
52
52
  get: function () {
53
- return this.bd.a6;
53
+ return this.bd.a7;
54
54
  },
55
55
  enumerable: false,
56
56
  configurable: true
57
57
  });
58
58
  Object.defineProperty(ScaleLegend.prototype, "maxText", {
59
59
  get: function () {
60
- return this.bd.a5;
60
+ return this.bd.a6;
61
61
  },
62
62
  enumerable: false,
63
63
  configurable: true
@@ -73,14 +73,14 @@ var ScaleLegend = /** @class */ /*@__PURE__*/ (function (_super) {
73
73
  configurable: true
74
74
  });
75
75
  ScaleLegend.prototype.bi = function () {
76
- this.bd.a2();
76
+ this.bd.a3();
77
77
  };
78
78
  ScaleLegend.prototype.restoreOriginalState = function () {
79
79
  this.bi();
80
80
  };
81
81
  ScaleLegend.prototype.bl = function (a) {
82
82
  if (a == null) {
83
- return this.bd.a9();
83
+ return this.bd.ba();
84
84
  }
85
85
  return ColorUtil.v(a);
86
86
  };
@@ -105,11 +105,11 @@ var ScaleLegend = /** @class */ /*@__PURE__*/ (function (_super) {
105
105
  var a = false;
106
106
  var b = typeCast(Shape.$, this.legendScaleElement);
107
107
  if (b != null) {
108
- var c_1 = this.bd.aw();
109
- if (!this.bc.forScaleColors(function (d, e) { return _this.bd.ay(c_1, _this.bl(d), e); })) {
108
+ var c_1 = this.bd.ax();
109
+ if (!this.bc.forScaleColors(function (d, e) { return _this.bd.az(c_1, _this.bl(d), e); })) {
110
110
  a = true;
111
111
  }
112
- this.bd.a3(b, a, c_1);
112
+ this.bd.a4(b, a, c_1);
113
113
  }
114
114
  if (this.minText != null) {
115
115
  this.minText.al = this.bc.minScaleText;
@@ -129,34 +129,34 @@ var ScaleLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
129
129
  __extends(ScaleLegendView, _super);
130
130
  function ScaleLegendView(a) {
131
131
  var _this = _super.call(this, a) || this;
132
- _this.ap = null;
133
- _this.ba = null;
134
- _this.a6 = null;
135
- _this.a5 = null;
136
- _this.ao = null;
137
132
  _this.aq = null;
138
- _this.bb = new Size();
139
- _this.ar = false;
140
- _this.as = 0;
141
- _this.a8 = null;
133
+ _this.bb = null;
142
134
  _this.a7 = null;
143
- _this.ap = a;
135
+ _this.a6 = null;
136
+ _this.ap = null;
137
+ _this.ar = null;
138
+ _this.bc = new Size();
139
+ _this.as = false;
140
+ _this.at = 0;
141
+ _this.a9 = null;
142
+ _this.a8 = null;
143
+ _this.aq = a;
144
+ _this.a7 = new TextBlock();
144
145
  _this.a6 = new TextBlock();
145
- _this.a5 = new TextBlock();
146
- _this.ba = new Polygon();
146
+ _this.bb = new Polygon();
147
147
  return _this;
148
148
  }
149
- ScaleLegendView.prototype.a2 = function () {
149
+ ScaleLegendView.prototype.a3 = function () {
150
150
  };
151
- ScaleLegendView.prototype.z = function () {
151
+ ScaleLegendView.prototype.aa = function () {
152
152
  };
153
- ScaleLegendView.prototype.a9 = function () {
153
+ ScaleLegendView.prototype.ba = function () {
154
154
  return Color.u(0, 0, 0, 0);
155
155
  };
156
- ScaleLegendView.prototype.aw = function () {
156
+ ScaleLegendView.prototype.ax = function () {
157
157
  return new GradientData();
158
158
  };
159
- ScaleLegendView.prototype.ay = function (a, b, c) {
159
+ ScaleLegendView.prototype.az = function (a, b, c) {
160
160
  var d = a;
161
161
  d.a.add(((function () {
162
162
  var $ret = new GradientStopData();
@@ -169,77 +169,77 @@ var ScaleLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
169
169
  return $ret;
170
170
  })()));
171
171
  };
172
- ScaleLegendView.prototype.a3 = function (a, b, c) {
172
+ ScaleLegendView.prototype.a4 = function (a, b, c) {
173
173
  if (b) {
174
- this.a7 = this.ap.bc.actualMarkerBrush;
175
- this.ao = null;
174
+ this.a8 = this.aq.bc.actualMarkerBrush;
175
+ this.ap = null;
176
176
  }
177
177
  else {
178
- this.a7 = null;
179
- this.ao = c;
180
- this.ao.b();
178
+ this.a8 = null;
179
+ this.ap = c;
180
+ this.ap.b();
181
181
  }
182
- this.az();
182
+ this.a0();
183
183
  };
184
- ScaleLegendView.prototype.ai = function (a) {
185
- _super.prototype.ai.call(this, a);
186
- this.aq = this.c.b(a);
187
- this.bb = this.c.ab();
188
- this.az();
184
+ ScaleLegendView.prototype.aj = function (a) {
185
+ _super.prototype.aj.call(this, a);
186
+ this.ar = this.d.b(a);
187
+ this.bc = this.d.ab();
188
+ this.a0();
189
189
  };
190
- ScaleLegendView.prototype.az = function () {
191
- if (!this.ar) {
192
- this.ar = true;
193
- if (this.c.g != null) {
194
- this.c.g.setTimeout(runOn(this, this.a4), 0);
190
+ ScaleLegendView.prototype.a0 = function () {
191
+ if (!this.as) {
192
+ this.as = true;
193
+ if (this.d.g != null) {
194
+ this.d.g.setTimeout(runOn(this, this.a5), 0);
195
195
  }
196
196
  else {
197
- window.setTimeout(runOn(this, this.a4), 0);
197
+ window.setTimeout(runOn(this, this.a5), 0);
198
198
  }
199
199
  }
200
200
  };
201
- ScaleLegendView.prototype.a4 = function () {
202
- if (this.ar) {
203
- this.ar = false;
204
- this.a1();
201
+ ScaleLegendView.prototype.a5 = function () {
202
+ if (this.as) {
203
+ this.as = false;
204
+ this.a2();
205
205
  }
206
206
  };
207
- ScaleLegendView.prototype.a1 = function () {
208
- if (this.aq == null) {
207
+ ScaleLegendView.prototype.a2 = function () {
208
+ if (this.ar == null) {
209
209
  return;
210
210
  }
211
- this.a0();
211
+ this.a1();
212
212
  };
213
- ScaleLegendView.prototype.au = function (a) {
213
+ ScaleLegendView.prototype.av = function (a) {
214
214
  var b = typeCast(TextBlock.$, a);
215
215
  if (b != null && b.al != null) {
216
- return this.aq.f(b) + 0;
216
+ return this.ar.f(b) + 0;
217
217
  }
218
218
  return 0;
219
219
  };
220
- ScaleLegendView.prototype.at = function (a) {
221
- return this.as + 0;
220
+ ScaleLegendView.prototype.au = function (a) {
221
+ return this.at + 0;
222
222
  };
223
- ScaleLegendView.prototype.a0 = function () {
224
- if (this.ap.bc == null || this.ap.bc.container == null || (this.ao == null && this.a7 == null)) {
223
+ ScaleLegendView.prototype.a1 = function () {
224
+ if (this.aq.bc == null || this.aq.bc.container == null || (this.ap == null && this.a8 == null)) {
225
225
  return;
226
226
  }
227
- if (this.aq.d) {
228
- var a = typeCast(IInternalLegendOwner_$type, this.ap.bc.container);
229
- this.aq.ad(a.getFontInfo());
230
- this.as = a.getFontHeight();
231
- this.a8 = a.getFontBrush();
232
- var b = this.au(this.a6);
233
- var c = this.au(this.a5);
227
+ if (this.ar.d) {
228
+ var a = typeCast(IInternalLegendOwner_$type, this.aq.bc.container);
229
+ this.ar.ad(a.getFontInfo());
230
+ this.at = a.getFontHeight();
231
+ this.a9 = a.getFontBrush();
232
+ var b = this.av(this.a7);
233
+ var c = this.av(this.a6);
234
234
  var d = Math.max(b, c) + 4;
235
- if (d >= this.bb.width) {
235
+ if (d >= this.bc.width) {
236
236
  d = 0;
237
237
  }
238
- var e = this.bb.width - d;
238
+ var e = this.bc.width - d;
239
239
  var f = 2;
240
240
  var g = 2;
241
241
  e = e - 4;
242
- var h = this.bb.height - 4;
242
+ var h = this.bc.height - 4;
243
243
  var i = f + e + 4;
244
244
  var j = g;
245
245
  var k = h;
@@ -247,36 +247,36 @@ var ScaleLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
247
247
  var m = { $type: Point_$type, x: f + (5 / 5) * e, y: g };
248
248
  var n = { $type: Point_$type, x: f + (5 / 5) * e, y: h };
249
249
  var o = { $type: Point_$type, x: f, y: h };
250
- var p = this.ba;
250
+ var p = this.bb;
251
251
  p.an.clear();
252
252
  p.an.add(l);
253
253
  p.an.add(m);
254
254
  p.an.add(n);
255
255
  p.an.add(o);
256
+ this.a7.n = i;
257
+ this.a7.o = j;
258
+ this.a7.ao = this.a9;
256
259
  this.a6.n = i;
257
- this.a6.o = j;
258
- this.a6.ao = this.a8;
259
- this.a5.n = i;
260
- this.a5.o = j + k - (this.at(this.a6));
261
- this.a5.ao = this.a8;
262
- if (!this.aq.e) {
263
- this.aq.l(0, 0, this.bb.width, this.bb.height);
260
+ this.a6.o = j + k - (this.au(this.a7));
261
+ this.a6.ao = this.a9;
262
+ if (!this.ar.e) {
263
+ this.ar.l(0, 0, this.bc.width, this.bc.height);
264
264
  }
265
- if (this.ao == null && this.a7 != null) {
266
- p._fill = this.a7;
267
- this.aq.u(p);
265
+ if (this.ap == null && this.a8 != null) {
266
+ p._fill = this.a8;
267
+ this.ar.u(p);
268
268
  }
269
269
  else {
270
- this.c.y(this.aq, p, this.ao, new Rect(0, g, f, e, h));
270
+ this.d.y(this.ar, p, this.ap, new Rect(0, g, f, e, h));
271
271
  }
272
272
  if (d > 0) {
273
- this.aq.x(this.a6);
274
- this.aq.x(this.a5);
273
+ this.ar.x(this.a7);
274
+ this.ar.x(this.a6);
275
275
  }
276
276
  }
277
277
  };
278
- ScaleLegendView.prototype.al = function () {
279
- _super.prototype.al.call(this);
278
+ ScaleLegendView.prototype.am = function () {
279
+ _super.prototype.am.call(this);
280
280
  };
281
281
  ScaleLegendView.$t = markType(ScaleLegendView, 'ScaleLegendView', LegendBaseView.$);
282
282
  return ScaleLegendView;
@@ -1837,8 +1837,9 @@ var ScatterBase = /** @class */ /*@__PURE__*/ (function (_super) {
1837
1837
  for (var ac = 0; ac < this.yo.c.count; ac++) {
1838
1838
  t = v.item(ac);
1839
1839
  u = w.item(ac);
1840
+ var ad = 1E-10;
1840
1841
  if (x) {
1841
- if (t >= k && t <= l && u >= m && u <= n) {
1842
+ if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
1842
1843
  c[ac].x = r.ek(t, h);
1843
1844
  c[ac].y = s.ek(u, i);
1844
1845
  }
@@ -1854,7 +1855,7 @@ var ScatterBase = /** @class */ /*@__PURE__*/ (function (_super) {
1854
1855
  }
1855
1856
  }
1856
1857
  else {
1857
- if (t >= k && t <= l && u >= m && u <= n) {
1858
+ if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
1858
1859
  c[ac].x = r.ek(t, h);
1859
1860
  c[ac].y = s.ek(u, i);
1860
1861
  }