igniteui-webcomponents-charts 4.0.2 → 4.0.4

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 (63) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +1016 -891
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AnchoredCategorySeries_combined.js +3 -2
  4. package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +4 -3
  5. package/esm2015/lib/BubbleSeries_combined.js +20 -15
  6. package/esm2015/lib/CategoryToolTipLayer_combined.js +3 -1
  7. package/esm2015/lib/DataLegendContent_combined.js +470 -457
  8. package/esm2015/lib/DataLegendStylingColumnEventArgs.js +2 -1
  9. package/esm2015/lib/DataToolTipLayer_combined.js +3 -1
  10. package/esm2015/lib/FinancialPriceSeries_combined.js +33 -26
  11. package/esm2015/lib/HighDensityScatterSeries_combined.js +8 -6
  12. package/esm2015/lib/HorizontalRangeCategorySeries.js +12 -8
  13. package/esm2015/lib/ItemToolTipLayer_combined.js +3 -1
  14. package/esm2015/lib/PolarBase_combined.js +8 -6
  15. package/esm2015/lib/ScatterAreaSeries_combined.js +12 -9
  16. package/esm2015/lib/ScatterBase_combined.js +8 -6
  17. package/esm2015/lib/ScatterContourSeries_combined.js +12 -9
  18. package/esm2015/lib/ScatterTriangulationSeries.js +8 -8
  19. package/esm2015/lib/SeriesViewer_combined.js +2 -1
  20. package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +21 -9
  21. package/esm2015/lib/igc-assigning-series-style-event-args-base.js +5 -3
  22. package/esm2015/lib/igc-data-legend-component.js +256 -256
  23. package/esm2015/lib/igc-data-legend-styling-column-event-args.js +19 -10
  24. package/esm2015/lib/igc-domain-chart-component.js +45 -27
  25. package/esm2015/lib/igc-financial-event-args.js +10 -6
  26. package/esm2015/lib/igc-ring-series-component.js +5 -3
  27. package/esm2015/lib/igc-scatter-polygon-series-component.js +5 -3
  28. package/esm2015/lib/igc-scatter-polyline-series-component.js +5 -3
  29. package/esm2015/lib/igc-stacked-series-created-event-args.js +5 -3
  30. package/esm5/lib/AnchoredCategorySeries_combined.js +3 -2
  31. package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +4 -3
  32. package/esm5/lib/BubbleSeries_combined.js +20 -15
  33. package/esm5/lib/CategoryToolTipLayer_combined.js +3 -1
  34. package/esm5/lib/DataLegendContent_combined.js +474 -461
  35. package/esm5/lib/DataLegendStylingColumnEventArgs.js +2 -1
  36. package/esm5/lib/DataToolTipLayer_combined.js +3 -1
  37. package/esm5/lib/FinancialPriceSeries_combined.js +33 -26
  38. package/esm5/lib/HighDensityScatterSeries_combined.js +8 -6
  39. package/esm5/lib/HorizontalRangeCategorySeries.js +12 -8
  40. package/esm5/lib/ItemToolTipLayer_combined.js +3 -1
  41. package/esm5/lib/PolarBase_combined.js +8 -6
  42. package/esm5/lib/ScatterAreaSeries_combined.js +12 -9
  43. package/esm5/lib/ScatterBase_combined.js +8 -6
  44. package/esm5/lib/ScatterContourSeries_combined.js +12 -9
  45. package/esm5/lib/ScatterTriangulationSeries.js +8 -8
  46. package/esm5/lib/SeriesViewer_combined.js +2 -1
  47. package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +43 -14
  48. package/esm5/lib/igc-assigning-series-style-event-args-base.js +5 -3
  49. package/esm5/lib/igc-data-legend-component.js +256 -256
  50. package/esm5/lib/igc-data-legend-styling-column-event-args.js +22 -9
  51. package/esm5/lib/igc-domain-chart-component.js +45 -27
  52. package/esm5/lib/igc-financial-event-args.js +10 -6
  53. package/esm5/lib/igc-ring-series-component.js +5 -3
  54. package/esm5/lib/igc-scatter-polygon-series-component.js +5 -3
  55. package/esm5/lib/igc-scatter-polyline-series-component.js +5 -3
  56. package/esm5/lib/igc-stacked-series-created-event-args.js +5 -3
  57. package/fesm2015/igniteui-webcomponents-charts.js +987 -883
  58. package/fesm5/igniteui-webcomponents-charts.js +1016 -891
  59. package/lib/DataLegendContent_combined.d.ts +111 -109
  60. package/lib/DataLegendStylingColumnEventArgs.d.ts +3 -2
  61. package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +3 -2
  62. package/lib/igc-data-legend-styling-column-event-args.d.ts +5 -1
  63. package/package.json +2 -2
@@ -63,12 +63,21 @@ export class IgcDataLegendStylingColumnEventArgs {
63
63
  this.i.b = +v;
64
64
  }
65
65
  /**
66
- * Gets data column named that corresponds to the value
66
+ * Gets name of data column that corresponds to the value, e.g. "OpenPrice"
67
67
  */
68
68
  get valueMemberPath() {
69
- return this.i.h;
69
+ return this.i.i;
70
70
  }
71
71
  set valueMemberPath(v) {
72
+ this.i.i = v;
73
+ }
74
+ /**
75
+ * Gets label of data column that corresponds to the value, e.g. "Open"
76
+ */
77
+ get valueMemberLabel() {
78
+ return this.i.h;
79
+ }
80
+ set valueMemberLabel(v) {
72
81
  this.i.h = v;
73
82
  }
74
83
  /**
@@ -102,36 +111,36 @@ export class IgcDataLegendStylingColumnEventArgs {
102
111
  * Gets or sets value text displayed value text in the column
103
112
  */
104
113
  get valueText() {
105
- return this.i.i;
114
+ return this.i.j;
106
115
  }
107
116
  set valueText(v) {
108
- this.i.i = v;
117
+ this.i.j = v;
109
118
  }
110
119
  /**
111
120
  * Gets or sets color of label text
112
121
  */
113
122
  get labelTextColor() {
114
- return brushToString(this.i.j);
123
+ return brushToString(this.i.k);
115
124
  }
116
125
  set labelTextColor(v) {
117
- this.i.j = stringToBrush(v);
126
+ this.i.k = stringToBrush(v);
118
127
  }
119
128
  /**
120
129
  * Gets or sets color of value text
121
130
  */
122
131
  get unitsTextColor() {
123
- return brushToString(this.i.k);
132
+ return brushToString(this.i.l);
124
133
  }
125
134
  set unitsTextColor(v) {
126
- this.i.k = stringToBrush(v);
135
+ this.i.l = stringToBrush(v);
127
136
  }
128
137
  /**
129
138
  * Gets or sets color of unit text
130
139
  */
131
140
  get valueTextColor() {
132
- return brushToString(this.i.l);
141
+ return brushToString(this.i.m);
133
142
  }
134
143
  set valueTextColor(v) {
135
- this.i.l = stringToBrush(v);
144
+ this.i.m = stringToBrush(v);
136
145
  }
137
146
  }
@@ -1556,11 +1556,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1556
1556
  }
1557
1557
  if (!r.externalObject) {
1558
1558
  let e = new IgcChartSortDescriptionCollection();
1559
- if (e.i.setNativeElement) {
1560
- e.i.setNativeElement(r);
1559
+ if (r.$type) {
1560
+ e._implementation = r;
1561
1561
  }
1562
1562
  else {
1563
- e._implementation = r;
1563
+ if (e.i.setNativeElement) {
1564
+ e.i.setNativeElement(r);
1565
+ }
1564
1566
  }
1565
1567
  r.externalObject = e;
1566
1568
  }
@@ -1573,11 +1575,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1573
1575
  }
1574
1576
  if (!r.externalObject) {
1575
1577
  let e = new IgcChartSortDescriptionCollection();
1576
- if (e.i.setNativeElement) {
1577
- e.i.setNativeElement(r);
1578
+ if (r.$type) {
1579
+ e._implementation = r;
1578
1580
  }
1579
1581
  else {
1580
- e._implementation = r;
1582
+ if (e.i.setNativeElement) {
1583
+ e.i.setNativeElement(r);
1584
+ }
1581
1585
  }
1582
1586
  r.externalObject = e;
1583
1587
  }
@@ -1593,11 +1597,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1593
1597
  }
1594
1598
  if (!r.externalObject) {
1595
1599
  let e = new IgcChartSortDescriptionCollection();
1596
- if (e.i.setNativeElement) {
1597
- e.i.setNativeElement(r);
1600
+ if (r.$type) {
1601
+ e._implementation = r;
1598
1602
  }
1599
1603
  else {
1600
- e._implementation = r;
1604
+ if (e.i.setNativeElement) {
1605
+ e.i.setNativeElement(r);
1606
+ }
1601
1607
  }
1602
1608
  r.externalObject = e;
1603
1609
  }
@@ -1613,11 +1619,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1613
1619
  }
1614
1620
  if (!r.externalObject) {
1615
1621
  let e = new IgcFilterExpressionCollection();
1616
- if (e.i.setNativeElement) {
1617
- e.i.setNativeElement(r);
1622
+ if (r.$type) {
1623
+ e._implementation = r;
1618
1624
  }
1619
1625
  else {
1620
- e._implementation = r;
1626
+ if (e.i.setNativeElement) {
1627
+ e.i.setNativeElement(r);
1628
+ }
1621
1629
  }
1622
1630
  r.externalObject = e;
1623
1631
  }
@@ -1633,11 +1641,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1633
1641
  }
1634
1642
  if (!r.externalObject) {
1635
1643
  let e = new IgcChartSummaryDescriptionCollection();
1636
- if (e.i.setNativeElement) {
1637
- e.i.setNativeElement(r);
1644
+ if (r.$type) {
1645
+ e._implementation = r;
1638
1646
  }
1639
1647
  else {
1640
- e._implementation = r;
1648
+ if (e.i.setNativeElement) {
1649
+ e.i.setNativeElement(r);
1650
+ }
1641
1651
  }
1642
1652
  r.externalObject = e;
1643
1653
  }
@@ -1653,11 +1663,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1653
1663
  }
1654
1664
  if (!r.externalObject) {
1655
1665
  let e = new IgcChartSortDescriptionCollection();
1656
- if (e.i.setNativeElement) {
1657
- e.i.setNativeElement(r);
1666
+ if (r.$type) {
1667
+ e._implementation = r;
1658
1668
  }
1659
1669
  else {
1660
- e._implementation = r;
1670
+ if (e.i.setNativeElement) {
1671
+ e.i.setNativeElement(r);
1672
+ }
1661
1673
  }
1662
1674
  r.externalObject = e;
1663
1675
  }
@@ -1673,11 +1685,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1673
1685
  }
1674
1686
  if (!r.externalObject) {
1675
1687
  let e = new IgcChartSortDescriptionCollection();
1676
- if (e.i.setNativeElement) {
1677
- e.i.setNativeElement(r);
1688
+ if (r.$type) {
1689
+ e._implementation = r;
1678
1690
  }
1679
1691
  else {
1680
- e._implementation = r;
1692
+ if (e.i.setNativeElement) {
1693
+ e.i.setNativeElement(r);
1694
+ }
1681
1695
  }
1682
1696
  r.externalObject = e;
1683
1697
  }
@@ -1693,11 +1707,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1693
1707
  }
1694
1708
  if (!r.externalObject) {
1695
1709
  let e = new IgcChartSortDescriptionCollection();
1696
- if (e.i.setNativeElement) {
1697
- e.i.setNativeElement(r);
1710
+ if (r.$type) {
1711
+ e._implementation = r;
1698
1712
  }
1699
1713
  else {
1700
- e._implementation = r;
1714
+ if (e.i.setNativeElement) {
1715
+ e.i.setNativeElement(r);
1716
+ }
1701
1717
  }
1702
1718
  r.externalObject = e;
1703
1719
  }
@@ -1713,11 +1729,13 @@ export let IgcDomainChartComponent = /*@__PURE__*/ (() => {
1713
1729
  }
1714
1730
  if (!r.externalObject) {
1715
1731
  let e = new IgcChartSummaryDescriptionCollection();
1716
- if (e.i.setNativeElement) {
1717
- e.i.setNativeElement(r);
1732
+ if (r.$type) {
1733
+ e._implementation = r;
1718
1734
  }
1719
1735
  else {
1720
- e._implementation = r;
1736
+ if (e.i.setNativeElement) {
1737
+ e.i.setNativeElement(r);
1738
+ }
1721
1739
  }
1722
1740
  r.externalObject = e;
1723
1741
  }
@@ -67,11 +67,13 @@ export class IgcFinancialEventArgs {
67
67
  }
68
68
  if (!r.externalObject) {
69
69
  let e = new IgcFinancialCalculationDataSource();
70
- if (e.i.setNativeElement) {
71
- e.i.setNativeElement(r);
70
+ if (r.$type) {
71
+ e._implementation = r;
72
72
  }
73
73
  else {
74
- e._implementation = r;
74
+ if (e.i.setNativeElement) {
75
+ e.i.setNativeElement(r);
76
+ }
75
77
  }
76
78
  r.externalObject = e;
77
79
  }
@@ -90,11 +92,13 @@ export class IgcFinancialEventArgs {
90
92
  }
91
93
  if (!r.externalObject) {
92
94
  let e = new IgcFinancialCalculationSupportingCalculations();
93
- if (e.i.setNativeElement) {
94
- e.i.setNativeElement(r);
95
+ if (r.$type) {
96
+ e._implementation = r;
95
97
  }
96
98
  else {
97
- e._implementation = r;
99
+ if (e.i.setNativeElement) {
100
+ e.i.setNativeElement(r);
101
+ }
98
102
  }
99
103
  r.externalObject = e;
100
104
  }
@@ -165,11 +165,13 @@ export let IgcRingSeriesComponent = /*@__PURE__*/ (() => {
165
165
  }
166
166
  if (!r.externalObject) {
167
167
  let e = new IgcRing();
168
- if (e.i.setNativeElement) {
169
- e.i.setNativeElement(r);
168
+ if (r.$type) {
169
+ e._implementation = r;
170
170
  }
171
171
  else {
172
- e._implementation = r;
172
+ if (e.i.setNativeElement) {
173
+ e.i.setNativeElement(r);
174
+ }
173
175
  }
174
176
  r.externalObject = e;
175
177
  }
@@ -91,11 +91,13 @@ export let IgcScatterPolygonSeriesComponent = /*@__PURE__*/ (() => {
91
91
  }
92
92
  if (!r.externalObject) {
93
93
  let e = new IgcStyle();
94
- if (e.i.setNativeElement) {
95
- e.i.setNativeElement(r);
94
+ if (r.$type) {
95
+ e._implementation = r;
96
96
  }
97
97
  else {
98
- e._implementation = r;
98
+ if (e.i.setNativeElement) {
99
+ e.i.setNativeElement(r);
100
+ }
99
101
  }
100
102
  r.externalObject = e;
101
103
  }
@@ -75,11 +75,13 @@ export let IgcScatterPolylineSeriesComponent = /*@__PURE__*/ (() => {
75
75
  }
76
76
  if (!r.externalObject) {
77
77
  let e = new IgcStyle();
78
- if (e.i.setNativeElement) {
79
- e.i.setNativeElement(r);
78
+ if (r.$type) {
79
+ e._implementation = r;
80
80
  }
81
81
  else {
82
- e._implementation = r;
82
+ if (e.i.setNativeElement) {
83
+ e.i.setNativeElement(r);
84
+ }
83
85
  }
84
86
  r.externalObject = e;
85
87
  }
@@ -136,11 +136,13 @@ export class IgcStackedSeriesCreatedEventArgs {
136
136
  }
137
137
  if (!r.externalObject) {
138
138
  let e = new IgcStyle();
139
- if (e.i.setNativeElement) {
140
- e.i.setNativeElement(r);
139
+ if (r.$type) {
140
+ e._implementation = r;
141
141
  }
142
142
  else {
143
- e._implementation = r;
143
+ if (e.i.setNativeElement) {
144
+ e.i.setNativeElement(r);
145
+ }
144
146
  }
145
147
  r.externalObject = e;
146
148
  }
@@ -111,9 +111,10 @@ var AnchoredCategorySeries = /** @class */ /*@__PURE__*/ (function (_super) {
111
111
  var c = new DataLegendSeriesValueInfo();
112
112
  c.a = 0;
113
113
  c.l = this.gl({ $type: Point_$type, x: a, y: b }, false, false);
114
+ c.q = this.t5 != null ? this.t5 : "Value";
114
115
  c.p = "Value";
115
- c.q = this.t1 != null ? this.t1 : "V:";
116
- c.r = this.t3 != null ? this.t3 : "";
116
+ c.r = this.t1 != null ? this.t1 : "V:";
117
+ c.s = this.t3 != null ? this.t3 : "";
117
118
  var d = new DataLegendSeriesContext();
118
119
  d.f = ((function () {
119
120
  var $ret = new List$1(DataLegendSeriesValueInfo.$, 0);
@@ -172,9 +172,10 @@ var AnchoredRadialSeries = /** @class */ /*@__PURE__*/ (function (_super) {
172
172
  var c = new DataLegendSeriesValueInfo();
173
173
  c.a = 0;
174
174
  c.l = this.gl({ $type: Point_$type, x: a, y: b }, false, false);
175
- c.p = this.to != null ? this.to : "Value";
176
- c.q = this.tk != null ? this.tk : "V:";
177
- c.r = this.tm != null ? this.tm : "";
175
+ c.p = "Value";
176
+ c.q = this.to != null ? this.to : "Value";
177
+ c.r = this.tk != null ? this.tk : "V:";
178
+ c.s = this.tm != null ? this.tm : "";
178
179
  var d = new DataLegendSeriesContext();
179
180
  d.f = ((function () {
180
181
  var $ret = new List$1(DataLegendSeriesValueInfo.$, 0);
@@ -757,15 +757,17 @@ var BubbleSeries = /** @class */ /*@__PURE__*/ (function (_super) {
757
757
  var g = new DataLegendSeriesValueInfo();
758
758
  g.a = 13;
759
759
  g.l = e;
760
- g.p = this.ti != null ? this.ti : "X";
761
- g.q = this.te != null ? this.te : "X:";
762
- g.r = this.tg != null ? this.tg : "";
760
+ g.p = "X";
761
+ g.q = this.ti != null ? this.ti : "X";
762
+ g.r = this.te != null ? this.te : "X:";
763
+ g.s = this.tg != null ? this.tg : "";
763
764
  var h = new DataLegendSeriesValueInfo();
764
765
  h.l = f;
765
766
  h.a = 14;
766
- h.p = this.tq != null ? this.tq : "Y";
767
- h.q = this.tm != null ? this.tm : "Y:";
768
- h.r = this.to != null ? this.to : "";
767
+ h.p = "Y";
768
+ h.q = this.tq != null ? this.tq : "Y";
769
+ h.r = this.tm != null ? this.tm : "Y:";
770
+ h.s = this.to != null ? this.to : "";
769
771
  var i = new DataLegendSeriesContext();
770
772
  i.f = ((function () {
771
773
  var $ret = new List$1(DataLegendSeriesValueInfo.$, 0);
@@ -779,18 +781,20 @@ var BubbleSeries = /** @class */ /*@__PURE__*/ (function (_super) {
779
781
  var k = new DataLegendSeriesValueInfo();
780
782
  k.l = j;
781
783
  k.a = 11;
782
- k.p = this.wb != null ? this.wb : "Radius";
783
- k.q = this.v7 != null ? this.v7 : "R:";
784
- k.r = this.v9 != null ? this.v9 : "";
784
+ k.p = "Radius";
785
+ k.q = this.wb != null ? this.wb : "Radius";
786
+ k.r = this.v7 != null ? this.v7 : "R:";
787
+ k.s = this.v9 != null ? this.v9 : "";
785
788
  i.f.add(k);
786
789
  }
787
790
  else if (this.va != null) {
788
791
  var l = new DataLegendSeriesValueInfo();
789
792
  l.l = this.va.maximumValue;
790
793
  l.a = 11;
791
- l.p = this.wb != null ? this.wb : "Radius";
792
- l.q = this.v7 != null ? this.v7 : "R:";
793
- l.r = this.v9 != null ? this.v9 : "";
794
+ l.p = "Radius";
795
+ l.q = this.wb != null ? this.wb : "Radius";
796
+ l.r = this.v7 != null ? this.v7 : "R:";
797
+ l.s = this.v9 != null ? this.v9 : "";
794
798
  i.f.add(l);
795
799
  }
796
800
  if (!stringIsNullOrEmpty(this.vw)) {
@@ -798,9 +802,10 @@ var BubbleSeries = /** @class */ /*@__PURE__*/ (function (_super) {
798
802
  var n = new DataLegendSeriesValueInfo();
799
803
  n.l = m;
800
804
  n.a = 12;
801
- n.p = this.vw != null ? this.vw : "Fill";
802
- n.q = this.vs != null ? this.vs : "F:";
803
- n.r = this.vu != null ? this.vu : "";
805
+ n.p = "Fill";
806
+ n.q = this.vw != null ? this.vw : "Fill";
807
+ n.r = this.vs != null ? this.vs : "F:";
808
+ n.s = this.vu != null ? this.vu : "";
804
809
  i.f.add(n);
805
810
  }
806
811
  return i;
@@ -415,7 +415,9 @@ var CategoryToolTipLayer = /** @class */ /*@__PURE__*/ (function (_super) {
415
415
  var j = c.l;
416
416
  var k = c.g;
417
417
  var l = c.h;
418
- this.re.ce(h, i, j, k, l);
418
+ if (h != null) {
419
+ this.re.ce(h, i, j, k, l);
420
+ }
419
421
  };
420
422
  CategoryToolTipLayer.prototype.en = function () {
421
423
  return true;