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
|
@@ -54,7 +54,7 @@ export let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
54
54
|
let a = LegendItemHelper.b;
|
|
55
55
|
if (window.devicePixelRatio != undefined && (isNaN_(a) || window.devicePixelRatio != a)) {
|
|
56
56
|
LegendItemHelper.b = window.devicePixelRatio;
|
|
57
|
-
this.a.
|
|
57
|
+
this.a.am();
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
u() {
|
|
@@ -70,7 +70,7 @@ export let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
70
70
|
}
|
|
71
71
|
this.g = a;
|
|
72
72
|
this.l = this.i();
|
|
73
|
-
this.l.addClass(this.a.
|
|
73
|
+
this.l.addClass(this.a.t);
|
|
74
74
|
this.g.append(this.l);
|
|
75
75
|
}
|
|
76
76
|
i() {
|
|
@@ -78,8 +78,8 @@ export let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
78
78
|
}
|
|
79
79
|
h() {
|
|
80
80
|
let a = this.g.createElement("tr");
|
|
81
|
-
a.addClass(this.a.
|
|
82
|
-
let b = this.a.
|
|
81
|
+
a.addClass(this.a.u);
|
|
82
|
+
let b = this.a.l;
|
|
83
83
|
if (b) {
|
|
84
84
|
a.setStyleProperty("display", "block");
|
|
85
85
|
a.setStyleProperty("float", "left");
|
|
@@ -120,14 +120,14 @@ export let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
120
120
|
c.ah.render(h);
|
|
121
121
|
let i = d.findByClass(".ui-legend-item-badge");
|
|
122
122
|
for (let j = 0; j < i.length; j++) {
|
|
123
|
-
i[j].removeClass("ui-legend-item-badge").addClass(this.a.
|
|
123
|
+
i[j].removeClass("ui-legend-item-badge").addClass(this.a.s);
|
|
124
124
|
}
|
|
125
125
|
i = d.findByClass(".ui-legend-item-text");
|
|
126
126
|
for (let k = 0; k < i.length; k++) {
|
|
127
|
-
if (this.a.
|
|
127
|
+
if (this.a.l) {
|
|
128
128
|
i[k].setStyleProperty("white-space", "nowrap");
|
|
129
129
|
}
|
|
130
|
-
i[k].removeClass("ui-legend-item-text").addClass(this.a.
|
|
130
|
+
i[k].removeClass("ui-legend-item-text").addClass(this.a.v);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -135,10 +135,10 @@ export let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
135
135
|
}
|
|
136
136
|
o(a, b) {
|
|
137
137
|
let c = this.k(a, this.l);
|
|
138
|
-
c.listen("mouseup", runOn(this.a, this.a.
|
|
139
|
-
c.listen("mousedown", runOn(this.a, this.a.
|
|
140
|
-
c.listen("mouseleave", runOn(this.a, this.a.
|
|
141
|
-
c.listen("mousemove", runOn(this.a, this.a.
|
|
138
|
+
c.listen("mouseup", runOn(this.a, this.a.af));
|
|
139
|
+
c.listen("mousedown", runOn(this.a, this.a.ac));
|
|
140
|
+
c.listen("mouseleave", runOn(this.a, this.a.ad));
|
|
141
|
+
c.listen("mousemove", runOn(this.a, this.a.ae));
|
|
142
142
|
this.f.addItem(a, c);
|
|
143
143
|
if ((this.l.getChildCount() == 0) || (b >= this.l.getChildCount())) {
|
|
144
144
|
this.l.append(c);
|
|
@@ -248,10 +248,10 @@ export let LegendBaseViewManager = /*@__PURE__*/ (() => {
|
|
|
248
248
|
export let LegendBase = /*@__PURE__*/ (() => {
|
|
249
249
|
class LegendBase extends ContentControl {
|
|
250
250
|
onDetachedFromUI() {
|
|
251
|
-
this.ak.
|
|
251
|
+
this.ak.ak();
|
|
252
252
|
}
|
|
253
253
|
onAttachedToUI() {
|
|
254
|
-
this.ak.
|
|
254
|
+
this.ak.ai();
|
|
255
255
|
}
|
|
256
256
|
aj() {
|
|
257
257
|
return new LegendBaseView(this);
|
|
@@ -274,7 +274,7 @@ export let LegendBase = /*@__PURE__*/ (() => {
|
|
|
274
274
|
this.legendItemMouseMove = null;
|
|
275
275
|
let a = this.aj();
|
|
276
276
|
this.a8(a);
|
|
277
|
-
a.
|
|
277
|
+
a.al();
|
|
278
278
|
this.at = new ObservableCollection$1(UIElement.$, 0);
|
|
279
279
|
this.aw = "ig-chart-legend-items-list";
|
|
280
280
|
this.ax = "ig-chart-legend-item";
|
|
@@ -390,34 +390,34 @@ export let LegendBase = /*@__PURE__*/ (() => {
|
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
provideContainer(a) {
|
|
393
|
-
this.ak.
|
|
393
|
+
this.ak.aj(a);
|
|
394
394
|
}
|
|
395
395
|
get aw() {
|
|
396
|
-
return this.ak.
|
|
396
|
+
return this.ak.t;
|
|
397
397
|
}
|
|
398
398
|
set aw(a) {
|
|
399
|
-
this.ak.
|
|
399
|
+
this.ak.t = a;
|
|
400
400
|
}
|
|
401
401
|
get ax() {
|
|
402
|
-
return this.ak.
|
|
402
|
+
return this.ak.u;
|
|
403
403
|
}
|
|
404
404
|
set ax(a) {
|
|
405
|
-
this.ak.
|
|
405
|
+
this.ak.u = a;
|
|
406
406
|
}
|
|
407
407
|
get av() {
|
|
408
|
-
return this.ak.
|
|
408
|
+
return this.ak.s;
|
|
409
409
|
}
|
|
410
410
|
set av(a) {
|
|
411
|
-
this.ak.
|
|
411
|
+
this.ak.s = a;
|
|
412
412
|
}
|
|
413
413
|
get ay() {
|
|
414
|
-
return this.ak.
|
|
414
|
+
return this.ak.v;
|
|
415
415
|
}
|
|
416
416
|
set ay(a) {
|
|
417
|
-
this.ak.
|
|
417
|
+
this.ak.v = a;
|
|
418
418
|
}
|
|
419
419
|
exportVisualData() {
|
|
420
|
-
return this.ak.
|
|
420
|
+
return this.ak.g();
|
|
421
421
|
}
|
|
422
422
|
exportSerializedVisualData() {
|
|
423
423
|
let a = this.exportVisualData();
|
|
@@ -440,39 +440,39 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
440
440
|
class LegendBaseView extends Base {
|
|
441
441
|
constructor(a) {
|
|
442
442
|
super();
|
|
443
|
+
this.d = null;
|
|
443
444
|
this.c = null;
|
|
444
|
-
this.b = null;
|
|
445
|
-
this.s = null;
|
|
446
445
|
this.t = null;
|
|
447
|
-
this.r = null;
|
|
448
446
|
this.u = null;
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
447
|
+
this.s = null;
|
|
448
|
+
this.v = null;
|
|
449
|
+
this.m = false;
|
|
450
|
+
this.j = false;
|
|
452
451
|
this.q = null;
|
|
453
|
-
this.
|
|
454
|
-
this.c =
|
|
455
|
-
this.
|
|
452
|
+
this.r = null;
|
|
453
|
+
this.c = a;
|
|
454
|
+
this.d = new LegendBaseViewManager(this);
|
|
455
|
+
this.d.p();
|
|
456
456
|
}
|
|
457
|
-
|
|
458
|
-
this.
|
|
457
|
+
ak() {
|
|
458
|
+
this.d.u();
|
|
459
459
|
}
|
|
460
|
-
|
|
461
|
-
this.
|
|
460
|
+
ai() {
|
|
461
|
+
this.d.s();
|
|
462
462
|
}
|
|
463
|
-
|
|
463
|
+
al() {
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
get_k() {
|
|
466
466
|
return false;
|
|
467
467
|
}
|
|
468
|
-
get
|
|
469
|
-
return this.
|
|
468
|
+
get k() {
|
|
469
|
+
return this.get_k();
|
|
470
470
|
}
|
|
471
|
-
|
|
471
|
+
e(a) {
|
|
472
472
|
let b;
|
|
473
473
|
let c;
|
|
474
474
|
let d;
|
|
475
|
-
let e = this.
|
|
475
|
+
let e = this.ab(a, b, c, d);
|
|
476
476
|
b = e.p1;
|
|
477
477
|
c = e.p2;
|
|
478
478
|
d = e.p3;
|
|
@@ -480,11 +480,11 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
480
480
|
let g = new LegendMouseButtonEventArgs(b, c, d, f, a);
|
|
481
481
|
return g;
|
|
482
482
|
}
|
|
483
|
-
|
|
483
|
+
f(a) {
|
|
484
484
|
let b;
|
|
485
485
|
let c;
|
|
486
486
|
let d;
|
|
487
|
-
let e = this.
|
|
487
|
+
let e = this.ab(a, b, c, d);
|
|
488
488
|
b = e.p1;
|
|
489
489
|
c = e.p2;
|
|
490
490
|
d = e.p3;
|
|
@@ -492,8 +492,8 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
492
492
|
let g = new LegendMouseEventArgs(b, c, d, f, a);
|
|
493
493
|
return g;
|
|
494
494
|
}
|
|
495
|
-
|
|
496
|
-
b = this.
|
|
495
|
+
ab(a, b, c, d) {
|
|
496
|
+
b = this.c.ai;
|
|
497
497
|
c = null;
|
|
498
498
|
d = null;
|
|
499
499
|
if (a != null) {
|
|
@@ -513,81 +513,81 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
513
513
|
p3: d
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
|
-
|
|
516
|
+
aa() {
|
|
517
517
|
}
|
|
518
|
-
|
|
518
|
+
n() {
|
|
519
519
|
return true;
|
|
520
520
|
}
|
|
521
|
-
|
|
522
|
-
}
|
|
523
|
-
am(a) {
|
|
524
|
-
}
|
|
525
|
-
ai(a) {
|
|
526
|
-
this.c.t(a);
|
|
521
|
+
z(a) {
|
|
527
522
|
}
|
|
528
523
|
an(a) {
|
|
529
|
-
this.c.x(a);
|
|
530
524
|
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
this.c.o(a, b);
|
|
525
|
+
aj(a) {
|
|
526
|
+
this.d.t(a);
|
|
534
527
|
}
|
|
535
|
-
|
|
536
|
-
this.
|
|
528
|
+
ao(a) {
|
|
529
|
+
this.d.x(a);
|
|
537
530
|
}
|
|
538
|
-
|
|
539
|
-
this.c.
|
|
531
|
+
y(a) {
|
|
532
|
+
let b = this.c.at.indexOf(a);
|
|
533
|
+
this.d.o(a, b);
|
|
540
534
|
}
|
|
541
|
-
|
|
542
|
-
|
|
535
|
+
ag() {
|
|
536
|
+
this.d.q();
|
|
543
537
|
}
|
|
544
|
-
|
|
545
|
-
this.
|
|
546
|
-
this.c.v(this.i);
|
|
538
|
+
ah() {
|
|
539
|
+
this.d.r();
|
|
547
540
|
}
|
|
548
|
-
get
|
|
549
|
-
return this.
|
|
541
|
+
get l() {
|
|
542
|
+
return this.j;
|
|
550
543
|
}
|
|
551
|
-
set
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
544
|
+
set l(a) {
|
|
545
|
+
this.j = a;
|
|
546
|
+
this.d.v(this.j);
|
|
554
547
|
}
|
|
555
548
|
get w() {
|
|
556
549
|
return this.q;
|
|
557
550
|
}
|
|
558
551
|
set w(a) {
|
|
559
552
|
this.q = a;
|
|
560
|
-
this.
|
|
553
|
+
this.d.z(this.q);
|
|
561
554
|
}
|
|
562
|
-
|
|
563
|
-
this.
|
|
555
|
+
get x() {
|
|
556
|
+
return this.r;
|
|
557
|
+
}
|
|
558
|
+
set x(a) {
|
|
559
|
+
this.r = a;
|
|
560
|
+
this.d.aa(this.r);
|
|
564
561
|
}
|
|
565
|
-
|
|
562
|
+
am() {
|
|
563
|
+
this.d.p();
|
|
564
|
+
}
|
|
565
|
+
o(e_) {
|
|
566
566
|
let ev_ = e_.originalEvent;
|
|
567
567
|
return ev_.currentTarget;
|
|
568
568
|
}
|
|
569
|
-
|
|
570
|
-
return this.
|
|
569
|
+
p(e_) {
|
|
570
|
+
return this.d.n(this.o(e_));
|
|
571
571
|
}
|
|
572
|
-
|
|
573
|
-
if (!this.
|
|
574
|
-
this.
|
|
572
|
+
ae(a) {
|
|
573
|
+
if (!this.m) {
|
|
574
|
+
this.c.a3(this.f(this.p(a)));
|
|
575
575
|
}
|
|
576
|
-
this.
|
|
576
|
+
this.m = true;
|
|
577
577
|
}
|
|
578
|
-
|
|
579
|
-
if (this.
|
|
580
|
-
this.
|
|
578
|
+
ad(a) {
|
|
579
|
+
if (this.m) {
|
|
580
|
+
this.c.a4(this.f(this.p(a)));
|
|
581
581
|
}
|
|
582
|
-
this.
|
|
582
|
+
this.m = false;
|
|
583
583
|
}
|
|
584
|
-
|
|
585
|
-
this.
|
|
584
|
+
ac(a) {
|
|
585
|
+
this.c.a5(this.e(this.p(a)));
|
|
586
586
|
}
|
|
587
|
-
|
|
588
|
-
this.
|
|
587
|
+
af(a) {
|
|
588
|
+
this.c.a6(this.e(this.p(a)));
|
|
589
589
|
}
|
|
590
|
-
|
|
590
|
+
i(a) {
|
|
591
591
|
let b = a.querySelectorAll("span *");
|
|
592
592
|
let c = Rect.empty;
|
|
593
593
|
for (let e = 0; e < b.length; e++) {
|
|
@@ -601,16 +601,16 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
601
601
|
}
|
|
602
602
|
return RectData.b(c);
|
|
603
603
|
}
|
|
604
|
-
|
|
604
|
+
h(a) {
|
|
605
605
|
let b = a.querySelectorAll("canvas");
|
|
606
606
|
let c = b.length > 0 ? b[0] : null;
|
|
607
607
|
return c != null ? new RectData(c.getOffset().left, c.getOffset().top, c.width(), c.height()) : null;
|
|
608
608
|
}
|
|
609
609
|
a(a) {
|
|
610
|
-
if (this.
|
|
610
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
611
611
|
return null;
|
|
612
612
|
}
|
|
613
|
-
let b = this.
|
|
613
|
+
let b = this.c.at._inner[a];
|
|
614
614
|
if (b == null) {
|
|
615
615
|
return null;
|
|
616
616
|
}
|
|
@@ -621,9 +621,24 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
621
621
|
let d = c.actualItemBrush != null ? c.actualItemBrush : c.itemBrush;
|
|
622
622
|
return AppearanceHelper.b(d);
|
|
623
623
|
}
|
|
624
|
-
|
|
624
|
+
b(a) {
|
|
625
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
626
|
+
return null;
|
|
627
|
+
}
|
|
628
|
+
let b = this.c.at._inner[a];
|
|
629
|
+
if (b == null) {
|
|
630
|
+
return null;
|
|
631
|
+
}
|
|
632
|
+
let c = b.content;
|
|
633
|
+
if (c == null) {
|
|
634
|
+
return null;
|
|
635
|
+
}
|
|
636
|
+
let d = c.outline;
|
|
637
|
+
return AppearanceHelper.b(d);
|
|
638
|
+
}
|
|
639
|
+
g() {
|
|
625
640
|
let a = new LegendVisualData();
|
|
626
|
-
let b = this.
|
|
641
|
+
let b = this.d.l;
|
|
627
642
|
let c = b.getChildCount();
|
|
628
643
|
for (let d = 0; d < c; d++) {
|
|
629
644
|
let e = new LegendItemVisualData();
|
|
@@ -631,12 +646,15 @@ export let LegendBaseView = /*@__PURE__*/ (() => {
|
|
|
631
646
|
e.label = f.getText();
|
|
632
647
|
e.label = e.label != null ? e.label.trim() : null;
|
|
633
648
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
634
|
-
e.labelBounds = this.
|
|
635
|
-
e.badgeBounds = this.
|
|
649
|
+
e.labelBounds = this.i(f);
|
|
650
|
+
e.badgeBounds = this.h(f);
|
|
651
|
+
e.appearance.fill = this.a(d);
|
|
652
|
+
e.appearance.stroke = this.b(d);
|
|
636
653
|
a.items.add(e);
|
|
637
654
|
}
|
|
638
|
-
for (let g = 0; g < this.
|
|
655
|
+
for (let g = 0; g < this.c.at.count; g++) {
|
|
639
656
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
657
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
640
658
|
}
|
|
641
659
|
return a;
|
|
642
660
|
}
|
|
@@ -29,12 +29,12 @@ export let Legend = /*@__PURE__*/ (() => {
|
|
|
29
29
|
a.collectionChanged = delegateCombine(a.collectionChanged, (a, b) => {
|
|
30
30
|
if (b.oldItems != null) {
|
|
31
31
|
for (let c of fromEn(b.oldItems)) {
|
|
32
|
-
this.bc.
|
|
32
|
+
this.bc.ao(c);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
if (b.newItems != null) {
|
|
36
36
|
for (let d of fromEn(b.newItems)) {
|
|
37
|
-
this.bc.
|
|
37
|
+
this.bc.y(d);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
});
|
|
@@ -57,7 +57,7 @@ export let Legend = /*@__PURE__*/ (() => {
|
|
|
57
57
|
let e;
|
|
58
58
|
let f;
|
|
59
59
|
let g;
|
|
60
|
-
let h = this.ak.
|
|
60
|
+
let h = this.ak.ab(d, e, f, g);
|
|
61
61
|
e = h.p1;
|
|
62
62
|
f = h.p2;
|
|
63
63
|
g = h.p3;
|
|
@@ -98,25 +98,25 @@ export let Legend = /*@__PURE__*/ (() => {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
get bb() {
|
|
101
|
-
return this.ak.
|
|
101
|
+
return this.ak.l ? 0 : 1;
|
|
102
102
|
}
|
|
103
103
|
set bb(a) {
|
|
104
|
-
this.ak.
|
|
104
|
+
this.ak.l = a == 0;
|
|
105
105
|
}
|
|
106
106
|
be(a) {
|
|
107
107
|
return -1;
|
|
108
108
|
}
|
|
109
109
|
get bh() {
|
|
110
|
-
return this.ak.
|
|
110
|
+
return this.ak.w;
|
|
111
111
|
}
|
|
112
112
|
set bh(a) {
|
|
113
|
-
this.ak.
|
|
113
|
+
this.ak.w = a;
|
|
114
114
|
}
|
|
115
115
|
get bi() {
|
|
116
|
-
return this.ak.
|
|
116
|
+
return this.ak.x;
|
|
117
117
|
}
|
|
118
118
|
set bi(a) {
|
|
119
|
-
this.ak.
|
|
119
|
+
this.ak.x = a;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
Legend.$t = /*@__PURE__*/ markType(Legend, 'Legend', LegendBase.$);
|
|
@@ -129,11 +129,11 @@ export let LegendView = /*@__PURE__*/ (() => {
|
|
|
129
129
|
class LegendView extends LegendBaseView {
|
|
130
130
|
constructor(a) {
|
|
131
131
|
super(a);
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
132
|
+
this.ap = null;
|
|
133
|
+
this.ap = a;
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
super.
|
|
135
|
+
al() {
|
|
136
|
+
super.al();
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
LegendView.$t = /*@__PURE__*/ markType(LegendView, 'LegendView', LegendBaseView.$);
|
|
@@ -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;
|