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
package/esm5/lib/DataPieChart.js
CHANGED
|
@@ -28,14 +28,14 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
__extends(DataPieChart, _super);
|
|
29
29
|
function DataPieChart() {
|
|
30
30
|
var _this = _super.call(this) || this;
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
33
|
-
_this.
|
|
34
|
-
_this.
|
|
35
|
-
_this.
|
|
36
|
-
_this.
|
|
37
|
-
_this.
|
|
38
|
-
_this.
|
|
31
|
+
_this.akf = 1000;
|
|
32
|
+
_this.akg = 1000;
|
|
33
|
+
_this.aj9 = null;
|
|
34
|
+
_this.aka = null;
|
|
35
|
+
_this.aj5 = 0;
|
|
36
|
+
_this.akd = true;
|
|
37
|
+
_this.aj3 = 0;
|
|
38
|
+
_this.aj7 = 3;
|
|
39
39
|
_this.ue();
|
|
40
40
|
return _this;
|
|
41
41
|
}
|
|
@@ -73,7 +73,7 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
73
73
|
this.he = false;
|
|
74
74
|
this.b3 = 1;
|
|
75
75
|
this.bz = 11;
|
|
76
|
-
this.
|
|
76
|
+
this.ake = true;
|
|
77
77
|
this.xq = BrushUtil.h(255, 255, 255, 255);
|
|
78
78
|
this.jl = DeviceUtils.g(2);
|
|
79
79
|
this.gm = true;
|
|
@@ -84,86 +84,86 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
84
84
|
};
|
|
85
85
|
DataPieChart.prototype.uz = function (a, b) {
|
|
86
86
|
_super.prototype.uz.call(this, a, b);
|
|
87
|
-
a.kc = this.
|
|
88
|
-
a.kd = this.
|
|
89
|
-
a.dc = this.
|
|
90
|
-
a.dd = this.
|
|
87
|
+
a.kc = this.akh;
|
|
88
|
+
a.kd = this.aki;
|
|
89
|
+
a.dc = this.akb;
|
|
90
|
+
a.dd = this.akc;
|
|
91
91
|
};
|
|
92
92
|
DataPieChart.prototype.vo = function (a, b, c) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
_super.prototype.vo.call(this, a, b, c);
|
|
95
95
|
switch (a) {
|
|
96
96
|
case "TransitionInDuration":
|
|
97
|
-
this.um(function (d) { return d.kc = _this.
|
|
97
|
+
this.um(function (d) { return d.kc = _this.akh; });
|
|
98
98
|
break;
|
|
99
99
|
case "TransitionOutDuration":
|
|
100
|
-
this.um(function (d) { return d.kd = _this.
|
|
100
|
+
this.um(function (d) { return d.kd = _this.aki; });
|
|
101
101
|
break;
|
|
102
102
|
case "TransitionInEasingFunction":
|
|
103
|
-
this.um(function (d) { return d.dc = _this.
|
|
103
|
+
this.um(function (d) { return d.dc = _this.akb; });
|
|
104
104
|
break;
|
|
105
105
|
case "TransitionOutEasingFunction":
|
|
106
|
-
this.um(function (d) { return d.dd = _this.
|
|
106
|
+
this.um(function (d) { return d.dd = _this.akc; });
|
|
107
107
|
break;
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
110
|
+
Object.defineProperty(DataPieChart.prototype, "akh", {
|
|
111
111
|
get: function () {
|
|
112
|
-
return this.
|
|
112
|
+
return this.akf;
|
|
113
113
|
},
|
|
114
114
|
set: function (a) {
|
|
115
|
-
var b = this.
|
|
115
|
+
var b = this.akh;
|
|
116
116
|
if (a != b) {
|
|
117
|
-
this.
|
|
118
|
-
this.vl("TransitionInDuration", b, this.
|
|
117
|
+
this.akf = a;
|
|
118
|
+
this.vl("TransitionInDuration", b, this.akh);
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
enumerable: false,
|
|
122
122
|
configurable: true
|
|
123
123
|
});
|
|
124
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
124
|
+
Object.defineProperty(DataPieChart.prototype, "aki", {
|
|
125
125
|
get: function () {
|
|
126
|
-
return this.
|
|
126
|
+
return this.akg;
|
|
127
127
|
},
|
|
128
128
|
set: function (a) {
|
|
129
|
-
var b = this.
|
|
129
|
+
var b = this.aki;
|
|
130
130
|
if (a != b) {
|
|
131
|
-
this.
|
|
132
|
-
this.vl("TransitionOutDuration", b, this.
|
|
131
|
+
this.akg = a;
|
|
132
|
+
this.vl("TransitionOutDuration", b, this.aki);
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
enumerable: false,
|
|
136
136
|
configurable: true
|
|
137
137
|
});
|
|
138
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
138
|
+
Object.defineProperty(DataPieChart.prototype, "akb", {
|
|
139
139
|
get: function () {
|
|
140
|
-
return this.
|
|
140
|
+
return this.aj9;
|
|
141
141
|
},
|
|
142
142
|
set: function (a) {
|
|
143
|
-
var b = this.
|
|
143
|
+
var b = this.akb;
|
|
144
144
|
if (a != b) {
|
|
145
|
-
this.
|
|
146
|
-
this.vl("TransitionInEasingFunction", b, this.
|
|
145
|
+
this.aj9 = a;
|
|
146
|
+
this.vl("TransitionInEasingFunction", b, this.akb);
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
149
|
enumerable: false,
|
|
150
150
|
configurable: true
|
|
151
151
|
});
|
|
152
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
152
|
+
Object.defineProperty(DataPieChart.prototype, "akc", {
|
|
153
153
|
get: function () {
|
|
154
|
-
return this.
|
|
154
|
+
return this.aka;
|
|
155
155
|
},
|
|
156
156
|
set: function (a) {
|
|
157
|
-
var b = this.
|
|
157
|
+
var b = this.akc;
|
|
158
158
|
if (a != b) {
|
|
159
|
-
this.
|
|
160
|
-
this.vl("TransitionOutEasingFunction", b, this.
|
|
159
|
+
this.aka = a;
|
|
160
|
+
this.vl("TransitionOutEasingFunction", b, this.akc);
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
enumerable: false,
|
|
164
164
|
configurable: true
|
|
165
165
|
});
|
|
166
|
-
DataPieChart.prototype.
|
|
166
|
+
DataPieChart.prototype.akk = function () {
|
|
167
167
|
var cvd_ = this.lv();
|
|
168
168
|
cvd_.scaleByViewport();
|
|
169
169
|
return (cvd_.serialize());
|
|
@@ -197,14 +197,14 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
197
197
|
enumerable: false,
|
|
198
198
|
configurable: true
|
|
199
199
|
});
|
|
200
|
-
DataPieChart.prototype.
|
|
200
|
+
DataPieChart.prototype.get_ahf = function () {
|
|
201
201
|
return false;
|
|
202
202
|
};
|
|
203
203
|
DataPieChart.prototype.bi = function (a) {
|
|
204
|
-
if (this.
|
|
204
|
+
if (this.aj6 == 0) {
|
|
205
205
|
return a.suggestedSeries;
|
|
206
206
|
}
|
|
207
|
-
if (this.
|
|
207
|
+
if (this.aj6 == 1) {
|
|
208
208
|
return 34;
|
|
209
209
|
}
|
|
210
210
|
return 34;
|
|
@@ -222,9 +222,9 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
222
222
|
if (c == null) {
|
|
223
223
|
return;
|
|
224
224
|
}
|
|
225
|
-
c.zk = this.
|
|
226
|
-
c.yu = this.
|
|
227
|
-
c.c3 = this.
|
|
225
|
+
c.zk = this.ake;
|
|
226
|
+
c.yu = this.aj4;
|
|
227
|
+
c.c3 = this.aj8;
|
|
228
228
|
};
|
|
229
229
|
DataPieChart.prototype.t3 = function (a, b) {
|
|
230
230
|
_super.prototype.t3.call(this, a, b);
|
|
@@ -254,57 +254,57 @@ var DataPieChart = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
254
254
|
enumerable: false,
|
|
255
255
|
configurable: true
|
|
256
256
|
});
|
|
257
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
257
|
+
Object.defineProperty(DataPieChart.prototype, "aj6", {
|
|
258
258
|
get: function () {
|
|
259
|
-
return this.
|
|
259
|
+
return this.aj5;
|
|
260
260
|
},
|
|
261
261
|
set: function (a) {
|
|
262
|
-
if (a != this.
|
|
263
|
-
var b = this.
|
|
264
|
-
this.
|
|
265
|
-
this.vl("ChartType", enumGetBox(DataPieChartType_$type, b), enumGetBox(DataPieChartType_$type, this.
|
|
262
|
+
if (a != this.aj5) {
|
|
263
|
+
var b = this.aj6;
|
|
264
|
+
this.aj5 = a;
|
|
265
|
+
this.vl("ChartType", enumGetBox(DataPieChartType_$type, b), enumGetBox(DataPieChartType_$type, this.aj6));
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
enumerable: false,
|
|
269
269
|
configurable: true
|
|
270
270
|
});
|
|
271
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
271
|
+
Object.defineProperty(DataPieChart.prototype, "ake", {
|
|
272
272
|
get: function () {
|
|
273
|
-
return this.
|
|
273
|
+
return this.akd;
|
|
274
274
|
},
|
|
275
275
|
set: function (a) {
|
|
276
|
-
var b = this.
|
|
276
|
+
var b = this.ake;
|
|
277
277
|
if (a != b) {
|
|
278
|
-
this.
|
|
279
|
-
this.vl("IsTransitionInEnabled", b, this.
|
|
278
|
+
this.akd = a;
|
|
279
|
+
this.vl("IsTransitionInEnabled", b, this.ake);
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
enumerable: false,
|
|
283
283
|
configurable: true
|
|
284
284
|
});
|
|
285
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
285
|
+
Object.defineProperty(DataPieChart.prototype, "aj4", {
|
|
286
286
|
get: function () {
|
|
287
|
-
return this.
|
|
287
|
+
return this.aj3;
|
|
288
288
|
},
|
|
289
289
|
set: function (a) {
|
|
290
|
-
var b = this.
|
|
290
|
+
var b = this.aj4;
|
|
291
291
|
if (a != b) {
|
|
292
|
-
this.
|
|
293
|
-
this.vl("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.
|
|
292
|
+
this.aj3 = a;
|
|
293
|
+
this.vl("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.aj4));
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
enumerable: false,
|
|
297
297
|
configurable: true
|
|
298
298
|
});
|
|
299
|
-
Object.defineProperty(DataPieChart.prototype, "
|
|
299
|
+
Object.defineProperty(DataPieChart.prototype, "aj8", {
|
|
300
300
|
get: function () {
|
|
301
|
-
return this.
|
|
301
|
+
return this.aj7;
|
|
302
302
|
},
|
|
303
303
|
set: function (a) {
|
|
304
|
-
var b = this.
|
|
304
|
+
var b = this.aj8;
|
|
305
305
|
if (a != b) {
|
|
306
|
-
this.
|
|
307
|
-
this.vl("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.
|
|
306
|
+
this.aj7 = a;
|
|
307
|
+
this.vl("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.aj8));
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
310
|
enumerable: false,
|
|
@@ -24,7 +24,7 @@ var FinancialLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24
24
|
try {
|
|
25
25
|
for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
26
26
|
var c = _d.value;
|
|
27
|
-
_this.bb.
|
|
27
|
+
_this.bb.ao(c);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
catch (e_1_1) {
|
|
@@ -45,7 +45,7 @@ var FinancialLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
45
45
|
try {
|
|
46
46
|
for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
47
47
|
var d = _f.value;
|
|
48
|
-
_this.bb.
|
|
48
|
+
_this.bb.y(d);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
catch (e_2_1) {
|
|
@@ -92,7 +92,7 @@ var FinancialLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
92
92
|
__extends(FinancialLegendView, _super);
|
|
93
93
|
function FinancialLegendView(a) {
|
|
94
94
|
var _this = _super.call(this, a) || this;
|
|
95
|
-
_this.
|
|
95
|
+
_this.d = new FinancialLegendViewManager(_this);
|
|
96
96
|
return _this;
|
|
97
97
|
}
|
|
98
98
|
FinancialLegendView.$t = markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
|
|
@@ -35,7 +35,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
35
35
|
try {
|
|
36
36
|
for (var _c = __values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
37
37
|
var c = _d.value;
|
|
38
|
-
_this.bb.
|
|
38
|
+
_this.bb.ao(c);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
catch (e_1_1) {
|
|
@@ -56,7 +56,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56
56
|
try {
|
|
57
57
|
for (var _e = __values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
58
58
|
var d = _f.value;
|
|
59
|
-
_this.bb.
|
|
59
|
+
_this.bb.y(d);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
catch (e_2_1) {
|
|
@@ -84,7 +84,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
84
84
|
this.bb = a;
|
|
85
85
|
};
|
|
86
86
|
ItemLegend.prototype.addChildInOrder = function (a, b) {
|
|
87
|
-
if (!this.ak.
|
|
87
|
+
if (!this.ak.n()) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
90
|
this.bl(b);
|
|
@@ -97,7 +97,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
97
97
|
};
|
|
98
98
|
ItemLegend.prototype.a0 = function (a, b) {
|
|
99
99
|
var e_3, _a;
|
|
100
|
-
this.ak.
|
|
100
|
+
this.ak.ag();
|
|
101
101
|
this.clearLegendItemsForSeries(b);
|
|
102
102
|
if (b == null || a == null || a.count == 0) {
|
|
103
103
|
return;
|
|
@@ -137,14 +137,14 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
137
137
|
throw e_3.error;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
this.ak.
|
|
140
|
+
this.ak.ah();
|
|
141
141
|
};
|
|
142
142
|
ItemLegend.prototype.createLegendItemsInsert = function (a, b) {
|
|
143
143
|
this.bk(a, b);
|
|
144
144
|
};
|
|
145
145
|
ItemLegend.prototype.bk = function (a, b) {
|
|
146
146
|
var e_4, _a;
|
|
147
|
-
this.ak.
|
|
147
|
+
this.ak.ag();
|
|
148
148
|
try {
|
|
149
149
|
var c = this.bf(b);
|
|
150
150
|
if (b == null || a == null || a.count == 0) {
|
|
@@ -183,7 +183,7 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
finally {
|
|
186
|
-
this.ak.
|
|
186
|
+
this.ak.ah();
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
ItemLegend.prototype.renderItemwiseContent = function (a) {
|
|
@@ -312,34 +312,34 @@ var ItemLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
312
312
|
return c;
|
|
313
313
|
};
|
|
314
314
|
ItemLegend.prototype.be = function (a) {
|
|
315
|
-
return this.bb.
|
|
315
|
+
return this.bb.aq(a);
|
|
316
316
|
};
|
|
317
317
|
Object.defineProperty(ItemLegend.prototype, "bc", {
|
|
318
318
|
get: function () {
|
|
319
|
-
return this.ak.
|
|
319
|
+
return this.ak.l ? 0 : 1;
|
|
320
320
|
},
|
|
321
321
|
set: function (a) {
|
|
322
|
-
this.ak.
|
|
322
|
+
this.ak.l = a == 0;
|
|
323
323
|
},
|
|
324
324
|
enumerable: false,
|
|
325
325
|
configurable: true
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(ItemLegend.prototype, "bi", {
|
|
328
328
|
get: function () {
|
|
329
|
-
return this.ak.
|
|
329
|
+
return this.ak.w;
|
|
330
330
|
},
|
|
331
331
|
set: function (a) {
|
|
332
|
-
this.ak.
|
|
332
|
+
this.ak.w = a;
|
|
333
333
|
},
|
|
334
334
|
enumerable: false,
|
|
335
335
|
configurable: true
|
|
336
336
|
});
|
|
337
337
|
Object.defineProperty(ItemLegend.prototype, "bj", {
|
|
338
338
|
get: function () {
|
|
339
|
-
return this.ak.
|
|
339
|
+
return this.ak.x;
|
|
340
340
|
},
|
|
341
341
|
set: function (a) {
|
|
342
|
-
this.ak.
|
|
342
|
+
this.ak.x = a;
|
|
343
343
|
},
|
|
344
344
|
enumerable: false,
|
|
345
345
|
configurable: true
|
|
@@ -355,22 +355,22 @@ var ItemLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
355
355
|
__extends(ItemLegendView, _super);
|
|
356
356
|
function ItemLegendView(a) {
|
|
357
357
|
var _this = _super.call(this, a) || this;
|
|
358
|
-
_this.
|
|
359
|
-
_this.
|
|
358
|
+
_this.ap = null;
|
|
359
|
+
_this.ap = a;
|
|
360
360
|
return _this;
|
|
361
361
|
}
|
|
362
|
-
ItemLegendView.prototype.
|
|
363
|
-
_super.prototype.
|
|
362
|
+
ItemLegendView.prototype.al = function () {
|
|
363
|
+
_super.prototype.al.call(this);
|
|
364
364
|
};
|
|
365
|
-
ItemLegendView.prototype.
|
|
365
|
+
ItemLegendView.prototype.get_k = function () {
|
|
366
366
|
return true;
|
|
367
367
|
};
|
|
368
|
-
ItemLegendView.prototype.
|
|
369
|
-
return this.
|
|
368
|
+
ItemLegendView.prototype.aq = function (a) {
|
|
369
|
+
return this.d.e(a);
|
|
370
370
|
};
|
|
371
|
-
ItemLegendView.prototype.
|
|
371
|
+
ItemLegendView.prototype.g = function () {
|
|
372
372
|
var a = new LegendVisualData();
|
|
373
|
-
var b = this.
|
|
373
|
+
var b = this.d.g.rootWrapper;
|
|
374
374
|
b = b.getChildAt(0);
|
|
375
375
|
var c = b.getChildCount();
|
|
376
376
|
for (var d = 0; d < c; d++) {
|
|
@@ -379,13 +379,14 @@ var ItemLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
379
379
|
e.label = f.getText();
|
|
380
380
|
e.label = e.label != null ? e.label.trim() : null;
|
|
381
381
|
e.bounds = new RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
382
|
-
e.labelBounds = this.
|
|
383
|
-
e.badgeBounds = this.
|
|
382
|
+
e.labelBounds = this.i(f);
|
|
383
|
+
e.badgeBounds = this.h(f);
|
|
384
384
|
a.items.add(e);
|
|
385
385
|
}
|
|
386
386
|
if (c == a.items.count) {
|
|
387
387
|
for (var g = 0; g < c; g++) {
|
|
388
388
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
389
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
392
|
return a;
|