igniteui-webcomponents-charts 7.1.1-beta.6 → 7.1.1-beta.7

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.
@@ -205,9 +205,17 @@ class SeriesInteractionManager extends Base {
205
205
  if (b.dr) {
206
206
  n = (Math.PI * 2) - n;
207
207
  }
208
- let o = b.dr ? c._inner[0][0] + (c._inner[0][3] * 0.5) : c._inner[0][0] - (c._inner[0][3] * 0.5);
209
- let p = b.dr ? c._inner[c.count - 1][0] - (c._inner[c.count - 1][3] * 0.5) : c._inner[c.count - 1][0] + (c._inner[c.count - 1][3] * 0.5);
210
- n = n / (2 * Math.PI) * (p - o) + o;
208
+ let o = 0;
209
+ while (o < c.count - 1 && (isNaN_(c._inner[o][0]) || isNaN_(c._inner[o][3]))) {
210
+ o++;
211
+ }
212
+ let p = c.count - 1;
213
+ while (p > o && (isNaN_(c._inner[p][0]) || isNaN_(c._inner[p][3]))) {
214
+ p--;
215
+ }
216
+ let q = b.dr ? c._inner[o][0] + (c._inner[o][3] * 0.5) : c._inner[o][0] - (c._inner[o][3] * 0.5);
217
+ let r = b.dr ? c._inner[p][0] - (c._inner[p][3] * 0.5) : c._inner[p][0] + (c._inner[p][3] * 0.5);
218
+ n = n / (2 * Math.PI) * (r - q) + q;
211
219
  j = { $type: Point_$type, x: n, y: 0 };
212
220
  }
213
221
  k = SeriesInteractionManager.t(c, j, l, m);
@@ -221,21 +229,21 @@ class SeriesInteractionManager extends Base {
221
229
  if (k > c.count - 1) {
222
230
  k = c.count - 1;
223
231
  }
224
- let q = k;
225
- let r = k + 1;
226
- if (r > c.count - 1) {
227
- r = c.count - 1;
232
+ let s = k;
233
+ let t = k + 1;
234
+ if (t > c.count - 1) {
235
+ t = c.count - 1;
228
236
  }
229
- h = q;
230
- i = r;
237
+ h = s;
238
+ i = t;
231
239
  }
232
240
  else {
233
- let s = a.kl(f, g);
234
- let t = a.kj(f, g);
235
- let u = truncate(Math.floor(s / d));
236
- let v = truncate(Math.floor(t / d));
237
- h = u - e;
238
- i = v - e;
241
+ let u = a.kl(f, g);
242
+ let v = a.kj(f, g);
243
+ let w = truncate(Math.floor(u / d));
244
+ let x = truncate(Math.floor(v / d));
245
+ h = w - e;
246
+ i = x - e;
239
247
  if (i == h) {
240
248
  i++;
241
249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-charts",
3
- "version": "7.1.1-beta.6",
3
+ "version": "7.1.1-beta.7",
4
4
  "description": "Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-charts",
6
6
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "tslib": "^2.3.1"
37
37
  },
38
38
  "peerDependencies": {
39
- "igniteui-webcomponents-core": "7.1.1-beta.6"
39
+ "igniteui-webcomponents-core": "7.1.1-beta.7"
40
40
  },
41
41
  "sideEffects": [
42
42
  "./esm2022/lib/category-chart-entrypoint.js",