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
@@ -15,10 +15,10 @@ import { Brush } from "igniteui-webcomponents-core";
15
15
  import { PenLineCap_$type } from "igniteui-webcomponents-core";
16
16
  import { DoubleCollection } from "igniteui-webcomponents-core";
17
17
  import { RadialFrame } from "./RadialFrame";
18
+ import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
18
19
  import { ScalerParams } from "./ScalerParams";
19
20
  import { Rect } from "igniteui-webcomponents-core";
20
21
  import { FastItemCoalescingColumn } from "./FastItemCoalescingColumn";
21
- import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
22
22
  import { List$1 } from "igniteui-webcomponents-core";
23
23
  import { SeriesLayerPropertyOverlay } from "./SeriesLayerPropertyOverlay";
24
24
  import { DataLegendSeriesValueInfo } from "igniteui-webcomponents-core";
@@ -116,7 +116,7 @@ export let AnchoredRadialSeries = /*@__PURE__*/ (() => {
116
116
  }
117
117
  kr(a) {
118
118
  if (this.yr != null && this.yr.cl) {
119
- if (a == this.yr.lh - 1) {
119
+ if (a == this.yr.othersIndex) {
120
120
  return this.yy;
121
121
  }
122
122
  }
@@ -1151,7 +1151,7 @@ export let CalloutLayer = /*@__PURE__*/ (() => {
1151
1151
  d = true;
1152
1152
  }
1153
1153
  a.kg = this.zs;
1154
- if (!a.gg && a.d9(this.aa9, this.aa4, this.aa0, this.abn)) {
1154
+ if (!a.gg && a.d9(this.aa9, this.aa4, this.aa0, this.abn, false)) {
1155
1155
  let e = this.aa9;
1156
1156
  for (let f = 0; f < this.aa9.count; f++) {
1157
1157
  let g = e._inner[f];
@@ -711,103 +711,103 @@ export let CategorySeries = /*@__PURE__*/ (() => {
711
711
  }
712
712
  return this.yy;
713
713
  }
714
- d9(a, b, c, d) {
714
+ d9(a, b, c, d, e) {
715
715
  if (!this.hasMarkers) {
716
716
  return false;
717
717
  }
718
- let e = this.getEffectiveViewport1(this.ct);
719
- let f = this.yk();
720
- let g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
721
- g.c = e;
722
- let h = this.y0();
723
- let i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
724
- i.c = e;
725
- let j = this.c9.vl;
726
- let k = this.wl;
727
- let l = this.currentMode2Index;
728
- let m = 0;
729
- if (f.ce && f.cc) {
730
- m = f.getSeriesOffset(j, k, e, l, f.categoryMode);
718
+ let f = this.getEffectiveViewport1(this.ct);
719
+ let g = this.yk();
720
+ let h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
721
+ h.c = f;
722
+ let i = this.y0();
723
+ let j = new ScalerParams(1, this.c9.vl, this.wl, i.ch);
724
+ j.c = f;
725
+ let k = this.c9.vl;
726
+ let l = this.wl;
727
+ let m = this.currentMode2Index;
728
+ let n = 0;
729
+ if (g.ce && g.cc) {
730
+ n = g.getSeriesOffset(k, l, f, m, g.categoryMode);
731
731
  }
732
732
  a.clear();
733
- this.wy.cj((n) => {
734
- if (n._visibility == 0) {
735
- let o = new SeriesPointOfInterest();
736
- let p = n.n;
737
- let q = n.o;
738
- if (p < this.wl.left || p > this.wl.right || q < this.wl.top || q > this.wl.bottom) {
733
+ this.wy.cj((o) => {
734
+ if (o._visibility == 0) {
735
+ let p = new SeriesPointOfInterest();
736
+ let q = o.n;
737
+ let r = o.o;
738
+ if (q < this.wl.left || q > this.wl.right || r < this.wl.top || r > this.wl.bottom) {
739
739
  return;
740
740
  }
741
741
  if (this.isVertical) {
742
- if (f.cb && !f.ce && f.categoryMode != 0) {
743
- o.e = n.ak;
742
+ if (g.cb && !g.ce && g.categoryMode != 0) {
743
+ p.e = o.ak;
744
744
  }
745
745
  else {
746
- o.e = f.en(q, g);
746
+ p.e = g.en(r, h);
747
747
  }
748
- o.d = h.en(p, i);
748
+ p.d = i.en(q, j);
749
749
  }
750
750
  else {
751
- if (f.cb && !f.ce && f.categoryMode != 0) {
752
- o.d = n.ak;
751
+ if (g.cb && !g.ce && g.categoryMode != 0) {
752
+ p.d = o.ak;
753
753
  }
754
754
  else {
755
- o.d = f.en(p, g);
755
+ p.d = g.en(q, h);
756
756
  }
757
- o.e = h.en(q, i);
757
+ p.e = i.en(r, j);
758
758
  }
759
- o.b = n.content;
759
+ p.b = o.content;
760
760
  if (b) {
761
761
  if (this.isVertical) {
762
762
  if (c) {
763
- o.f = this.zq(o.d, d);
763
+ p.f = this.zq(p.d, d);
764
764
  }
765
765
  else {
766
- let r = this.jb(n);
767
- if (!isNaN_(r)) {
768
- o.f = this.zq(r, d);
766
+ let s = this.jb(o);
767
+ if (!isNaN_(s)) {
768
+ p.f = this.zq(s, d);
769
769
  }
770
770
  else {
771
- o.f = this.zq(o.d, d);
771
+ p.f = this.zq(p.d, d);
772
772
  }
773
773
  }
774
774
  }
775
775
  else {
776
776
  if (c) {
777
- o.f = this.zq(o.e, d);
777
+ p.f = this.zq(p.e, d);
778
778
  }
779
779
  else {
780
- let s = this.jb(n);
781
- if (!isNaN_(s)) {
782
- o.f = this.zq(s, d);
780
+ let t = this.jb(o);
781
+ if (!isNaN_(t)) {
782
+ p.f = this.zq(t, d);
783
783
  }
784
784
  else {
785
- o.f = this.zq(o.e, d);
785
+ p.f = this.zq(p.e, d);
786
786
  }
787
787
  }
788
788
  }
789
789
  }
790
790
  else {
791
- let t = this.at(true);
792
- if (t != null) {
793
- let u = this.kq(n.ak, false);
794
- if (u != null) {
795
- o.f = t.i(u);
791
+ let u = this.at(true);
792
+ if (u != null) {
793
+ let v = this.kq(o.ak, false);
794
+ if (v != null) {
795
+ p.f = u.i(v);
796
796
  }
797
797
  else {
798
- o.f = null;
798
+ p.f = null;
799
799
  }
800
800
  }
801
801
  else {
802
- o.f = f.ge(n.ak);
802
+ p.f = g.ge(o.ak);
803
803
  }
804
804
  }
805
- o.c = n.ak;
806
- o.g = this.va;
805
+ p.c = o.ak;
806
+ p.g = this.va;
807
807
  if (this.g7) {
808
- o.g = this.vh(n.ak);
808
+ p.g = this.vh(o.ak);
809
809
  }
810
- a.add(o);
810
+ a.add(p);
811
811
  }
812
812
  });
813
813
  return true;