igniteui-webcomponents-charts 5.0.0 → 5.0.1
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 +279 -240
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +7 -0
- package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
- 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/ScaleLegend_combined.js +82 -82
- package/esm2015/lib/ScatterBase_combined.js +3 -2
- package/esm5/lib/DataLegendContent_combined.js +7 -0
- package/esm5/lib/DataLegendVisualData_combined.js +28 -14
- 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/ScaleLegend_combined.js +82 -82
- package/esm5/lib/ScatterBase_combined.js +3 -2
- package/fesm2015/igniteui-webcomponents-charts.js +276 -241
- package/fesm5/igniteui-webcomponents-charts.js +280 -241
- package/lib/DataLegendVisualData_combined.d.ts +5 -1
- 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/ScaleLegend_combined.d.ts +23 -23
- package/package.json +2 -2
|
@@ -56,7 +56,7 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56
56
|
var a = LegendItemHelper.b;
|
|
57
57
|
if (window.devicePixelRatio != undefined && (isNaN_(a) || window.devicePixelRatio != a)) {
|
|
58
58
|
LegendItemHelper.b = window.devicePixelRatio;
|
|
59
|
-
this.a.
|
|
59
|
+
this.a.am();
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
LegendBaseViewManager.prototype.u = function () {
|
|
@@ -72,7 +72,7 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
72
72
|
}
|
|
73
73
|
this.g = a;
|
|
74
74
|
this.l = this.i();
|
|
75
|
-
this.l.addClass(this.a.
|
|
75
|
+
this.l.addClass(this.a.t);
|
|
76
76
|
this.g.append(this.l);
|
|
77
77
|
};
|
|
78
78
|
LegendBaseViewManager.prototype.i = function () {
|
|
@@ -80,8 +80,8 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
80
80
|
};
|
|
81
81
|
LegendBaseViewManager.prototype.h = function () {
|
|
82
82
|
var a = this.g.createElement("tr");
|
|
83
|
-
a.addClass(this.a.
|
|
84
|
-
var b = this.a.
|
|
83
|
+
a.addClass(this.a.u);
|
|
84
|
+
var b = this.a.l;
|
|
85
85
|
if (b) {
|
|
86
86
|
a.setStyleProperty("display", "block");
|
|
87
87
|
a.setStyleProperty("float", "left");
|
|
@@ -122,14 +122,14 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
122
122
|
c.ah.render(h);
|
|
123
123
|
var i = d.findByClass(".ui-legend-item-badge");
|
|
124
124
|
for (var j = 0; j < i.length; j++) {
|
|
125
|
-
i[j].removeClass("ui-legend-item-badge").addClass(this.a.
|
|
125
|
+
i[j].removeClass("ui-legend-item-badge").addClass(this.a.s);
|
|
126
126
|
}
|
|
127
127
|
i = d.findByClass(".ui-legend-item-text");
|
|
128
128
|
for (var k = 0; k < i.length; k++) {
|
|
129
|
-
if (this.a.
|
|
129
|
+
if (this.a.l) {
|
|
130
130
|
i[k].setStyleProperty("white-space", "nowrap");
|
|
131
131
|
}
|
|
132
|
-
i[k].removeClass("ui-legend-item-text").addClass(this.a.
|
|
132
|
+
i[k].removeClass("ui-legend-item-text").addClass(this.a.v);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -137,10 +137,10 @@ var LegendBaseViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
137
137
|
};
|
|
138
138
|
LegendBaseViewManager.prototype.o = function (a, b) {
|
|
139
139
|
var c = this.k(a, this.l);
|
|
140
|
-
c.listen("mouseup", runOn(this.a, this.a.
|
|
141
|
-
c.listen("mousedown", runOn(this.a, this.a.
|
|
142
|
-
c.listen("mouseleave", runOn(this.a, this.a.
|
|
143
|
-
c.listen("mousemove", runOn(this.a, this.a.
|
|
140
|
+
c.listen("mouseup", runOn(this.a, this.a.af));
|
|
141
|
+
c.listen("mousedown", runOn(this.a, this.a.ac));
|
|
142
|
+
c.listen("mouseleave", runOn(this.a, this.a.ad));
|
|
143
|
+
c.listen("mousemove", runOn(this.a, this.a.ae));
|
|
144
144
|
this.f.addItem(a, c);
|
|
145
145
|
if ((this.l.getChildCount() == 0) || (b >= this.l.getChildCount())) {
|
|
146
146
|
this.l.append(c);
|
|
@@ -316,7 +316,7 @@ var LegendBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
316
316
|
_this.legendItemMouseMove = null;
|
|
317
317
|
var a = _this.aj();
|
|
318
318
|
_this.a8(a);
|
|
319
|
-
a.
|
|
319
|
+
a.al();
|
|
320
320
|
_this.at = new ObservableCollection$1(UIElement.$, 0);
|
|
321
321
|
_this.aw = "ig-chart-legend-items-list";
|
|
322
322
|
_this.ax = "ig-chart-legend-item";
|
|
@@ -325,10 +325,10 @@ var LegendBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
325
325
|
return _this;
|
|
326
326
|
}
|
|
327
327
|
LegendBase.prototype.onDetachedFromUI = function () {
|
|
328
|
-
this.ak.
|
|
328
|
+
this.ak.ak();
|
|
329
329
|
};
|
|
330
330
|
LegendBase.prototype.onAttachedToUI = function () {
|
|
331
|
-
this.ak.
|
|
331
|
+
this.ak.ai();
|
|
332
332
|
};
|
|
333
333
|
LegendBase.prototype.aj = function () {
|
|
334
334
|
return new LegendBaseView(this);
|
|
@@ -498,50 +498,50 @@ var LegendBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
498
498
|
}
|
|
499
499
|
};
|
|
500
500
|
LegendBase.prototype.provideContainer = function (a) {
|
|
501
|
-
this.ak.
|
|
501
|
+
this.ak.aj(a);
|
|
502
502
|
};
|
|
503
503
|
Object.defineProperty(LegendBase.prototype, "aw", {
|
|
504
504
|
get: function () {
|
|
505
|
-
return this.ak.
|
|
505
|
+
return this.ak.t;
|
|
506
506
|
},
|
|
507
507
|
set: function (a) {
|
|
508
|
-
this.ak.
|
|
508
|
+
this.ak.t = a;
|
|
509
509
|
},
|
|
510
510
|
enumerable: false,
|
|
511
511
|
configurable: true
|
|
512
512
|
});
|
|
513
513
|
Object.defineProperty(LegendBase.prototype, "ax", {
|
|
514
514
|
get: function () {
|
|
515
|
-
return this.ak.
|
|
515
|
+
return this.ak.u;
|
|
516
516
|
},
|
|
517
517
|
set: function (a) {
|
|
518
|
-
this.ak.
|
|
518
|
+
this.ak.u = a;
|
|
519
519
|
},
|
|
520
520
|
enumerable: false,
|
|
521
521
|
configurable: true
|
|
522
522
|
});
|
|
523
523
|
Object.defineProperty(LegendBase.prototype, "av", {
|
|
524
524
|
get: function () {
|
|
525
|
-
return this.ak.
|
|
525
|
+
return this.ak.s;
|
|
526
526
|
},
|
|
527
527
|
set: function (a) {
|
|
528
|
-
this.ak.
|
|
528
|
+
this.ak.s = a;
|
|
529
529
|
},
|
|
530
530
|
enumerable: false,
|
|
531
531
|
configurable: true
|
|
532
532
|
});
|
|
533
533
|
Object.defineProperty(LegendBase.prototype, "ay", {
|
|
534
534
|
get: function () {
|
|
535
|
-
return this.ak.
|
|
535
|
+
return this.ak.v;
|
|
536
536
|
},
|
|
537
537
|
set: function (a) {
|
|
538
|
-
this.ak.
|
|
538
|
+
this.ak.v = a;
|
|
539
539
|
},
|
|
540
540
|
enumerable: false,
|
|
541
541
|
configurable: true
|
|
542
542
|
});
|
|
543
543
|
LegendBase.prototype.exportVisualData = function () {
|
|
544
|
-
return this.ak.
|
|
544
|
+
return this.ak.g();
|
|
545
545
|
};
|
|
546
546
|
LegendBase.prototype.exportSerializedVisualData = function () {
|
|
547
547
|
var a = this.exportVisualData();
|
|
@@ -568,44 +568,44 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
568
568
|
__extends(LegendBaseView, _super);
|
|
569
569
|
function LegendBaseView(a) {
|
|
570
570
|
var _this = _super.call(this) || this;
|
|
571
|
+
_this.d = null;
|
|
571
572
|
_this.c = null;
|
|
572
|
-
_this.b = null;
|
|
573
|
-
_this.s = null;
|
|
574
573
|
_this.t = null;
|
|
575
|
-
_this.r = null;
|
|
576
574
|
_this.u = null;
|
|
577
|
-
_this.
|
|
578
|
-
_this.
|
|
579
|
-
_this.
|
|
575
|
+
_this.s = null;
|
|
576
|
+
_this.v = null;
|
|
577
|
+
_this.m = false;
|
|
578
|
+
_this.j = false;
|
|
580
579
|
_this.q = null;
|
|
581
|
-
_this.
|
|
582
|
-
_this.c =
|
|
583
|
-
_this.
|
|
580
|
+
_this.r = null;
|
|
581
|
+
_this.c = a;
|
|
582
|
+
_this.d = new LegendBaseViewManager(_this);
|
|
583
|
+
_this.d.p();
|
|
584
584
|
return _this;
|
|
585
585
|
}
|
|
586
|
-
LegendBaseView.prototype.
|
|
587
|
-
this.
|
|
586
|
+
LegendBaseView.prototype.ak = function () {
|
|
587
|
+
this.d.u();
|
|
588
588
|
};
|
|
589
|
-
LegendBaseView.prototype.
|
|
590
|
-
this.
|
|
589
|
+
LegendBaseView.prototype.ai = function () {
|
|
590
|
+
this.d.s();
|
|
591
591
|
};
|
|
592
|
-
LegendBaseView.prototype.
|
|
592
|
+
LegendBaseView.prototype.al = function () {
|
|
593
593
|
};
|
|
594
|
-
LegendBaseView.prototype.
|
|
594
|
+
LegendBaseView.prototype.get_k = function () {
|
|
595
595
|
return false;
|
|
596
596
|
};
|
|
597
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
597
|
+
Object.defineProperty(LegendBaseView.prototype, "k", {
|
|
598
598
|
get: function () {
|
|
599
|
-
return this.
|
|
599
|
+
return this.get_k();
|
|
600
600
|
},
|
|
601
601
|
enumerable: false,
|
|
602
602
|
configurable: true
|
|
603
603
|
});
|
|
604
|
-
LegendBaseView.prototype.
|
|
604
|
+
LegendBaseView.prototype.e = function (a) {
|
|
605
605
|
var b;
|
|
606
606
|
var c;
|
|
607
607
|
var d;
|
|
608
|
-
var e = this.
|
|
608
|
+
var e = this.ab(a, b, c, d);
|
|
609
609
|
b = e.p1;
|
|
610
610
|
c = e.p2;
|
|
611
611
|
d = e.p3;
|
|
@@ -613,11 +613,11 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
613
613
|
var g = new LegendMouseButtonEventArgs(b, c, d, f, a);
|
|
614
614
|
return g;
|
|
615
615
|
};
|
|
616
|
-
LegendBaseView.prototype.
|
|
616
|
+
LegendBaseView.prototype.f = function (a) {
|
|
617
617
|
var b;
|
|
618
618
|
var c;
|
|
619
619
|
var d;
|
|
620
|
-
var e = this.
|
|
620
|
+
var e = this.ab(a, b, c, d);
|
|
621
621
|
b = e.p1;
|
|
622
622
|
c = e.p2;
|
|
623
623
|
d = e.p3;
|
|
@@ -625,8 +625,8 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
625
625
|
var g = new LegendMouseEventArgs(b, c, d, f, a);
|
|
626
626
|
return g;
|
|
627
627
|
};
|
|
628
|
-
LegendBaseView.prototype.
|
|
629
|
-
b = this.
|
|
628
|
+
LegendBaseView.prototype.ab = function (a, b, c, d) {
|
|
629
|
+
b = this.c.ai;
|
|
630
630
|
c = null;
|
|
631
631
|
d = null;
|
|
632
632
|
if (a != null) {
|
|
@@ -646,93 +646,93 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
646
646
|
p3: d
|
|
647
647
|
};
|
|
648
648
|
};
|
|
649
|
-
LegendBaseView.prototype.
|
|
649
|
+
LegendBaseView.prototype.aa = function () {
|
|
650
650
|
};
|
|
651
|
-
LegendBaseView.prototype.
|
|
651
|
+
LegendBaseView.prototype.n = function () {
|
|
652
652
|
return true;
|
|
653
653
|
};
|
|
654
|
-
LegendBaseView.prototype.
|
|
655
|
-
};
|
|
656
|
-
LegendBaseView.prototype.am = function (a) {
|
|
657
|
-
};
|
|
658
|
-
LegendBaseView.prototype.ai = function (a) {
|
|
659
|
-
this.c.t(a);
|
|
654
|
+
LegendBaseView.prototype.z = function (a) {
|
|
660
655
|
};
|
|
661
656
|
LegendBaseView.prototype.an = function (a) {
|
|
662
|
-
this.c.x(a);
|
|
663
657
|
};
|
|
664
|
-
LegendBaseView.prototype.
|
|
665
|
-
|
|
666
|
-
this.c.o(a, b);
|
|
658
|
+
LegendBaseView.prototype.aj = function (a) {
|
|
659
|
+
this.d.t(a);
|
|
667
660
|
};
|
|
668
|
-
LegendBaseView.prototype.
|
|
669
|
-
this.
|
|
661
|
+
LegendBaseView.prototype.ao = function (a) {
|
|
662
|
+
this.d.x(a);
|
|
663
|
+
};
|
|
664
|
+
LegendBaseView.prototype.y = function (a) {
|
|
665
|
+
var b = this.c.at.indexOf(a);
|
|
666
|
+
this.d.o(a, b);
|
|
670
667
|
};
|
|
671
668
|
LegendBaseView.prototype.ag = function () {
|
|
672
|
-
this.
|
|
669
|
+
this.d.q();
|
|
673
670
|
};
|
|
674
|
-
|
|
671
|
+
LegendBaseView.prototype.ah = function () {
|
|
672
|
+
this.d.r();
|
|
673
|
+
};
|
|
674
|
+
Object.defineProperty(LegendBaseView.prototype, "l", {
|
|
675
675
|
get: function () {
|
|
676
|
-
return this.
|
|
676
|
+
return this.j;
|
|
677
677
|
},
|
|
678
678
|
set: function (a) {
|
|
679
|
-
this.
|
|
680
|
-
this.
|
|
679
|
+
this.j = a;
|
|
680
|
+
this.d.v(this.j);
|
|
681
681
|
},
|
|
682
682
|
enumerable: false,
|
|
683
683
|
configurable: true
|
|
684
684
|
});
|
|
685
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
685
|
+
Object.defineProperty(LegendBaseView.prototype, "w", {
|
|
686
686
|
get: function () {
|
|
687
|
-
return this.
|
|
687
|
+
return this.q;
|
|
688
688
|
},
|
|
689
689
|
set: function (a) {
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
690
|
+
this.q = a;
|
|
691
|
+
this.d.z(this.q);
|
|
692
692
|
},
|
|
693
693
|
enumerable: false,
|
|
694
694
|
configurable: true
|
|
695
695
|
});
|
|
696
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
696
|
+
Object.defineProperty(LegendBaseView.prototype, "x", {
|
|
697
697
|
get: function () {
|
|
698
|
-
return this.
|
|
698
|
+
return this.r;
|
|
699
699
|
},
|
|
700
700
|
set: function (a) {
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
701
|
+
this.r = a;
|
|
702
|
+
this.d.aa(this.r);
|
|
703
703
|
},
|
|
704
704
|
enumerable: false,
|
|
705
705
|
configurable: true
|
|
706
706
|
});
|
|
707
|
-
LegendBaseView.prototype.
|
|
708
|
-
this.
|
|
707
|
+
LegendBaseView.prototype.am = function () {
|
|
708
|
+
this.d.p();
|
|
709
709
|
};
|
|
710
|
-
LegendBaseView.prototype.
|
|
710
|
+
LegendBaseView.prototype.o = function (e_) {
|
|
711
711
|
var ev_ = e_.originalEvent;
|
|
712
712
|
return ev_.currentTarget;
|
|
713
713
|
};
|
|
714
|
-
LegendBaseView.prototype.
|
|
715
|
-
return this.
|
|
714
|
+
LegendBaseView.prototype.p = function (e_) {
|
|
715
|
+
return this.d.n(this.o(e_));
|
|
716
|
+
};
|
|
717
|
+
LegendBaseView.prototype.ae = function (a) {
|
|
718
|
+
if (!this.m) {
|
|
719
|
+
this.c.a3(this.f(this.p(a)));
|
|
720
|
+
}
|
|
721
|
+
this.m = true;
|
|
716
722
|
};
|
|
717
723
|
LegendBaseView.prototype.ad = function (a) {
|
|
718
|
-
if (
|
|
719
|
-
this.
|
|
724
|
+
if (this.m) {
|
|
725
|
+
this.c.a4(this.f(this.p(a)));
|
|
720
726
|
}
|
|
721
|
-
this.
|
|
727
|
+
this.m = false;
|
|
722
728
|
};
|
|
723
729
|
LegendBaseView.prototype.ac = function (a) {
|
|
724
|
-
|
|
725
|
-
this.b.a4(this.e(this.o(a)));
|
|
726
|
-
}
|
|
727
|
-
this.l = false;
|
|
730
|
+
this.c.a5(this.e(this.p(a)));
|
|
728
731
|
};
|
|
729
|
-
LegendBaseView.prototype.
|
|
730
|
-
this.
|
|
732
|
+
LegendBaseView.prototype.af = function (a) {
|
|
733
|
+
this.c.a6(this.e(this.p(a)));
|
|
731
734
|
};
|
|
732
|
-
LegendBaseView.prototype.
|
|
733
|
-
this.b.a6(this.d(this.o(a)));
|
|
734
|
-
};
|
|
735
|
-
LegendBaseView.prototype.h = function (a) {
|
|
735
|
+
LegendBaseView.prototype.i = function (a) {
|
|
736
736
|
var b = a.querySelectorAll("span *");
|
|
737
737
|
var c = Rect.empty;
|
|
738
738
|
for (var e = 0; e < b.length; e++) {
|
|
@@ -746,16 +746,16 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
746
746
|
}
|
|
747
747
|
return RectData.b(c);
|
|
748
748
|
};
|
|
749
|
-
LegendBaseView.prototype.
|
|
749
|
+
LegendBaseView.prototype.h = function (a) {
|
|
750
750
|
var b = a.querySelectorAll("canvas");
|
|
751
751
|
var c = b.length > 0 ? b[0] : null;
|
|
752
752
|
return c != null ? new RectData(c.getOffset().left, c.getOffset().top, c.width(), c.height()) : null;
|
|
753
753
|
};
|
|
754
754
|
LegendBaseView.prototype.a = function (a) {
|
|
755
|
-
if (this.
|
|
755
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
756
756
|
return null;
|
|
757
757
|
}
|
|
758
|
-
var b = this.
|
|
758
|
+
var b = this.c.at._inner[a];
|
|
759
759
|
if (b == null) {
|
|
760
760
|
return null;
|
|
761
761
|
}
|
|
@@ -766,9 +766,24 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
766
766
|
var d = c.actualItemBrush != null ? c.actualItemBrush : c.itemBrush;
|
|
767
767
|
return AppearanceHelper.b(d);
|
|
768
768
|
};
|
|
769
|
-
LegendBaseView.prototype.
|
|
769
|
+
LegendBaseView.prototype.b = function (a) {
|
|
770
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
771
|
+
return null;
|
|
772
|
+
}
|
|
773
|
+
var b = this.c.at._inner[a];
|
|
774
|
+
if (b == null) {
|
|
775
|
+
return null;
|
|
776
|
+
}
|
|
777
|
+
var c = b.content;
|
|
778
|
+
if (c == null) {
|
|
779
|
+
return null;
|
|
780
|
+
}
|
|
781
|
+
var d = c.outline;
|
|
782
|
+
return AppearanceHelper.b(d);
|
|
783
|
+
};
|
|
784
|
+
LegendBaseView.prototype.g = function () {
|
|
770
785
|
var a = new LegendVisualData();
|
|
771
|
-
var b = this.
|
|
786
|
+
var b = this.d.l;
|
|
772
787
|
var c = b.getChildCount();
|
|
773
788
|
for (var d = 0; d < c; d++) {
|
|
774
789
|
var e = new LegendItemVisualData();
|
|
@@ -776,12 +791,15 @@ var LegendBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
776
791
|
e.label = f.getText();
|
|
777
792
|
e.label = e.label != null ? e.label.trim() : null;
|
|
778
793
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
779
|
-
e.labelBounds = this.
|
|
780
|
-
e.badgeBounds = this.
|
|
794
|
+
e.labelBounds = this.i(f);
|
|
795
|
+
e.badgeBounds = this.h(f);
|
|
796
|
+
e.appearance.fill = this.a(d);
|
|
797
|
+
e.appearance.stroke = this.b(d);
|
|
781
798
|
a.items.add(e);
|
|
782
799
|
}
|
|
783
|
-
for (var g = 0; g < this.
|
|
800
|
+
for (var g = 0; g < this.c.at.count; g++) {
|
|
784
801
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
802
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
785
803
|
}
|
|
786
804
|
return a;
|
|
787
805
|
};
|
|
@@ -26,7 +26,7 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26
26
|
try {
|
|
27
27
|
for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
28
28
|
var c = _d.value;
|
|
29
|
-
_this.bc.
|
|
29
|
+
_this.bc.ao(c);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
catch (e_1_1) {
|
|
@@ -47,7 +47,7 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
47
47
|
try {
|
|
48
48
|
for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
49
49
|
var d = _f.value;
|
|
50
|
-
_this.bc.
|
|
50
|
+
_this.bc.y(d);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
catch (e_2_1) {
|
|
@@ -95,7 +95,7 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
95
|
var e = void 0;
|
|
96
96
|
var f = void 0;
|
|
97
97
|
var g = void 0;
|
|
98
|
-
var h = this.ak.
|
|
98
|
+
var h = this.ak.ab(d, e, f, g);
|
|
99
99
|
e = h.p1;
|
|
100
100
|
f = h.p2;
|
|
101
101
|
g = h.p3;
|
|
@@ -151,10 +151,10 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
151
151
|
};
|
|
152
152
|
Object.defineProperty(Legend.prototype, "bb", {
|
|
153
153
|
get: function () {
|
|
154
|
-
return this.ak.
|
|
154
|
+
return this.ak.l ? 0 : 1;
|
|
155
155
|
},
|
|
156
156
|
set: function (a) {
|
|
157
|
-
this.ak.
|
|
157
|
+
this.ak.l = a == 0;
|
|
158
158
|
},
|
|
159
159
|
enumerable: false,
|
|
160
160
|
configurable: true
|
|
@@ -164,20 +164,20 @@ var Legend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164
164
|
};
|
|
165
165
|
Object.defineProperty(Legend.prototype, "bh", {
|
|
166
166
|
get: function () {
|
|
167
|
-
return this.ak.
|
|
167
|
+
return this.ak.w;
|
|
168
168
|
},
|
|
169
169
|
set: function (a) {
|
|
170
|
-
this.ak.
|
|
170
|
+
this.ak.w = a;
|
|
171
171
|
},
|
|
172
172
|
enumerable: false,
|
|
173
173
|
configurable: true
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(Legend.prototype, "bi", {
|
|
176
176
|
get: function () {
|
|
177
|
-
return this.ak.
|
|
177
|
+
return this.ak.x;
|
|
178
178
|
},
|
|
179
179
|
set: function (a) {
|
|
180
|
-
this.ak.
|
|
180
|
+
this.ak.x = a;
|
|
181
181
|
},
|
|
182
182
|
enumerable: false,
|
|
183
183
|
configurable: true
|
|
@@ -193,12 +193,12 @@ var LegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
193
193
|
__extends(LegendView, _super);
|
|
194
194
|
function LegendView(a) {
|
|
195
195
|
var _this = _super.call(this, a) || this;
|
|
196
|
-
_this.
|
|
197
|
-
_this.
|
|
196
|
+
_this.ap = null;
|
|
197
|
+
_this.ap = a;
|
|
198
198
|
return _this;
|
|
199
199
|
}
|
|
200
|
-
LegendView.prototype.
|
|
201
|
-
_super.prototype.
|
|
200
|
+
LegendView.prototype.al = function () {
|
|
201
|
+
_super.prototype.al.call(this);
|
|
202
202
|
};
|
|
203
203
|
LegendView.$t = markType(LegendView, 'LegendView', LegendBaseView.$);
|
|
204
204
|
return LegendView;
|