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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { PieChartSweepDirection_$type } from "./PieChartSweepDirection";
|
|
3
3
|
import { CalloutCollisionMode_$type } from "igniteui-webcomponents-core";
|
|
4
|
+
import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
|
|
4
5
|
import { OthersCategoryType_$type } from "igniteui-webcomponents-core";
|
|
5
6
|
import { AxisRangeBufferMode_$type } from "./AxisRangeBufferMode";
|
|
6
7
|
import { RadialLabelMode_$type } from "igniteui-webcomponents-core";
|
|
@@ -67,10 +68,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
67
68
|
* Gets or sets the label format for the slices.
|
|
68
69
|
*/
|
|
69
70
|
get: function () {
|
|
70
|
-
return this.i.
|
|
71
|
+
return this.i.aja;
|
|
71
72
|
},
|
|
72
73
|
set: function (v) {
|
|
73
|
-
this.i.
|
|
74
|
+
this.i.aja = v;
|
|
74
75
|
},
|
|
75
76
|
enumerable: false,
|
|
76
77
|
configurable: true
|
|
@@ -97,10 +98,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
97
98
|
* Gets or sets the label format for the LegendSlices.
|
|
98
99
|
*/
|
|
99
100
|
get: function () {
|
|
100
|
-
return this.i.
|
|
101
|
+
return this.i.aiu;
|
|
101
102
|
},
|
|
102
103
|
set: function (v) {
|
|
103
|
-
this.i.
|
|
104
|
+
this.i.aiu = v;
|
|
104
105
|
},
|
|
105
106
|
enumerable: false,
|
|
106
107
|
configurable: true
|
|
@@ -127,10 +128,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
127
128
|
* Gets or sets the label format for the OthersSlices.
|
|
128
129
|
*/
|
|
129
130
|
get: function () {
|
|
130
|
-
return this.i.
|
|
131
|
+
return this.i.ai3;
|
|
131
132
|
},
|
|
132
133
|
set: function (v) {
|
|
133
|
-
this.i.
|
|
134
|
+
this.i.ai3 = v;
|
|
134
135
|
},
|
|
135
136
|
enumerable: false,
|
|
136
137
|
configurable: true
|
|
@@ -157,10 +158,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
157
158
|
* Gets or sets the label format for the LegendOthersSlices.
|
|
158
159
|
*/
|
|
159
160
|
get: function () {
|
|
160
|
-
return this.i.
|
|
161
|
+
return this.i.aiq;
|
|
161
162
|
},
|
|
162
163
|
set: function (v) {
|
|
163
|
-
this.i.
|
|
164
|
+
this.i.aiq = v;
|
|
164
165
|
},
|
|
165
166
|
enumerable: false,
|
|
166
167
|
configurable: true
|
|
@@ -188,11 +189,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
188
189
|
* a value between 0.0 and 1.0.
|
|
189
190
|
*/
|
|
190
191
|
get: function () {
|
|
191
|
-
return this.i.
|
|
192
|
+
return this.i.ahv;
|
|
192
193
|
},
|
|
193
194
|
set: function (v) {
|
|
194
|
-
this.i.
|
|
195
|
-
this._a("innerExtent", this.i.
|
|
195
|
+
this.i.ahv = +v;
|
|
196
|
+
this._a("innerExtent", this.i.ahv);
|
|
196
197
|
},
|
|
197
198
|
enumerable: false,
|
|
198
199
|
configurable: true
|
|
@@ -203,11 +204,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
203
204
|
* a value between 0.0 and 1.0.
|
|
204
205
|
*/
|
|
205
206
|
get: function () {
|
|
206
|
-
return this.i.
|
|
207
|
+
return this.i.ag2;
|
|
207
208
|
},
|
|
208
209
|
set: function (v) {
|
|
209
|
-
this.i.
|
|
210
|
-
this._a("sweepDirection", enumToString(PieChartSweepDirection_$type, this.i.
|
|
210
|
+
this.i.ag2 = ensureEnum(PieChartSweepDirection_$type, v);
|
|
211
|
+
this._a("sweepDirection", enumToString(PieChartSweepDirection_$type, this.i.ag2));
|
|
211
212
|
},
|
|
212
213
|
enumerable: false,
|
|
213
214
|
configurable: true
|
|
@@ -231,11 +232,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
231
232
|
* Gets or sets the light color to use for slice labels.
|
|
232
233
|
*/
|
|
233
234
|
get: function () {
|
|
234
|
-
return brushToString(this.i.
|
|
235
|
+
return brushToString(this.i.aj2);
|
|
235
236
|
},
|
|
236
237
|
set: function (v) {
|
|
237
|
-
this.i.
|
|
238
|
-
this._a("lightSliceLabelColor", brushToString(this.i.
|
|
238
|
+
this.i.aj2 = stringToBrush(v);
|
|
239
|
+
this._a("lightSliceLabelColor", brushToString(this.i.aj2));
|
|
239
240
|
},
|
|
240
241
|
enumerable: false,
|
|
241
242
|
configurable: true
|
|
@@ -245,11 +246,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
245
246
|
* Gets or sets the Dark color to use for slice labels.
|
|
246
247
|
*/
|
|
247
248
|
get: function () {
|
|
248
|
-
return brushToString(this.i.
|
|
249
|
+
return brushToString(this.i.aj1);
|
|
249
250
|
},
|
|
250
251
|
set: function (v) {
|
|
251
|
-
this.i.
|
|
252
|
-
this._a("darkSliceLabelColor", brushToString(this.i.
|
|
252
|
+
this.i.aj1 = stringToBrush(v);
|
|
253
|
+
this._a("darkSliceLabelColor", brushToString(this.i.aj1));
|
|
253
254
|
},
|
|
254
255
|
enumerable: false,
|
|
255
256
|
configurable: true
|
|
@@ -259,10 +260,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
259
260
|
* Gets or sets the overridden value member path to use.
|
|
260
261
|
*/
|
|
261
262
|
get: function () {
|
|
262
|
-
return this.i.
|
|
263
|
+
return this.i.ajq;
|
|
263
264
|
},
|
|
264
265
|
set: function (v) {
|
|
265
|
-
this.i.
|
|
266
|
+
this.i.ajq = v;
|
|
266
267
|
},
|
|
267
268
|
enumerable: false,
|
|
268
269
|
configurable: true
|
|
@@ -272,10 +273,21 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
272
273
|
* Gets or sets the legend label member path to use.
|
|
273
274
|
*/
|
|
274
275
|
get: function () {
|
|
275
|
-
return this.i.
|
|
276
|
+
return this.i.aio;
|
|
276
277
|
},
|
|
277
278
|
set: function (v) {
|
|
278
|
-
this.i.
|
|
279
|
+
this.i.aio = v;
|
|
280
|
+
},
|
|
281
|
+
enumerable: false,
|
|
282
|
+
configurable: true
|
|
283
|
+
});
|
|
284
|
+
Object.defineProperty(IgcDataPieBaseChartComponent.prototype, "legendEmptyValuesMode", {
|
|
285
|
+
get: function () {
|
|
286
|
+
return this.i.agw;
|
|
287
|
+
},
|
|
288
|
+
set: function (v) {
|
|
289
|
+
this.i.agw = ensureEnum(LegendEmptyValuesMode_$type, v);
|
|
290
|
+
this._a("legendEmptyValuesMode", enumToString(LegendEmptyValuesMode_$type, this.i.agw));
|
|
279
291
|
},
|
|
280
292
|
enumerable: false,
|
|
281
293
|
configurable: true
|
|
@@ -285,11 +297,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
285
297
|
* Gets or sets whether to use numeric or percent-based threshold value.
|
|
286
298
|
*/
|
|
287
299
|
get: function () {
|
|
288
|
-
return this.i.
|
|
300
|
+
return this.i.ag0;
|
|
289
301
|
},
|
|
290
302
|
set: function (v) {
|
|
291
|
-
this.i.
|
|
292
|
-
this._a("othersCategoryType", enumToString(OthersCategoryType_$type, this.i.
|
|
303
|
+
this.i.ag0 = ensureEnum(OthersCategoryType_$type, v);
|
|
304
|
+
this._a("othersCategoryType", enumToString(OthersCategoryType_$type, this.i.ag0));
|
|
293
305
|
},
|
|
294
306
|
enumerable: false,
|
|
295
307
|
configurable: true
|
|
@@ -299,11 +311,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
299
311
|
* Gets or sets the threshold value that determines if slices are grouped into the Others slice.
|
|
300
312
|
*/
|
|
301
313
|
get: function () {
|
|
302
|
-
return this.i.
|
|
314
|
+
return this.i.ahw;
|
|
303
315
|
},
|
|
304
316
|
set: function (v) {
|
|
305
|
-
this.i.
|
|
306
|
-
this._a("othersCategoryThreshold", this.i.
|
|
317
|
+
this.i.ahw = +v;
|
|
318
|
+
this._a("othersCategoryThreshold", this.i.ahw);
|
|
307
319
|
},
|
|
308
320
|
enumerable: false,
|
|
309
321
|
configurable: true
|
|
@@ -313,10 +325,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
313
325
|
* Gets or sets the label of the Others slice.
|
|
314
326
|
*/
|
|
315
327
|
get: function () {
|
|
316
|
-
return this.i.
|
|
328
|
+
return this.i.aiz;
|
|
317
329
|
},
|
|
318
330
|
set: function (v) {
|
|
319
|
-
this.i.
|
|
331
|
+
this.i.aiz = v;
|
|
320
332
|
},
|
|
321
333
|
enumerable: false,
|
|
322
334
|
configurable: true
|
|
@@ -326,10 +338,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
326
338
|
* Gets or sets the overridden value member path to use.
|
|
327
339
|
*/
|
|
328
340
|
get: function () {
|
|
329
|
-
return this.i.
|
|
341
|
+
return this.i.ail;
|
|
330
342
|
},
|
|
331
343
|
set: function (v) {
|
|
332
|
-
this.i.
|
|
344
|
+
this.i.ail = v;
|
|
333
345
|
},
|
|
334
346
|
enumerable: false,
|
|
335
347
|
configurable: true
|
|
@@ -339,11 +351,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
339
351
|
* Gets or sets whether the axis should favor emitting a label at the end of the scale.
|
|
340
352
|
*/
|
|
341
353
|
get: function () {
|
|
342
|
-
return this.i.
|
|
354
|
+
return this.i.ahh;
|
|
343
355
|
},
|
|
344
356
|
set: function (v) {
|
|
345
|
-
this.i.
|
|
346
|
-
this._a("valueAxisFavorLabellingScaleEnd", this.i.
|
|
357
|
+
this.i.ahh = ensureBool(v);
|
|
358
|
+
this._a("valueAxisFavorLabellingScaleEnd", this.i.ahh);
|
|
347
359
|
},
|
|
348
360
|
enumerable: false,
|
|
349
361
|
configurable: true
|
|
@@ -368,11 +380,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
368
380
|
* Gets or sets the set value is a factor that determines which labels will be hidden. For example, an interval of 2 will display every other label.
|
|
369
381
|
*/
|
|
370
382
|
get: function () {
|
|
371
|
-
return this.i.
|
|
383
|
+
return this.i.aht;
|
|
372
384
|
},
|
|
373
385
|
set: function (v) {
|
|
374
|
-
this.i.
|
|
375
|
-
this._a("angleAxisInterval", this.i.
|
|
386
|
+
this.i.aht = +v;
|
|
387
|
+
this._a("angleAxisInterval", this.i.aht);
|
|
376
388
|
},
|
|
377
389
|
enumerable: false,
|
|
378
390
|
configurable: true
|
|
@@ -383,11 +395,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
383
395
|
* Gets or sets the set value is a factor that determines how the minor lines will be displayed.
|
|
384
396
|
*/
|
|
385
397
|
get: function () {
|
|
386
|
-
return this.i.
|
|
398
|
+
return this.i.ahu;
|
|
387
399
|
},
|
|
388
400
|
set: function (v) {
|
|
389
|
-
this.i.
|
|
390
|
-
this._a("angleAxisMinorInterval", this.i.
|
|
401
|
+
this.i.ahu = +v;
|
|
402
|
+
this._a("angleAxisMinorInterval", this.i.ahu);
|
|
391
403
|
},
|
|
392
404
|
enumerable: false,
|
|
393
405
|
configurable: true
|
|
@@ -397,11 +409,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
397
409
|
* Gets or sets the distance between each label and grid line along the Y-axis.
|
|
398
410
|
*/
|
|
399
411
|
get: function () {
|
|
400
|
-
return this.i.
|
|
412
|
+
return this.i.ah1;
|
|
401
413
|
},
|
|
402
414
|
set: function (v) {
|
|
403
|
-
this.i.
|
|
404
|
-
this._a("valueAxisInterval", this.i.
|
|
415
|
+
this.i.ah1 = +v;
|
|
416
|
+
this._a("valueAxisInterval", this.i.ah1);
|
|
405
417
|
},
|
|
406
418
|
enumerable: false,
|
|
407
419
|
configurable: true
|
|
@@ -412,11 +424,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
412
424
|
* Since log(-1) is imaginary and log(0) is undefined, it is recommended to enable this property only when the Y-axis minimum is greater than zero.
|
|
413
425
|
*/
|
|
414
426
|
get: function () {
|
|
415
|
-
return this.i.
|
|
427
|
+
return this.i.ahi;
|
|
416
428
|
},
|
|
417
429
|
set: function (v) {
|
|
418
|
-
this.i.
|
|
419
|
-
this._a("valueAxisIsLogarithmic", this.i.
|
|
430
|
+
this.i.ahi = ensureBool(v);
|
|
431
|
+
this._a("valueAxisIsLogarithmic", this.i.ahi);
|
|
420
432
|
},
|
|
421
433
|
enumerable: false,
|
|
422
434
|
configurable: true
|
|
@@ -427,11 +439,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
427
439
|
* This property is effective only when ValueAxisIsLogarithmic is true.
|
|
428
440
|
*/
|
|
429
441
|
get: function () {
|
|
430
|
-
return this.i.
|
|
442
|
+
return this.i.ah6;
|
|
431
443
|
},
|
|
432
444
|
set: function (v) {
|
|
433
|
-
this.i.
|
|
434
|
-
this._a("valueAxisLogarithmBase", this.i.
|
|
445
|
+
this.i.ah6 = +v;
|
|
446
|
+
this._a("valueAxisLogarithmBase", this.i.ah6);
|
|
435
447
|
},
|
|
436
448
|
enumerable: false,
|
|
437
449
|
configurable: true
|
|
@@ -441,11 +453,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
441
453
|
* Gets or sets the data value corresponding to the minimum value of the Y-axis.
|
|
442
454
|
*/
|
|
443
455
|
get: function () {
|
|
444
|
-
return this.i.
|
|
456
|
+
return this.i.ah3;
|
|
445
457
|
},
|
|
446
458
|
set: function (v) {
|
|
447
|
-
this.i.
|
|
448
|
-
this._a("valueAxisMinimumValue", this.i.
|
|
459
|
+
this.i.ah3 = +v;
|
|
460
|
+
this._a("valueAxisMinimumValue", this.i.ah3);
|
|
449
461
|
},
|
|
450
462
|
enumerable: false,
|
|
451
463
|
configurable: true
|
|
@@ -455,11 +467,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
455
467
|
* Gets or sets the data value corresponding to the maximum value of the Y-axis.
|
|
456
468
|
*/
|
|
457
469
|
get: function () {
|
|
458
|
-
return this.i.
|
|
470
|
+
return this.i.ah2;
|
|
459
471
|
},
|
|
460
472
|
set: function (v) {
|
|
461
|
-
this.i.
|
|
462
|
-
this._a("valueAxisMaximumValue", this.i.
|
|
473
|
+
this.i.ah2 = +v;
|
|
474
|
+
this._a("valueAxisMaximumValue", this.i.ah2);
|
|
463
475
|
},
|
|
464
476
|
enumerable: false,
|
|
465
477
|
configurable: true
|
|
@@ -469,11 +481,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
469
481
|
* Gets or sets the frequency of displayed minor lines along the Y-axis.
|
|
470
482
|
*/
|
|
471
483
|
get: function () {
|
|
472
|
-
return this.i.
|
|
484
|
+
return this.i.ah4;
|
|
473
485
|
},
|
|
474
486
|
set: function (v) {
|
|
475
|
-
this.i.
|
|
476
|
-
this._a("valueAxisMinorInterval", this.i.
|
|
487
|
+
this.i.ah4 = +v;
|
|
488
|
+
this._a("valueAxisMinorInterval", this.i.ah4);
|
|
477
489
|
},
|
|
478
490
|
enumerable: false,
|
|
479
491
|
configurable: true
|
|
@@ -483,7 +495,7 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
483
495
|
* Gets the current minimum value for the Y-axis.
|
|
484
496
|
*/
|
|
485
497
|
get: function () {
|
|
486
|
-
return this.i.
|
|
498
|
+
return this.i.ah0;
|
|
487
499
|
},
|
|
488
500
|
enumerable: false,
|
|
489
501
|
configurable: true
|
|
@@ -493,7 +505,7 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
493
505
|
* Gets the current maximum value for the Y-axis.
|
|
494
506
|
*/
|
|
495
507
|
get: function () {
|
|
496
|
-
return this.i.
|
|
508
|
+
return this.i.ahz;
|
|
497
509
|
},
|
|
498
510
|
enumerable: false,
|
|
499
511
|
configurable: true
|
|
@@ -503,11 +515,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
503
515
|
* Gets or sets the extent of the chart's radius. Value between 0 and 1.
|
|
504
516
|
*/
|
|
505
517
|
get: function () {
|
|
506
|
-
return this.i.
|
|
518
|
+
return this.i.ahx;
|
|
507
519
|
},
|
|
508
520
|
set: function (v) {
|
|
509
|
-
this.i.
|
|
510
|
-
this._a("radiusExtent", this.i.
|
|
521
|
+
this.i.ahx = +v;
|
|
522
|
+
this._a("radiusExtent", this.i.ahx);
|
|
511
523
|
},
|
|
512
524
|
enumerable: false,
|
|
513
525
|
configurable: true
|
|
@@ -517,11 +529,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
517
529
|
* Gets or sets the start angle to use for the pie chart measured in degrees from the positive x axis.
|
|
518
530
|
*/
|
|
519
531
|
get: function () {
|
|
520
|
-
return this.i.
|
|
532
|
+
return this.i.ahy;
|
|
521
533
|
},
|
|
522
534
|
set: function (v) {
|
|
523
|
-
this.i.
|
|
524
|
-
this._a("startAngle", this.i.
|
|
535
|
+
this.i.ahy = +v;
|
|
536
|
+
this._a("startAngle", this.i.ahy);
|
|
525
537
|
},
|
|
526
538
|
enumerable: false,
|
|
527
539
|
configurable: true
|
|
@@ -531,10 +543,10 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
531
543
|
* Gets or sets the label of the Others slice.
|
|
532
544
|
*/
|
|
533
545
|
get: function () {
|
|
534
|
-
return this.i.
|
|
546
|
+
return this.i.ai8;
|
|
535
547
|
},
|
|
536
548
|
set: function (v) {
|
|
537
|
-
this.i.
|
|
549
|
+
this.i.ai8 = v;
|
|
538
550
|
},
|
|
539
551
|
enumerable: false,
|
|
540
552
|
configurable: true
|
|
@@ -544,11 +556,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
544
556
|
* Gets or sets the label of the Others slice.
|
|
545
557
|
*/
|
|
546
558
|
get: function () {
|
|
547
|
-
return this.i.
|
|
559
|
+
return this.i.ag8;
|
|
548
560
|
},
|
|
549
561
|
set: function (v) {
|
|
550
|
-
this.i.
|
|
551
|
-
this._a("sliceLabelContentMode", enumToString(RadialLabelMode_$type, this.i.
|
|
562
|
+
this.i.ag8 = ensureEnum(RadialLabelMode_$type, v);
|
|
563
|
+
this._a("sliceLabelContentMode", enumToString(RadialLabelMode_$type, this.i.ag8));
|
|
552
564
|
},
|
|
553
565
|
enumerable: false,
|
|
554
566
|
configurable: true
|
|
@@ -558,11 +570,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
558
570
|
* Gets or sets the label of the Others slice.
|
|
559
571
|
*/
|
|
560
572
|
get: function () {
|
|
561
|
-
return this.i.
|
|
573
|
+
return this.i.ag7;
|
|
562
574
|
},
|
|
563
575
|
set: function (v) {
|
|
564
|
-
this.i.
|
|
565
|
-
this._a("legendSliceLabelContentMode", enumToString(RadialLabelMode_$type, this.i.
|
|
576
|
+
this.i.ag7 = ensureEnum(RadialLabelMode_$type, v);
|
|
577
|
+
this._a("legendSliceLabelContentMode", enumToString(RadialLabelMode_$type, this.i.ag7));
|
|
566
578
|
},
|
|
567
579
|
enumerable: false,
|
|
568
580
|
configurable: true
|
|
@@ -572,11 +584,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
572
584
|
* Gets or sets whether to favor labelling the end of the scale.
|
|
573
585
|
*/
|
|
574
586
|
get: function () {
|
|
575
|
-
return this.i.
|
|
587
|
+
return this.i.ahe;
|
|
576
588
|
},
|
|
577
589
|
set: function (v) {
|
|
578
|
-
this.i.
|
|
579
|
-
this._a("angleAxisFavorLabellingScaleEnd", this.i.
|
|
590
|
+
this.i.ahe = ensureBool(v);
|
|
591
|
+
this._a("angleAxisFavorLabellingScaleEnd", this.i.ahe);
|
|
580
592
|
},
|
|
581
593
|
enumerable: false,
|
|
582
594
|
configurable: true
|
|
@@ -586,11 +598,11 @@ var IgcDataPieBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
586
598
|
* Gets or sets whether the large numbers on the Y-axis labels are abbreviated.
|
|
587
599
|
*/
|
|
588
600
|
get: function () {
|
|
589
|
-
return this.i.
|
|
601
|
+
return this.i.ahg;
|
|
590
602
|
},
|
|
591
603
|
set: function (v) {
|
|
592
|
-
this.i.
|
|
593
|
-
this._a("valueAxisAbbreviateLargeNumbers", this.i.
|
|
604
|
+
this.i.ahg = ensureBool(v);
|
|
605
|
+
this._a("valueAxisAbbreviateLargeNumbers", this.i.ahg);
|
|
594
606
|
},
|
|
595
607
|
enumerable: false,
|
|
596
608
|
configurable: true
|
|
@@ -293,11 +293,11 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
293
293
|
* Gets or sets the duration used for animating series plots when the chart is loading into view
|
|
294
294
|
*/
|
|
295
295
|
get: function () {
|
|
296
|
-
return this.i.
|
|
296
|
+
return this.i.akh;
|
|
297
297
|
},
|
|
298
298
|
set: function (v) {
|
|
299
|
-
this.i.
|
|
300
|
-
this._a("transitionInDuration", this.i.
|
|
299
|
+
this.i.akh = +v;
|
|
300
|
+
this._a("transitionInDuration", this.i.akh);
|
|
301
301
|
},
|
|
302
302
|
enumerable: false,
|
|
303
303
|
configurable: true
|
|
@@ -307,11 +307,11 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
307
307
|
* Gets or sets the duration used for animating series plots when the series is leaving view
|
|
308
308
|
*/
|
|
309
309
|
get: function () {
|
|
310
|
-
return this.i.
|
|
310
|
+
return this.i.aki;
|
|
311
311
|
},
|
|
312
312
|
set: function (v) {
|
|
313
|
-
this.i.
|
|
314
|
-
this._a("transitionOutDuration", this.i.
|
|
313
|
+
this.i.aki = +v;
|
|
314
|
+
this._a("transitionOutDuration", this.i.aki);
|
|
315
315
|
},
|
|
316
316
|
enumerable: false,
|
|
317
317
|
configurable: true
|
|
@@ -322,10 +322,10 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
322
322
|
* This can be set to one of the known values "linear" or "cubic," or it can be set to an easing function which takes a single numeric parameter and returns a number.
|
|
323
323
|
*/
|
|
324
324
|
get: function () {
|
|
325
|
-
return this.i.
|
|
325
|
+
return this.i.akb;
|
|
326
326
|
},
|
|
327
327
|
set: function (v) {
|
|
328
|
-
this.i.
|
|
328
|
+
this.i.akb = v;
|
|
329
329
|
},
|
|
330
330
|
enumerable: false,
|
|
331
331
|
configurable: true
|
|
@@ -336,10 +336,10 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
336
336
|
* This can be set to one of the known values "linear" or "cubic," or it can be set to an easing function which takes a single numeric parameter and returns a number.
|
|
337
337
|
*/
|
|
338
338
|
get: function () {
|
|
339
|
-
return this.i.
|
|
339
|
+
return this.i.akc;
|
|
340
340
|
},
|
|
341
341
|
set: function (v) {
|
|
342
|
-
this.i.
|
|
342
|
+
this.i.akc = v;
|
|
343
343
|
},
|
|
344
344
|
enumerable: false,
|
|
345
345
|
configurable: true
|
|
@@ -359,11 +359,11 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
359
359
|
* Gets or sets the type of chart series to generate from the data.
|
|
360
360
|
*/
|
|
361
361
|
get: function () {
|
|
362
|
-
return this.i.
|
|
362
|
+
return this.i.aj6;
|
|
363
363
|
},
|
|
364
364
|
set: function (v) {
|
|
365
|
-
this.i.
|
|
366
|
-
this._a("chartType", enumToString(DataPieChartType_$type, this.i.
|
|
365
|
+
this.i.aj6 = ensureEnum(DataPieChartType_$type, v);
|
|
366
|
+
this._a("chartType", enumToString(DataPieChartType_$type, this.i.aj6));
|
|
367
367
|
},
|
|
368
368
|
enumerable: false,
|
|
369
369
|
configurable: true
|
|
@@ -373,11 +373,11 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
373
373
|
* Gets or sets whether animation of series plots is enabled when the chart is loading into view
|
|
374
374
|
*/
|
|
375
375
|
get: function () {
|
|
376
|
-
return this.i.
|
|
376
|
+
return this.i.ake;
|
|
377
377
|
},
|
|
378
378
|
set: function (v) {
|
|
379
|
-
this.i.
|
|
380
|
-
this._a("isTransitionInEnabled", this.i.
|
|
379
|
+
this.i.ake = ensureBool(v);
|
|
380
|
+
this._a("isTransitionInEnabled", this.i.ake);
|
|
381
381
|
},
|
|
382
382
|
enumerable: false,
|
|
383
383
|
configurable: true
|
|
@@ -387,11 +387,11 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
387
387
|
* Gets or sets the method that determines how to animate series plots when the chart is loading into view
|
|
388
388
|
*/
|
|
389
389
|
get: function () {
|
|
390
|
-
return this.i.
|
|
390
|
+
return this.i.aj4;
|
|
391
391
|
},
|
|
392
392
|
set: function (v) {
|
|
393
|
-
this.i.
|
|
394
|
-
this._a("transitionInMode", enumToString(CategoryTransitionInMode_$type, this.i.
|
|
393
|
+
this.i.aj4 = ensureEnum(CategoryTransitionInMode_$type, v);
|
|
394
|
+
this._a("transitionInMode", enumToString(CategoryTransitionInMode_$type, this.i.aj4));
|
|
395
395
|
},
|
|
396
396
|
enumerable: false,
|
|
397
397
|
configurable: true
|
|
@@ -401,11 +401,11 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
401
401
|
* Gets or sets the arrival speed used for animating series plots when the chart is loading into view
|
|
402
402
|
*/
|
|
403
403
|
get: function () {
|
|
404
|
-
return this.i.
|
|
404
|
+
return this.i.aj8;
|
|
405
405
|
},
|
|
406
406
|
set: function (v) {
|
|
407
|
-
this.i.
|
|
408
|
-
this._a("transitionInSpeedType", enumToString(TransitionInSpeedType_$type, this.i.
|
|
407
|
+
this.i.aj8 = ensureEnum(TransitionInSpeedType_$type, v);
|
|
408
|
+
this._a("transitionInSpeedType", enumToString(TransitionInSpeedType_$type, this.i.aj8));
|
|
409
409
|
},
|
|
410
410
|
enumerable: false,
|
|
411
411
|
configurable: true
|
|
@@ -415,7 +415,7 @@ var IgcDataPieChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
415
415
|
|
|
416
416
|
*/
|
|
417
417
|
IgcDataPieChartComponent.prototype.exportSerializedVisualData = function () {
|
|
418
|
-
var iv = this.i.
|
|
418
|
+
var iv = this.i.akk();
|
|
419
419
|
return (iv);
|
|
420
420
|
};
|
|
421
421
|
IgcDataPieChartComponent._observedAttributesIgcDataPieChartComponent = null;
|
|
@@ -7,7 +7,7 @@ import { LeaderLineType_$type } from "./LeaderLineType";
|
|
|
7
7
|
import { OthersCategoryType_$type } from "igniteui-webcomponents-core";
|
|
8
8
|
import { IgcIndexCollection } from "./igc-index-collection";
|
|
9
9
|
import { SweepDirection_$type } from "igniteui-webcomponents-core";
|
|
10
|
-
import { LegendEmptyValuesMode_$type } from "
|
|
10
|
+
import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
|
|
11
11
|
import { SliceSelectionMode_$type } from "./SliceSelectionMode";
|
|
12
12
|
import { IgcObjectCollection } from "igniteui-webcomponents-core";
|
|
13
13
|
import { IgcLabelClickEventArgs } from "./igc-label-click-event-args";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
+
import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
|
|
2
3
|
import { IgcAnchoredRadialSeriesComponent } from "./igc-anchored-radial-series-component";
|
|
3
4
|
import { RadialPieSeries } from "./RadialPieSeries";
|
|
4
|
-
import { getAllPropertyNames, toSpinal, toPoint, fromRect } from "igniteui-webcomponents-core";
|
|
5
|
+
import { getAllPropertyNames, toSpinal, ensureEnum, enumToString, toPoint, fromRect } from "igniteui-webcomponents-core";
|
|
5
6
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
6
7
|
/**
|
|
7
8
|
* Represents a IgxDataChartComponent radial pie series.
|
|
@@ -93,11 +94,11 @@ var IgcRadialPieSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
93
94
|
* Gets or sets the x-radius of the ellipse that is used to round the corners of the column.
|
|
94
95
|
*/
|
|
95
96
|
get: function () {
|
|
96
|
-
return this.i.
|
|
97
|
+
return this.i.adj;
|
|
97
98
|
},
|
|
98
99
|
set: function (v) {
|
|
99
|
-
this.i.
|
|
100
|
-
this._a("radiusX", this.i.
|
|
100
|
+
this.i.adj = +v;
|
|
101
|
+
this._a("radiusX", this.i.adj);
|
|
101
102
|
},
|
|
102
103
|
enumerable: false,
|
|
103
104
|
configurable: true
|
|
@@ -107,11 +108,11 @@ var IgcRadialPieSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
107
108
|
* Gets or sets the y-radius of the ellipse that is used to round the corners of the column.
|
|
108
109
|
*/
|
|
109
110
|
get: function () {
|
|
110
|
-
return this.i.
|
|
111
|
+
return this.i.adk;
|
|
111
112
|
},
|
|
112
113
|
set: function (v) {
|
|
113
|
-
this.i.
|
|
114
|
-
this._a("radiusY", this.i.
|
|
114
|
+
this.i.adk = +v;
|
|
115
|
+
this._a("radiusY", this.i.adk);
|
|
115
116
|
},
|
|
116
117
|
enumerable: false,
|
|
117
118
|
configurable: true
|
|
@@ -121,10 +122,24 @@ var IgcRadialPieSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
121
122
|
* Gets or sets the property name that contains the legend labels.
|
|
122
123
|
*/
|
|
123
124
|
get: function () {
|
|
124
|
-
return this.i.
|
|
125
|
+
return this.i.ado;
|
|
125
126
|
},
|
|
126
127
|
set: function (v) {
|
|
127
|
-
this.i.
|
|
128
|
+
this.i.ado = v;
|
|
129
|
+
},
|
|
130
|
+
enumerable: false,
|
|
131
|
+
configurable: true
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(IgcRadialPieSeriesComponent.prototype, "legendEmptyValuesMode", {
|
|
134
|
+
/**
|
|
135
|
+
* Determines display mode for zero values in the legend.
|
|
136
|
+
*/
|
|
137
|
+
get: function () {
|
|
138
|
+
return this.i.ade;
|
|
139
|
+
},
|
|
140
|
+
set: function (v) {
|
|
141
|
+
this.i.ade = ensureEnum(LegendEmptyValuesMode_$type, v);
|
|
142
|
+
this._a("legendEmptyValuesMode", enumToString(LegendEmptyValuesMode_$type, this.i.ade));
|
|
128
143
|
},
|
|
129
144
|
enumerable: false,
|
|
130
145
|
configurable: true
|
package/esm5/public_api.js
CHANGED
|
@@ -1123,7 +1123,6 @@ export * from './lib/igc-pie-chart-module';
|
|
|
1123
1123
|
export * from './lib/igc-pie-chart-component';
|
|
1124
1124
|
export * from './lib/PieChartViewManager';
|
|
1125
1125
|
export * from './lib/PieLegendTemplates';
|
|
1126
|
-
export * from './lib/LegendEmptyValuesMode';
|
|
1127
1126
|
export * from './lib/LabelsPosition';
|
|
1128
1127
|
export * from './lib/LeaderLineType';
|
|
1129
1128
|
export * from './lib/SliceSelectionMode';
|