igniteui-webcomponents-charts 5.0.0 → 5.0.2-beta.0
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.
- package/bundles/igniteui-webcomponents-charts.umd.js +1088 -948
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm2015/lib/CalloutLayer_combined.js +1 -1
- package/esm2015/lib/CategoryBucketCalculator_combined.js +50 -50
- package/esm2015/lib/DataLegendContent_combined.js +7 -0
- package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
- package/esm2015/lib/DataPieBaseChart.js +311 -298
- package/esm2015/lib/DataPieChart.js +73 -73
- package/esm2015/lib/FinancialLegend_combined.js +3 -3
- package/esm2015/lib/ItemLegend_combined.js +26 -25
- package/esm2015/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm2015/lib/Legend_combined.js +13 -13
- package/esm2015/lib/PieChartViewManager_combined.js +11 -1
- package/esm2015/lib/PolarBase_combined.js +24 -24
- package/esm2015/lib/RadialBucketCalculator_combined.js +32 -32
- package/esm2015/lib/RadialPieSeries_combined.js +153 -78
- package/esm2015/lib/ScaleLegend_combined.js +82 -82
- package/esm2015/lib/ScatterBase_combined.js +23 -22
- package/esm2015/lib/ScatterPolygonSeries_combined.js +20 -20
- package/esm2015/lib/SeriesViewer_combined.js +2 -2
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
- package/esm2015/lib/igc-data-pie-base-chart-component.js +91 -83
- package/esm2015/lib/igc-data-pie-chart-component.js +23 -23
- package/esm2015/lib/igc-pie-chart-base-component.js +1 -1
- package/esm2015/lib/igc-radial-pie-series-component.js +20 -9
- package/esm2015/public_api.js +0 -1
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm5/lib/CalloutLayer_combined.js +1 -1
- package/esm5/lib/CategoryBucketCalculator_combined.js +50 -50
- package/esm5/lib/DataLegendContent_combined.js +7 -0
- package/esm5/lib/DataLegendVisualData_combined.js +28 -14
- package/esm5/lib/DataPieBaseChart.js +285 -268
- package/esm5/lib/DataPieChart.js +65 -65
- package/esm5/lib/FinancialLegend_combined.js +3 -3
- package/esm5/lib/ItemLegend_combined.js +26 -25
- package/esm5/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm5/lib/Legend_combined.js +13 -13
- package/esm5/lib/PieChartViewManager_combined.js +11 -1
- package/esm5/lib/PolarBase_combined.js +24 -24
- package/esm5/lib/RadialBucketCalculator_combined.js +32 -32
- package/esm5/lib/RadialPieSeries_combined.js +160 -76
- package/esm5/lib/ScaleLegend_combined.js +82 -82
- package/esm5/lib/ScatterBase_combined.js +23 -22
- package/esm5/lib/ScatterPolygonSeries_combined.js +20 -20
- package/esm5/lib/SeriesViewer_combined.js +2 -2
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
- package/esm5/lib/igc-data-pie-base-chart-component.js +95 -83
- package/esm5/lib/igc-data-pie-chart-component.js +23 -23
- package/esm5/lib/igc-pie-chart-base-component.js +1 -1
- package/esm5/lib/igc-radial-pie-series-component.js +24 -9
- package/esm5/public_api.js +0 -1
- package/fesm2015/igniteui-webcomponents-charts.js +1101 -984
- package/fesm5/igniteui-webcomponents-charts.js +1087 -945
- package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
- package/lib/CategoryBucketCalculator_combined.d.ts +1 -1
- package/lib/DataLegendVisualData_combined.d.ts +5 -1
- package/lib/DataPieBaseChart.d.ts +96 -92
- package/lib/DataPieChart.d.ts +26 -26
- package/lib/ItemLegend_combined.d.ts +5 -5
- package/lib/LegendBaseViewManager_combined.d.ts +33 -32
- package/lib/Legend_combined.d.ts +2 -2
- package/lib/PieChartViewManager_combined.d.ts +1 -1
- package/lib/PolarBase_combined.d.ts +1 -1
- package/lib/RadialBucketCalculator_combined.d.ts +2 -2
- package/lib/RadialPieSeries_combined.d.ts +18 -12
- package/lib/ScaleLegend_combined.d.ts +23 -23
- package/lib/ScatterBase_combined.d.ts +1 -1
- package/lib/ScatterPolygonSeries_combined.d.ts +1 -1
- package/lib/SeriesViewer_combined.d.ts +1 -1
- package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +1 -1
- package/lib/igc-data-pie-base-chart-component.d.ts +3 -0
- package/lib/igc-pie-chart-base-component.d.ts +1 -1
- package/lib/igc-radial-pie-series-component.d.ts +6 -0
- package/package.json +2 -2
- package/public_api.d.ts +0 -1
- package/esm2015/lib/LegendEmptyValuesMode.js +0 -29
- package/esm5/lib/LegendEmptyValuesMode.js +0 -29
- package/lib/LegendEmptyValuesMode.d.ts +0 -22
|
@@ -59,7 +59,7 @@ export let DataPieChart = /*@__PURE__*/ (() => {
|
|
|
59
59
|
this.he = false;
|
|
60
60
|
this.b3 = 1;
|
|
61
61
|
this.bz = 11;
|
|
62
|
-
this.
|
|
62
|
+
this.ake = true;
|
|
63
63
|
this.xq = BrushUtil.h(255, 255, 255, 255);
|
|
64
64
|
this.jl = DeviceUtils.g(2);
|
|
65
65
|
this.gm = true;
|
|
@@ -70,83 +70,83 @@ export let DataPieChart = /*@__PURE__*/ (() => {
|
|
|
70
70
|
}
|
|
71
71
|
uz(a, b) {
|
|
72
72
|
super.uz(a, b);
|
|
73
|
-
a.kc = this.
|
|
74
|
-
a.kd = this.
|
|
75
|
-
a.dc = this.
|
|
76
|
-
a.dd = this.
|
|
73
|
+
a.kc = this.akh;
|
|
74
|
+
a.kd = this.aki;
|
|
75
|
+
a.dc = this.akb;
|
|
76
|
+
a.dd = this.akc;
|
|
77
77
|
}
|
|
78
78
|
vo(a, b, c) {
|
|
79
79
|
super.vo(a, b, c);
|
|
80
80
|
switch (a) {
|
|
81
81
|
case "TransitionInDuration":
|
|
82
|
-
this.um((d) => d.kc = this.
|
|
82
|
+
this.um((d) => d.kc = this.akh);
|
|
83
83
|
break;
|
|
84
84
|
case "TransitionOutDuration":
|
|
85
|
-
this.um((d) => d.kd = this.
|
|
85
|
+
this.um((d) => d.kd = this.aki);
|
|
86
86
|
break;
|
|
87
87
|
case "TransitionInEasingFunction":
|
|
88
|
-
this.um((d) => d.dc = this.
|
|
88
|
+
this.um((d) => d.dc = this.akb);
|
|
89
89
|
break;
|
|
90
90
|
case "TransitionOutEasingFunction":
|
|
91
|
-
this.um((d) => d.dd = this.
|
|
91
|
+
this.um((d) => d.dd = this.akc);
|
|
92
92
|
break;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
get
|
|
96
|
-
return this.
|
|
95
|
+
get akh() {
|
|
96
|
+
return this.akf;
|
|
97
97
|
}
|
|
98
|
-
set
|
|
99
|
-
let b = this.
|
|
98
|
+
set akh(a) {
|
|
99
|
+
let b = this.akh;
|
|
100
100
|
if (a != b) {
|
|
101
|
-
this.
|
|
102
|
-
this.vl("TransitionInDuration", b, this.
|
|
101
|
+
this.akf = a;
|
|
102
|
+
this.vl("TransitionInDuration", b, this.akh);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
get
|
|
106
|
-
return this.
|
|
105
|
+
get aki() {
|
|
106
|
+
return this.akg;
|
|
107
107
|
}
|
|
108
|
-
set
|
|
109
|
-
let b = this.
|
|
108
|
+
set aki(a) {
|
|
109
|
+
let b = this.aki;
|
|
110
110
|
if (a != b) {
|
|
111
|
-
this.
|
|
112
|
-
this.vl("TransitionOutDuration", b, this.
|
|
111
|
+
this.akg = a;
|
|
112
|
+
this.vl("TransitionOutDuration", b, this.aki);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
get
|
|
116
|
-
return this.
|
|
115
|
+
get akb() {
|
|
116
|
+
return this.aj9;
|
|
117
117
|
}
|
|
118
|
-
set
|
|
119
|
-
let b = this.
|
|
118
|
+
set akb(a) {
|
|
119
|
+
let b = this.akb;
|
|
120
120
|
if (a != b) {
|
|
121
|
-
this.
|
|
122
|
-
this.vl("TransitionInEasingFunction", b, this.
|
|
121
|
+
this.aj9 = a;
|
|
122
|
+
this.vl("TransitionInEasingFunction", b, this.akb);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
get
|
|
126
|
-
return this.
|
|
125
|
+
get akc() {
|
|
126
|
+
return this.aka;
|
|
127
127
|
}
|
|
128
|
-
set
|
|
129
|
-
let b = this.
|
|
128
|
+
set akc(a) {
|
|
129
|
+
let b = this.akc;
|
|
130
130
|
if (a != b) {
|
|
131
|
-
this.
|
|
132
|
-
this.vl("TransitionOutEasingFunction", b, this.
|
|
131
|
+
this.aka = a;
|
|
132
|
+
this.vl("TransitionOutEasingFunction", b, this.akc);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
akk() {
|
|
136
136
|
let cvd_ = this.lv();
|
|
137
137
|
cvd_.scaleByViewport();
|
|
138
138
|
return (cvd_.serialize());
|
|
139
139
|
}
|
|
140
140
|
constructor() {
|
|
141
141
|
super();
|
|
142
|
-
this.
|
|
143
|
-
this.
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
142
|
+
this.akf = 1000;
|
|
143
|
+
this.akg = 1000;
|
|
144
|
+
this.aj9 = null;
|
|
145
|
+
this.aka = null;
|
|
146
|
+
this.aj5 = 0;
|
|
147
|
+
this.akd = true;
|
|
148
|
+
this.aj3 = 0;
|
|
149
|
+
this.aj7 = 3;
|
|
150
150
|
this.ue();
|
|
151
151
|
}
|
|
152
152
|
get_hy() {
|
|
@@ -170,14 +170,14 @@ export let DataPieChart = /*@__PURE__*/ (() => {
|
|
|
170
170
|
get hx() {
|
|
171
171
|
return this.get_hx();
|
|
172
172
|
}
|
|
173
|
-
|
|
173
|
+
get_ahf() {
|
|
174
174
|
return false;
|
|
175
175
|
}
|
|
176
176
|
bi(a) {
|
|
177
|
-
if (this.
|
|
177
|
+
if (this.aj6 == 0) {
|
|
178
178
|
return a.suggestedSeries;
|
|
179
179
|
}
|
|
180
|
-
if (this.
|
|
180
|
+
if (this.aj6 == 1) {
|
|
181
181
|
return 34;
|
|
182
182
|
}
|
|
183
183
|
return 34;
|
|
@@ -195,9 +195,9 @@ export let DataPieChart = /*@__PURE__*/ (() => {
|
|
|
195
195
|
if (c == null) {
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
c.zk = this.
|
|
199
|
-
c.yu = this.
|
|
200
|
-
c.c3 = this.
|
|
198
|
+
c.zk = this.ake;
|
|
199
|
+
c.yu = this.aj4;
|
|
200
|
+
c.c3 = this.aj8;
|
|
201
201
|
}
|
|
202
202
|
t3(a, b) {
|
|
203
203
|
super.t3(a, b);
|
|
@@ -223,44 +223,44 @@ export let DataPieChart = /*@__PURE__*/ (() => {
|
|
|
223
223
|
get cf() {
|
|
224
224
|
return this.get_cf();
|
|
225
225
|
}
|
|
226
|
-
get
|
|
227
|
-
return this.
|
|
226
|
+
get aj6() {
|
|
227
|
+
return this.aj5;
|
|
228
228
|
}
|
|
229
|
-
set
|
|
230
|
-
if (a != this.
|
|
231
|
-
let b = this.
|
|
232
|
-
this.
|
|
233
|
-
this.vl("ChartType", enumGetBox(DataPieChartType_$type, b), enumGetBox(DataPieChartType_$type, this.
|
|
229
|
+
set aj6(a) {
|
|
230
|
+
if (a != this.aj5) {
|
|
231
|
+
let b = this.aj6;
|
|
232
|
+
this.aj5 = a;
|
|
233
|
+
this.vl("ChartType", enumGetBox(DataPieChartType_$type, b), enumGetBox(DataPieChartType_$type, this.aj6));
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
get
|
|
237
|
-
return this.
|
|
236
|
+
get ake() {
|
|
237
|
+
return this.akd;
|
|
238
238
|
}
|
|
239
|
-
set
|
|
240
|
-
let b = this.
|
|
239
|
+
set ake(a) {
|
|
240
|
+
let b = this.ake;
|
|
241
241
|
if (a != b) {
|
|
242
|
-
this.
|
|
243
|
-
this.vl("IsTransitionInEnabled", b, this.
|
|
242
|
+
this.akd = a;
|
|
243
|
+
this.vl("IsTransitionInEnabled", b, this.ake);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
get
|
|
247
|
-
return this.
|
|
246
|
+
get aj4() {
|
|
247
|
+
return this.aj3;
|
|
248
248
|
}
|
|
249
|
-
set
|
|
250
|
-
let b = this.
|
|
249
|
+
set aj4(a) {
|
|
250
|
+
let b = this.aj4;
|
|
251
251
|
if (a != b) {
|
|
252
|
-
this.
|
|
253
|
-
this.vl("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.
|
|
252
|
+
this.aj3 = a;
|
|
253
|
+
this.vl("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.aj4));
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
get
|
|
257
|
-
return this.
|
|
256
|
+
get aj8() {
|
|
257
|
+
return this.aj7;
|
|
258
258
|
}
|
|
259
|
-
set
|
|
260
|
-
let b = this.
|
|
259
|
+
set aj8(a) {
|
|
260
|
+
let b = this.aj8;
|
|
261
261
|
if (a != b) {
|
|
262
|
-
this.
|
|
263
|
-
this.vl("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.
|
|
262
|
+
this.aj7 = a;
|
|
263
|
+
this.vl("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.aj8));
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
}
|
|
@@ -26,12 +26,12 @@ export let FinancialLegend = /*@__PURE__*/ (() => {
|
|
|
26
26
|
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
|
|
27
27
|
if (b.oldItems != null) {
|
|
28
28
|
for (let c of fromEn(b.oldItems)) {
|
|
29
|
-
this.bb.
|
|
29
|
+
this.bb.ao(c);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
if (b.newItems != null) {
|
|
33
33
|
for (let d of fromEn(b.newItems)) {
|
|
34
|
-
this.bb.
|
|
34
|
+
this.bb.y(d);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -53,7 +53,7 @@ export let FinancialLegendView = /*@__PURE__*/ (() => {
|
|
|
53
53
|
class FinancialLegendView extends LegendBaseView {
|
|
54
54
|
constructor(a) {
|
|
55
55
|
super(a);
|
|
56
|
-
this.
|
|
56
|
+
this.d = new FinancialLegendViewManager(this);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
FinancialLegendView.$t = /*@__PURE__*/ markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
|
|
@@ -38,18 +38,18 @@ export let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
38
38
|
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
|
|
39
39
|
if (b.oldItems != null) {
|
|
40
40
|
for (let c of fromEn(b.oldItems)) {
|
|
41
|
-
this.bb.
|
|
41
|
+
this.bb.ao(c);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
if (b.newItems != null) {
|
|
45
45
|
for (let d of fromEn(b.newItems)) {
|
|
46
|
-
this.bb.
|
|
46
|
+
this.bb.y(d);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
addChildInOrder(a, b) {
|
|
52
|
-
if (!this.ak.
|
|
52
|
+
if (!this.ak.n()) {
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
55
|
this.bl(b);
|
|
@@ -61,7 +61,7 @@ export let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
61
61
|
this.a0(a, b);
|
|
62
62
|
}
|
|
63
63
|
a0(a, b) {
|
|
64
|
-
this.ak.
|
|
64
|
+
this.ak.ag();
|
|
65
65
|
this.clearLegendItemsForSeries(b);
|
|
66
66
|
if (b == null || a == null || a.count == 0) {
|
|
67
67
|
return;
|
|
@@ -85,13 +85,13 @@ export let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
this.ak.
|
|
88
|
+
this.ak.ah();
|
|
89
89
|
}
|
|
90
90
|
createLegendItemsInsert(a, b) {
|
|
91
91
|
this.bk(a, b);
|
|
92
92
|
}
|
|
93
93
|
bk(a, b) {
|
|
94
|
-
this.ak.
|
|
94
|
+
this.ak.ag();
|
|
95
95
|
try {
|
|
96
96
|
let c = this.bf(b);
|
|
97
97
|
if (b == null || a == null || a.count == 0) {
|
|
@@ -114,7 +114,7 @@ export let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
finally {
|
|
117
|
-
this.ak.
|
|
117
|
+
this.ak.ah();
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
renderItemwiseContent(a) {
|
|
@@ -192,25 +192,25 @@ export let ItemLegend = /*@__PURE__*/ (() => {
|
|
|
192
192
|
return c;
|
|
193
193
|
}
|
|
194
194
|
be(a) {
|
|
195
|
-
return this.bb.
|
|
195
|
+
return this.bb.aq(a);
|
|
196
196
|
}
|
|
197
197
|
get bc() {
|
|
198
|
-
return this.ak.
|
|
198
|
+
return this.ak.l ? 0 : 1;
|
|
199
199
|
}
|
|
200
200
|
set bc(a) {
|
|
201
|
-
this.ak.
|
|
201
|
+
this.ak.l = a == 0;
|
|
202
202
|
}
|
|
203
203
|
get bi() {
|
|
204
|
-
return this.ak.
|
|
204
|
+
return this.ak.w;
|
|
205
205
|
}
|
|
206
206
|
set bi(a) {
|
|
207
|
-
this.ak.
|
|
207
|
+
this.ak.w = a;
|
|
208
208
|
}
|
|
209
209
|
get bj() {
|
|
210
|
-
return this.ak.
|
|
210
|
+
return this.ak.x;
|
|
211
211
|
}
|
|
212
212
|
set bj(a) {
|
|
213
|
-
this.ak.
|
|
213
|
+
this.ak.x = a;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
ItemLegend.$t = /*@__PURE__*/ markType(ItemLegend, 'ItemLegend', LegendBase.$, [IChartItemLegend_$type]);
|
|
@@ -223,21 +223,21 @@ export let ItemLegendView = /*@__PURE__*/ (() => {
|
|
|
223
223
|
class ItemLegendView extends LegendBaseView {
|
|
224
224
|
constructor(a) {
|
|
225
225
|
super(a);
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
226
|
+
this.ap = null;
|
|
227
|
+
this.ap = a;
|
|
228
228
|
}
|
|
229
|
-
|
|
230
|
-
super.
|
|
229
|
+
al() {
|
|
230
|
+
super.al();
|
|
231
231
|
}
|
|
232
|
-
|
|
232
|
+
get_k() {
|
|
233
233
|
return true;
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
return this.
|
|
235
|
+
aq(a) {
|
|
236
|
+
return this.d.e(a);
|
|
237
237
|
}
|
|
238
|
-
|
|
238
|
+
g() {
|
|
239
239
|
let a = new LegendVisualData();
|
|
240
|
-
let b = this.
|
|
240
|
+
let b = this.d.g.rootWrapper;
|
|
241
241
|
b = b.getChildAt(0);
|
|
242
242
|
let c = b.getChildCount();
|
|
243
243
|
for (let d = 0; d < c; d++) {
|
|
@@ -246,13 +246,14 @@ export let ItemLegendView = /*@__PURE__*/ (() => {
|
|
|
246
246
|
e.label = f.getText();
|
|
247
247
|
e.label = e.label != null ? e.label.trim() : null;
|
|
248
248
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
249
|
-
e.labelBounds = this.
|
|
250
|
-
e.badgeBounds = this.
|
|
249
|
+
e.labelBounds = this.i(f);
|
|
250
|
+
e.badgeBounds = this.h(f);
|
|
251
251
|
a.items.add(e);
|
|
252
252
|
}
|
|
253
253
|
if (c == a.items.count) {
|
|
254
254
|
for (let g = 0; g < c; g++) {
|
|
255
255
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
256
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
return a;
|