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.
- package/bundles/igniteui-webcomponents-charts.umd.js +809 -708
- 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/DataPieBaseChart.js +311 -298
- package/esm2015/lib/DataPieChart.js +73 -73
- 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/ScatterBase_combined.js +20 -20
- 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/DataPieBaseChart.js +285 -268
- package/esm5/lib/DataPieChart.js +65 -65
- 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/ScatterBase_combined.js +20 -20
- 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 +826 -744
- package/fesm5/igniteui-webcomponents-charts.js +808 -705
- package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
- package/lib/CategoryBucketCalculator_combined.d.ts +1 -1
- package/lib/DataPieBaseChart.d.ts +96 -92
- package/lib/DataPieChart.d.ts +26 -26
- 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/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
|
}
|
|
@@ -44,7 +44,7 @@ import { NotifyCollectionChangedEventArgs } from "igniteui-webcomponents-core";
|
|
|
44
44
|
import { IChartLegend_$type } from "igniteui-webcomponents-core";
|
|
45
45
|
import { SweepDirection_$type } from "igniteui-webcomponents-core";
|
|
46
46
|
import { DataTemplate } from "igniteui-webcomponents-core";
|
|
47
|
-
import { LegendEmptyValuesMode_$type } from "
|
|
47
|
+
import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
|
|
48
48
|
import { SliceSelectionMode_$type } from "./SliceSelectionMode";
|
|
49
49
|
import { ObjectCollection } from "igniteui-webcomponents-core";
|
|
50
50
|
import { BindingFormatter } from "igniteui-webcomponents-core";
|
|
@@ -2475,6 +2475,16 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
destroy() {
|
|
2477
2477
|
this.gv();
|
|
2478
|
+
if (this.b0) {
|
|
2479
|
+
let a = this.ak;
|
|
2480
|
+
a.collectionChanged = delegateRemove(a.collectionChanged, this.cu);
|
|
2481
|
+
this.b0 = false;
|
|
2482
|
+
}
|
|
2483
|
+
if (this.b3) {
|
|
2484
|
+
let b = this.al;
|
|
2485
|
+
b.collectionChanged = delegateRemove(b.collectionChanged, this.cu);
|
|
2486
|
+
this.b3 = false;
|
|
2487
|
+
}
|
|
2478
2488
|
this.a4.az(null);
|
|
2479
2489
|
}
|
|
2480
2490
|
get fq() {
|
|
@@ -68,39 +68,39 @@ export let PolarBase = /*@__PURE__*/ (() => {
|
|
|
68
68
|
get_fn() {
|
|
69
69
|
return true;
|
|
70
70
|
}
|
|
71
|
-
d9(a, b, c, d) {
|
|
71
|
+
d9(a, b, c, d, e) {
|
|
72
72
|
if (!this.hasMarkers) {
|
|
73
73
|
return false;
|
|
74
74
|
}
|
|
75
|
-
let
|
|
76
|
-
let
|
|
77
|
-
|
|
78
|
-
let
|
|
79
|
-
let
|
|
80
|
-
|
|
75
|
+
let f = this.yl;
|
|
76
|
+
let g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
|
|
77
|
+
g.c = this.getEffectiveViewport1(this.ct);
|
|
78
|
+
let h = this.ym;
|
|
79
|
+
let i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
|
|
80
|
+
i.c = this.getEffectiveViewport1(this.ct);
|
|
81
81
|
a.clear();
|
|
82
|
-
this.wy.cj((
|
|
83
|
-
if (
|
|
84
|
-
let
|
|
85
|
-
let
|
|
86
|
-
let
|
|
87
|
-
if (
|
|
82
|
+
this.wy.cj((j) => {
|
|
83
|
+
if (j._visibility == 0) {
|
|
84
|
+
let k = new SeriesPointOfInterest();
|
|
85
|
+
let l = j.n;
|
|
86
|
+
let m = j.o;
|
|
87
|
+
if (l < this.wl.left || l > this.wl.right || m < this.wl.top || m > this.wl.bottom) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
let m;
|
|
91
90
|
let n;
|
|
92
|
-
let o
|
|
93
|
-
|
|
94
|
-
n =
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
91
|
+
let o;
|
|
92
|
+
let p = this.yn.f(l, m, this.ct.by, this.ct.bx, this.ct.getEffectiveViewport(), n, o);
|
|
93
|
+
n = p.p5;
|
|
94
|
+
o = p.p6;
|
|
95
|
+
k.d = n;
|
|
96
|
+
k.e = o;
|
|
97
|
+
k.b = j.content;
|
|
98
|
+
k.g = this.va;
|
|
99
|
+
k.c = j.ak;
|
|
100
100
|
if (this.g7) {
|
|
101
|
-
|
|
101
|
+
k.g = this.vh(j.ak);
|
|
102
102
|
}
|
|
103
|
-
a.add(
|
|
103
|
+
a.add(k);
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
return true;
|
|
@@ -176,48 +176,48 @@ export let RadialBase = /*@__PURE__*/ (() => {
|
|
|
176
176
|
}
|
|
177
177
|
super.pn(a);
|
|
178
178
|
}
|
|
179
|
-
d9(a, b, c, d) {
|
|
179
|
+
d9(a, b, c, d, e) {
|
|
180
180
|
if (!this.hasMarkers) {
|
|
181
181
|
return false;
|
|
182
182
|
}
|
|
183
|
-
let
|
|
184
|
-
let
|
|
185
|
-
|
|
186
|
-
let
|
|
187
|
-
let
|
|
188
|
-
|
|
189
|
-
let
|
|
183
|
+
let f = this.yr;
|
|
184
|
+
let g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
|
|
185
|
+
g.c = this.getEffectiveViewport1(this.ct);
|
|
186
|
+
let h = this.yw;
|
|
187
|
+
let i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
|
|
188
|
+
i.c = this.getEffectiveViewport1(this.ct);
|
|
189
|
+
let j = this.zw;
|
|
190
190
|
a.clear();
|
|
191
|
-
this.wy.cj((
|
|
192
|
-
if (
|
|
193
|
-
let
|
|
194
|
-
let
|
|
195
|
-
let
|
|
196
|
-
if (
|
|
191
|
+
this.wy.cj((k) => {
|
|
192
|
+
if (k._visibility == 0) {
|
|
193
|
+
let l = new SeriesPointOfInterest();
|
|
194
|
+
let m = k.n;
|
|
195
|
+
let n = k.o;
|
|
196
|
+
if (m < this.wl.left || m > this.wl.right || n < this.wl.top || n > this.wl.bottom) {
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
|
-
let
|
|
200
|
-
if (
|
|
201
|
-
|
|
199
|
+
let o = null;
|
|
200
|
+
if (k.content != null) {
|
|
201
|
+
o = k.content.item;
|
|
202
202
|
}
|
|
203
|
-
let o;
|
|
204
203
|
let p;
|
|
205
|
-
let q
|
|
206
|
-
|
|
207
|
-
p =
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
let s =
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
204
|
+
let q;
|
|
205
|
+
let r = this.yz.g(m, n, this.ct.by, this.ct.bx, this.ct.getEffectiveViewport(), p, q);
|
|
206
|
+
p = r.p5;
|
|
207
|
+
q = r.p6;
|
|
208
|
+
l.d = p;
|
|
209
|
+
l.e = q;
|
|
210
|
+
let s = l.e;
|
|
211
|
+
let t = k.ak;
|
|
212
|
+
l.f = this.aav(s, o, t, d, j, c, b, false);
|
|
213
|
+
l.b = k.content;
|
|
214
|
+
l.g = this.va;
|
|
215
|
+
l.c = k.ak;
|
|
216
216
|
if (this.g7) {
|
|
217
|
-
|
|
217
|
+
l.g = this.vh(k.ak);
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
a.add(
|
|
219
|
+
l.a = this.aq(k.ak, k.al);
|
|
220
|
+
a.add(l);
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
return true;
|