igniteui-webcomponents-charts 5.1.1 → 5.2.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 +1107 -602
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AxisStrokeSettings.js +21 -0
- package/esm2015/lib/DataChartToolbarProvider.js +229 -196
- package/esm2015/lib/FunnelChartSelectedItemsChangedEventArgs.js +43 -0
- package/esm2015/lib/FunnelChartSelectedItemsCollection.js +42 -0
- package/esm2015/lib/XamFunnelView_combined.js +353 -304
- package/esm2015/lib/igc-funnel-chart-component.js +168 -104
- package/esm2015/lib/igc-funnel-chart-selected-items-changed-event-args.js +126 -0
- package/esm2015/lib/igc-funnel-chart-selected-items-collection.js +30 -0
- package/esm2015/lib/igc-series-viewer-component.js +33 -0
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/AxisStrokeSettings.js +23 -0
- package/esm5/lib/DataChartToolbarProvider.js +229 -196
- package/esm5/lib/FunnelChartSelectedItemsChangedEventArgs.js +57 -0
- package/esm5/lib/FunnelChartSelectedItemsCollection.js +48 -0
- package/esm5/lib/XamFunnelView_combined.js +368 -302
- package/esm5/lib/igc-funnel-chart-component.js +177 -104
- package/esm5/lib/igc-funnel-chart-selected-items-changed-event-args.js +144 -0
- package/esm5/lib/igc-funnel-chart-selected-items-collection.js +35 -0
- package/esm5/lib/igc-series-viewer-component.js +45 -0
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-webcomponents-charts.js +1029 -603
- package/fesm5/igniteui-webcomponents-charts.js +1103 -603
- package/lib/AxisStrokeSettings.d.ts +10 -0
- package/lib/DataChartToolbarProvider.d.ts +28 -26
- package/lib/FunnelChartSelectedItemsChangedEventArgs.d.ts +18 -0
- package/lib/FunnelChartSelectedItemsCollection.d.ts +14 -0
- package/lib/FunnelChartVisualData.d.ts +3 -3
- package/lib/XamFunnelView_combined.d.ts +111 -107
- package/lib/igc-funnel-chart-component.d.ts +15 -0
- package/lib/igc-funnel-chart-selected-items-changed-event-args.d.ts +33 -0
- package/lib/igc-funnel-chart-selected-items-collection.d.ts +6 -0
- package/lib/igc-series-viewer-component.d.ts +18 -0
- package/package.json +2 -2
- package/public_api.d.ts +5 -0
|
@@ -13,6 +13,11 @@ import { IgcFunnelSliceClickedEventArgs } from './igc-funnel-slice-clicked-event
|
|
|
13
13
|
import { IgcFunnelSliceEventArgs } from './igc-funnel-slice-event-args';
|
|
14
14
|
import { Style } from "igniteui-webcomponents-core";
|
|
15
15
|
import { HighlightedValueDisplayMode_$type } from "igniteui-webcomponents-core";
|
|
16
|
+
import { Base } from "igniteui-webcomponents-core";
|
|
17
|
+
import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
18
|
+
import { IgcFunnelChartSelectedItemsCollection } from './igc-funnel-chart-selected-items-collection';
|
|
19
|
+
import { FunnelChartSelectedItemsCollection as FunnelChartSelectedItemsCollection_internal } from './FunnelChartSelectedItemsCollection';
|
|
20
|
+
import { IgcFunnelChartSelectedItemsChangedEventArgs } from './igc-funnel-chart-selected-items-changed-event-args';
|
|
16
21
|
var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
17
22
|
__extends(IgcFunnelChartComponent, _super);
|
|
18
23
|
function IgcFunnelChartComponent() {
|
|
@@ -23,11 +28,14 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
23
28
|
_this._attached = false;
|
|
24
29
|
_this._queuedSetAttributes = [];
|
|
25
30
|
_this._updatingFromAttribute = false;
|
|
31
|
+
_this._selectedItems = null;
|
|
26
32
|
_this.__p = null;
|
|
27
33
|
_this._hasUserValues = new Set();
|
|
28
34
|
_this._stylingContainer = null;
|
|
29
35
|
_this._stylingParent = null;
|
|
30
36
|
_this._inStyling = false;
|
|
37
|
+
_this._selectedItemsChanged = null;
|
|
38
|
+
_this._selectedItemsChanged_wrapped = null;
|
|
31
39
|
_this._sliceClicked = null;
|
|
32
40
|
_this._sliceClicked_wrapped = null;
|
|
33
41
|
_this._sliceEnter = null;
|
|
@@ -253,10 +261,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
253
261
|
* Gets or sets the value member path for the funnel chart.
|
|
254
262
|
*/
|
|
255
263
|
get: function () {
|
|
256
|
-
return this.i.
|
|
264
|
+
return this.i.dw;
|
|
257
265
|
},
|
|
258
266
|
set: function (v) {
|
|
259
|
-
this.i.
|
|
267
|
+
this.i.dw = v;
|
|
260
268
|
},
|
|
261
269
|
enumerable: false,
|
|
262
270
|
configurable: true
|
|
@@ -266,10 +274,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
266
274
|
* Gets or sets the highlighted value member path for the funnel chart.
|
|
267
275
|
*/
|
|
268
276
|
get: function () {
|
|
269
|
-
return this.i.
|
|
277
|
+
return this.i.cs;
|
|
270
278
|
},
|
|
271
279
|
set: function (v) {
|
|
272
|
-
this.i.
|
|
280
|
+
this.i.cs = v;
|
|
273
281
|
},
|
|
274
282
|
enumerable: false,
|
|
275
283
|
configurable: true
|
|
@@ -279,11 +287,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
279
287
|
* Gets the actual opacity of the primary needle while highlighting
|
|
280
288
|
*/
|
|
281
289
|
get: function () {
|
|
282
|
-
return this.i.
|
|
290
|
+
return this.i.bx;
|
|
283
291
|
},
|
|
284
292
|
set: function (v) {
|
|
285
|
-
this.i.
|
|
286
|
-
this._a("actualHighlightValueOpacity", this.i.
|
|
293
|
+
this.i.bx = +v;
|
|
294
|
+
this._a("actualHighlightValueOpacity", this.i.bx);
|
|
287
295
|
},
|
|
288
296
|
enumerable: false,
|
|
289
297
|
configurable: true
|
|
@@ -293,11 +301,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
293
301
|
* Gets or sets the opacity while highlighting
|
|
294
302
|
*/
|
|
295
303
|
get: function () {
|
|
296
|
-
return this.i.
|
|
304
|
+
return this.i.b1;
|
|
297
305
|
},
|
|
298
306
|
set: function (v) {
|
|
299
|
-
this.i.
|
|
300
|
-
this._a("highlightValueOpacity", this.i.
|
|
307
|
+
this.i.b1 = +v;
|
|
308
|
+
this._a("highlightValueOpacity", this.i.b1);
|
|
301
309
|
},
|
|
302
310
|
enumerable: false,
|
|
303
311
|
configurable: true
|
|
@@ -307,11 +315,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
307
315
|
* Gets whether and how to display the highlighted value.
|
|
308
316
|
*/
|
|
309
317
|
get: function () {
|
|
310
|
-
return this.i.
|
|
318
|
+
return this.i.a5;
|
|
311
319
|
},
|
|
312
320
|
set: function (v) {
|
|
313
|
-
this.i.
|
|
314
|
-
this._a("actualHighlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.
|
|
321
|
+
this.i.a5 = ensureEnum(HighlightedValueDisplayMode_$type, v);
|
|
322
|
+
this._a("actualHighlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.a5));
|
|
315
323
|
},
|
|
316
324
|
enumerable: false,
|
|
317
325
|
configurable: true
|
|
@@ -321,11 +329,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
321
329
|
* Gets or sets whether and how to display the highlighted value.
|
|
322
330
|
*/
|
|
323
331
|
get: function () {
|
|
324
|
-
return this.i.
|
|
332
|
+
return this.i.a6;
|
|
325
333
|
},
|
|
326
334
|
set: function (v) {
|
|
327
|
-
this.i.
|
|
328
|
-
this._a("highlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.
|
|
335
|
+
this.i.a6 = ensureEnum(HighlightedValueDisplayMode_$type, v);
|
|
336
|
+
this._a("highlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.a6));
|
|
329
337
|
},
|
|
330
338
|
enumerable: false,
|
|
331
339
|
configurable: true
|
|
@@ -363,11 +371,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
363
371
|
* Gets or sets the percentage (from near 0 to 1) of space the bottom edge of the funnel should take.
|
|
364
372
|
*/
|
|
365
373
|
get: function () {
|
|
366
|
-
return this.i.
|
|
374
|
+
return this.i.bz;
|
|
367
375
|
},
|
|
368
376
|
set: function (v) {
|
|
369
|
-
this.i.
|
|
370
|
-
this._a("bottomEdgeWidth", this.i.
|
|
377
|
+
this.i.bz = +v;
|
|
378
|
+
this._a("bottomEdgeWidth", this.i.bz);
|
|
371
379
|
},
|
|
372
380
|
enumerable: false,
|
|
373
381
|
configurable: true
|
|
@@ -377,10 +385,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
377
385
|
* Gets or sets the InnerLabel mapping property for the current series object.
|
|
378
386
|
*/
|
|
379
387
|
get: function () {
|
|
380
|
-
return this.i.
|
|
388
|
+
return this.i.cz;
|
|
381
389
|
},
|
|
382
390
|
set: function (v) {
|
|
383
|
-
this.i.
|
|
391
|
+
this.i.cz = v;
|
|
384
392
|
},
|
|
385
393
|
enumerable: false,
|
|
386
394
|
configurable: true
|
|
@@ -390,10 +398,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
390
398
|
* Gets or sets the OuterLabel mapping property for the current series object.
|
|
391
399
|
*/
|
|
392
400
|
get: function () {
|
|
393
|
-
return this.i.
|
|
401
|
+
return this.i.da;
|
|
394
402
|
},
|
|
395
403
|
set: function (v) {
|
|
396
|
-
this.i.
|
|
404
|
+
this.i.da = v;
|
|
397
405
|
},
|
|
398
406
|
enumerable: false,
|
|
399
407
|
configurable: true
|
|
@@ -403,11 +411,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
403
411
|
* Gets or sets whether the inner labels are visible.
|
|
404
412
|
*/
|
|
405
413
|
get: function () {
|
|
406
|
-
return this.i.
|
|
414
|
+
return this.i.fv;
|
|
407
415
|
},
|
|
408
416
|
set: function (v) {
|
|
409
|
-
this.i.
|
|
410
|
-
this._a("innerLabelVisibility", enumToString(Visibility_$type, this.i.
|
|
417
|
+
this.i.fv = ensureEnum(Visibility_$type, v);
|
|
418
|
+
this._a("innerLabelVisibility", enumToString(Visibility_$type, this.i.fv));
|
|
411
419
|
},
|
|
412
420
|
enumerable: false,
|
|
413
421
|
configurable: true
|
|
@@ -417,11 +425,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
417
425
|
* Gets or sets whether the outer labels are visible.
|
|
418
426
|
*/
|
|
419
427
|
get: function () {
|
|
420
|
-
return this.i.
|
|
428
|
+
return this.i.fw;
|
|
421
429
|
},
|
|
422
430
|
set: function (v) {
|
|
423
|
-
this.i.
|
|
424
|
-
this._a("outerLabelVisibility", enumToString(Visibility_$type, this.i.
|
|
431
|
+
this.i.fw = ensureEnum(Visibility_$type, v);
|
|
432
|
+
this._a("outerLabelVisibility", enumToString(Visibility_$type, this.i.fw));
|
|
425
433
|
},
|
|
426
434
|
enumerable: false,
|
|
427
435
|
configurable: true
|
|
@@ -431,11 +439,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
431
439
|
* Gets or sets which side of the chart the outer labels should appear.
|
|
432
440
|
*/
|
|
433
441
|
get: function () {
|
|
434
|
-
return this.i.
|
|
442
|
+
return this.i.ax;
|
|
435
443
|
},
|
|
436
444
|
set: function (v) {
|
|
437
|
-
this.i.
|
|
438
|
-
this._a("outerLabelAlignment", enumToString(OuterLabelAlignment_$type, this.i.
|
|
445
|
+
this.i.ax = ensureEnum(OuterLabelAlignment_$type, v);
|
|
446
|
+
this._a("outerLabelAlignment", enumToString(OuterLabelAlignment_$type, this.i.ax));
|
|
439
447
|
},
|
|
440
448
|
enumerable: false,
|
|
441
449
|
configurable: true
|
|
@@ -445,11 +453,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
445
453
|
* Gets or sets how the heights of the funnel slices should be configured.
|
|
446
454
|
*/
|
|
447
455
|
get: function () {
|
|
448
|
-
return this.i.
|
|
456
|
+
return this.i.an;
|
|
449
457
|
},
|
|
450
458
|
set: function (v) {
|
|
451
|
-
this.i.
|
|
452
|
-
this._a("funnelSliceDisplay", enumToString(FunnelSliceDisplay_$type, this.i.
|
|
459
|
+
this.i.an = ensureEnum(FunnelSliceDisplay_$type, v);
|
|
460
|
+
this._a("funnelSliceDisplay", enumToString(FunnelSliceDisplay_$type, this.i.an));
|
|
453
461
|
},
|
|
454
462
|
enumerable: false,
|
|
455
463
|
configurable: true
|
|
@@ -459,10 +467,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
459
467
|
* Gets or sets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart.
|
|
460
468
|
*/
|
|
461
469
|
get: function () {
|
|
462
|
-
return this.i.
|
|
470
|
+
return this.i.b9;
|
|
463
471
|
},
|
|
464
472
|
set: function (v) {
|
|
465
|
-
this.i.
|
|
473
|
+
this.i.b9 = v;
|
|
466
474
|
},
|
|
467
475
|
enumerable: false,
|
|
468
476
|
configurable: true
|
|
@@ -472,10 +480,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
472
480
|
* Gets or sets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart.
|
|
473
481
|
*/
|
|
474
482
|
get: function () {
|
|
475
|
-
return this.i.
|
|
483
|
+
return this.i.ca;
|
|
476
484
|
},
|
|
477
485
|
set: function (v) {
|
|
478
|
-
this.i.
|
|
486
|
+
this.i.ca = v;
|
|
479
487
|
},
|
|
480
488
|
enumerable: false,
|
|
481
489
|
configurable: true
|
|
@@ -485,11 +493,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
485
493
|
* Gets or sets how long the animations should take to run.
|
|
486
494
|
*/
|
|
487
495
|
get: function () {
|
|
488
|
-
return this.i.
|
|
496
|
+
return this.i.cb;
|
|
489
497
|
},
|
|
490
498
|
set: function (v) {
|
|
491
|
-
this.i.
|
|
492
|
-
this._a("transitionDuration", this.i.
|
|
499
|
+
this.i.cb = +v;
|
|
500
|
+
this._a("transitionDuration", this.i.cb);
|
|
493
501
|
},
|
|
494
502
|
enumerable: false,
|
|
495
503
|
configurable: true
|
|
@@ -499,11 +507,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
499
507
|
* Gets or sets if the funnel should be rendered inverted.
|
|
500
508
|
*/
|
|
501
509
|
get: function () {
|
|
502
|
-
return this.i.
|
|
510
|
+
return this.i.bn;
|
|
503
511
|
},
|
|
504
512
|
set: function (v) {
|
|
505
|
-
this.i.
|
|
506
|
-
this._a("isInverted", this.i.
|
|
513
|
+
this.i.bn = ensureBool(v);
|
|
514
|
+
this._a("isInverted", this.i.bn);
|
|
507
515
|
},
|
|
508
516
|
enumerable: false,
|
|
509
517
|
configurable: true
|
|
@@ -513,11 +521,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
513
521
|
* Gets or sets whether to use a Bezier curve to define the funnel.
|
|
514
522
|
*/
|
|
515
523
|
get: function () {
|
|
516
|
-
return this.i.
|
|
524
|
+
return this.i.bo;
|
|
517
525
|
},
|
|
518
526
|
set: function (v) {
|
|
519
|
-
this.i.
|
|
520
|
-
this._a("useBezierCurve", this.i.
|
|
527
|
+
this.i.bo = ensureBool(v);
|
|
528
|
+
this._a("useBezierCurve", this.i.bo);
|
|
521
529
|
},
|
|
522
530
|
enumerable: false,
|
|
523
531
|
configurable: true
|
|
@@ -527,11 +535,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
527
535
|
* Gets or sets whether to allow slices to be selected.
|
|
528
536
|
*/
|
|
529
537
|
get: function () {
|
|
530
|
-
return this.i.
|
|
538
|
+
return this.i.bh;
|
|
531
539
|
},
|
|
532
540
|
set: function (v) {
|
|
533
|
-
this.i.
|
|
534
|
-
this._a("allowSliceSelection", this.i.
|
|
541
|
+
this.i.bh = ensureBool(v);
|
|
542
|
+
this._a("allowSliceSelection", this.i.bh);
|
|
535
543
|
},
|
|
536
544
|
enumerable: false,
|
|
537
545
|
configurable: true
|
|
@@ -541,11 +549,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
541
549
|
* Gets or sets whether to use the unselected style on unselected slices.
|
|
542
550
|
*/
|
|
543
551
|
get: function () {
|
|
544
|
-
return this.i.
|
|
552
|
+
return this.i.bq;
|
|
545
553
|
},
|
|
546
554
|
set: function (v) {
|
|
547
|
-
this.i.
|
|
548
|
-
this._a("useUnselectedStyle", this.i.
|
|
555
|
+
this.i.bq = ensureBool(v);
|
|
556
|
+
this._a("useUnselectedStyle", this.i.bq);
|
|
549
557
|
},
|
|
550
558
|
enumerable: false,
|
|
551
559
|
configurable: true
|
|
@@ -555,11 +563,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
555
563
|
* Gets or sets the fill brush.
|
|
556
564
|
*/
|
|
557
565
|
get: function () {
|
|
558
|
-
return this.i.
|
|
566
|
+
return this.i.ft ? this.i.ft.fill : null;
|
|
559
567
|
},
|
|
560
568
|
set: function (v) {
|
|
561
569
|
this.ensureSelectedSliceStyle();
|
|
562
|
-
this.i.
|
|
570
|
+
this.i.ft.fill = v;
|
|
563
571
|
},
|
|
564
572
|
enumerable: false,
|
|
565
573
|
configurable: true
|
|
@@ -569,11 +577,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
569
577
|
* Gets or sets the stroke brush.
|
|
570
578
|
*/
|
|
571
579
|
get: function () {
|
|
572
|
-
return this.i.
|
|
580
|
+
return this.i.ft ? this.i.ft.stroke : null;
|
|
573
581
|
},
|
|
574
582
|
set: function (v) {
|
|
575
583
|
this.ensureSelectedSliceStyle();
|
|
576
|
-
this.i.
|
|
584
|
+
this.i.ft.stroke = v;
|
|
577
585
|
},
|
|
578
586
|
enumerable: false,
|
|
579
587
|
configurable: true
|
|
@@ -583,12 +591,12 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
583
591
|
* Gets or sets the stroke thickness.
|
|
584
592
|
*/
|
|
585
593
|
get: function () {
|
|
586
|
-
return this.i.
|
|
594
|
+
return this.i.ft ? this.i.ft.strokeThickness : NaN;
|
|
587
595
|
},
|
|
588
596
|
set: function (v) {
|
|
589
597
|
this.ensureSelectedSliceStyle();
|
|
590
|
-
this.i.
|
|
591
|
-
this._a("selectedSliceStrokeThickness", this.i.
|
|
598
|
+
this.i.ft.strokeThickness = +v;
|
|
599
|
+
this._a("selectedSliceStrokeThickness", this.i.ft.strokeThickness);
|
|
592
600
|
},
|
|
593
601
|
enumerable: false,
|
|
594
602
|
configurable: true
|
|
@@ -598,32 +606,32 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
598
606
|
* Gets or sets the opacity.
|
|
599
607
|
*/
|
|
600
608
|
get: function () {
|
|
601
|
-
return this.i.
|
|
609
|
+
return this.i.ft ? this.i.ft.opacity : NaN;
|
|
602
610
|
},
|
|
603
611
|
set: function (v) {
|
|
604
612
|
this.ensureSelectedSliceStyle();
|
|
605
|
-
this.i.
|
|
606
|
-
this._a("selectedSliceOpacity", this.i.
|
|
613
|
+
this.i.ft.opacity = +v;
|
|
614
|
+
this._a("selectedSliceOpacity", this.i.ft.opacity);
|
|
607
615
|
},
|
|
608
616
|
enumerable: false,
|
|
609
617
|
configurable: true
|
|
610
618
|
});
|
|
611
619
|
IgcFunnelChartComponent.prototype.ensureSelectedSliceStyle = function () {
|
|
612
|
-
if (this.i.
|
|
620
|
+
if (this.i.ft) {
|
|
613
621
|
return;
|
|
614
622
|
}
|
|
615
|
-
this.i.
|
|
623
|
+
this.i.ft = new Style();
|
|
616
624
|
};
|
|
617
625
|
Object.defineProperty(IgcFunnelChartComponent.prototype, "unselectedSliceFill", {
|
|
618
626
|
/**
|
|
619
627
|
* Gets or sets the fill brush.
|
|
620
628
|
*/
|
|
621
629
|
get: function () {
|
|
622
|
-
return this.i.
|
|
630
|
+
return this.i.fu ? this.i.fu.fill : null;
|
|
623
631
|
},
|
|
624
632
|
set: function (v) {
|
|
625
633
|
this.ensureUnselectedSliceStyle();
|
|
626
|
-
this.i.
|
|
634
|
+
this.i.fu.fill = v;
|
|
627
635
|
},
|
|
628
636
|
enumerable: false,
|
|
629
637
|
configurable: true
|
|
@@ -633,11 +641,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
633
641
|
* Gets or sets the stroke brush.
|
|
634
642
|
*/
|
|
635
643
|
get: function () {
|
|
636
|
-
return this.i.
|
|
644
|
+
return this.i.fu ? this.i.fu.stroke : null;
|
|
637
645
|
},
|
|
638
646
|
set: function (v) {
|
|
639
647
|
this.ensureUnselectedSliceStyle();
|
|
640
|
-
this.i.
|
|
648
|
+
this.i.fu.stroke = v;
|
|
641
649
|
},
|
|
642
650
|
enumerable: false,
|
|
643
651
|
configurable: true
|
|
@@ -647,12 +655,12 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
647
655
|
* Gets or sets the stroke thickness.
|
|
648
656
|
*/
|
|
649
657
|
get: function () {
|
|
650
|
-
return this.i.
|
|
658
|
+
return this.i.fu ? this.i.fu.strokeThickness : NaN;
|
|
651
659
|
},
|
|
652
660
|
set: function (v) {
|
|
653
661
|
this.ensureUnselectedSliceStyle();
|
|
654
|
-
this.i.
|
|
655
|
-
this._a("unselectedSliceStrokeThickness", this.i.
|
|
662
|
+
this.i.fu.strokeThickness = +v;
|
|
663
|
+
this._a("unselectedSliceStrokeThickness", this.i.fu.strokeThickness);
|
|
656
664
|
},
|
|
657
665
|
enumerable: false,
|
|
658
666
|
configurable: true
|
|
@@ -662,22 +670,56 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
662
670
|
* Gets or sets the opacity.
|
|
663
671
|
*/
|
|
664
672
|
get: function () {
|
|
665
|
-
return this.i.
|
|
673
|
+
return this.i.fu ? this.i.fu.opacity : NaN;
|
|
666
674
|
},
|
|
667
675
|
set: function (v) {
|
|
668
676
|
this.ensureUnselectedSliceStyle();
|
|
669
|
-
this.i.
|
|
670
|
-
this._a("unselectedSliceOpacity", this.i.
|
|
677
|
+
this.i.fu.opacity = +v;
|
|
678
|
+
this._a("unselectedSliceOpacity", this.i.fu.opacity);
|
|
671
679
|
},
|
|
672
680
|
enumerable: false,
|
|
673
681
|
configurable: true
|
|
674
682
|
});
|
|
675
683
|
IgcFunnelChartComponent.prototype.ensureUnselectedSliceStyle = function () {
|
|
676
|
-
if (this.i.
|
|
684
|
+
if (this.i.fu) {
|
|
677
685
|
return;
|
|
678
686
|
}
|
|
679
|
-
this.i.
|
|
687
|
+
this.i.fu = new Style();
|
|
680
688
|
};
|
|
689
|
+
Object.defineProperty(IgcFunnelChartComponent.prototype, "selectedItems", {
|
|
690
|
+
/**
|
|
691
|
+
* Represents the current selected items.
|
|
692
|
+
*/
|
|
693
|
+
get: function () {
|
|
694
|
+
if (this._selectedItems === null) {
|
|
695
|
+
var coll = new IgcFunnelChartSelectedItemsCollection();
|
|
696
|
+
var innerColl = this.i.selectedItems;
|
|
697
|
+
if (!innerColl) {
|
|
698
|
+
innerColl = new FunnelChartSelectedItemsCollection_internal();
|
|
699
|
+
}
|
|
700
|
+
this._selectedItems = coll._fromInner(innerColl);
|
|
701
|
+
}
|
|
702
|
+
return this._selectedItems;
|
|
703
|
+
},
|
|
704
|
+
set: function (v) {
|
|
705
|
+
if (this._selectedItems !== null) {
|
|
706
|
+
this._selectedItems._setSyncTarget(null);
|
|
707
|
+
this._selectedItems = null;
|
|
708
|
+
}
|
|
709
|
+
var coll = new IgcFunnelChartSelectedItemsCollection();
|
|
710
|
+
this._selectedItems = coll._fromOuter(v);
|
|
711
|
+
var syncColl = new SyncableObservableCollection$1(Base.$type);
|
|
712
|
+
var innerColl = this.i.selectedItems;
|
|
713
|
+
if (!innerColl) {
|
|
714
|
+
innerColl = new FunnelChartSelectedItemsCollection_internal();
|
|
715
|
+
}
|
|
716
|
+
syncColl._inner = innerColl;
|
|
717
|
+
syncColl.clear();
|
|
718
|
+
this._selectedItems._setSyncTarget(syncColl);
|
|
719
|
+
},
|
|
720
|
+
enumerable: false,
|
|
721
|
+
configurable: true
|
|
722
|
+
});
|
|
681
723
|
Object.defineProperty(IgcFunnelChartComponent.prototype, "legendItemBadgeTemplate", {
|
|
682
724
|
/**
|
|
683
725
|
* Gets or sets the LegendItemBadgeTemplate to use for the legend items.
|
|
@@ -696,11 +738,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
696
738
|
* Gets or sets whether to use the outer labels to identify the legend items.
|
|
697
739
|
*/
|
|
698
740
|
get: function () {
|
|
699
|
-
return this.i.
|
|
741
|
+
return this.i.bp;
|
|
700
742
|
},
|
|
701
743
|
set: function (v) {
|
|
702
|
-
this.i.
|
|
703
|
-
this._a("useOuterLabelsForLegend", this.i.
|
|
744
|
+
this.i.bp = ensureBool(v);
|
|
745
|
+
this._a("useOuterLabelsForLegend", this.i.bp);
|
|
704
746
|
},
|
|
705
747
|
enumerable: false,
|
|
706
748
|
configurable: true
|
|
@@ -710,10 +752,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
710
752
|
* Gets or sets the text style for inner labels
|
|
711
753
|
*/
|
|
712
754
|
get: function () {
|
|
713
|
-
return this.i.
|
|
755
|
+
return this.i.dl;
|
|
714
756
|
},
|
|
715
757
|
set: function (v) {
|
|
716
|
-
this.i.
|
|
758
|
+
this.i.dl = v;
|
|
717
759
|
},
|
|
718
760
|
enumerable: false,
|
|
719
761
|
configurable: true
|
|
@@ -723,10 +765,10 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
723
765
|
* Gets or sets the text style for outer labels
|
|
724
766
|
*/
|
|
725
767
|
get: function () {
|
|
726
|
-
return this.i.
|
|
768
|
+
return this.i.dd;
|
|
727
769
|
},
|
|
728
770
|
set: function (v) {
|
|
729
|
-
this.i.
|
|
771
|
+
this.i.dd = v;
|
|
730
772
|
},
|
|
731
773
|
enumerable: false,
|
|
732
774
|
configurable: true
|
|
@@ -736,11 +778,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
736
778
|
* Gets or sets the thickness of outline around slices.
|
|
737
779
|
*/
|
|
738
780
|
get: function () {
|
|
739
|
-
return this.i.
|
|
781
|
+
return this.i.b2;
|
|
740
782
|
},
|
|
741
783
|
set: function (v) {
|
|
742
|
-
this.i.
|
|
743
|
-
this._a("outlineThickness", this.i.
|
|
784
|
+
this.i.b2 = +v;
|
|
785
|
+
this._a("outlineThickness", this.i.b2);
|
|
744
786
|
},
|
|
745
787
|
enumerable: false,
|
|
746
788
|
configurable: true
|
|
@@ -752,11 +794,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
752
794
|
* to appear blurry.
|
|
753
795
|
*/
|
|
754
796
|
get: function () {
|
|
755
|
-
return this.i.
|
|
797
|
+
return this.i.b4;
|
|
756
798
|
},
|
|
757
799
|
set: function (v) {
|
|
758
|
-
this.i.
|
|
759
|
-
this._a("pixelScalingRatio", this.i.
|
|
800
|
+
this.i.b4 = +v;
|
|
801
|
+
this._a("pixelScalingRatio", this.i.b4);
|
|
760
802
|
},
|
|
761
803
|
enumerable: false,
|
|
762
804
|
configurable: true
|
|
@@ -766,11 +808,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
766
808
|
* Gets or sets the brush used for the outer labels.
|
|
767
809
|
*/
|
|
768
810
|
get: function () {
|
|
769
|
-
return brushToString(this.i.
|
|
811
|
+
return brushToString(this.i.fp);
|
|
770
812
|
},
|
|
771
813
|
set: function (v) {
|
|
772
|
-
this.i.
|
|
773
|
-
this._a("outerLabelTextColor", brushToString(this.i.
|
|
814
|
+
this.i.fp = stringToBrush(v);
|
|
815
|
+
this._a("outerLabelTextColor", brushToString(this.i.fp));
|
|
774
816
|
},
|
|
775
817
|
enumerable: false,
|
|
776
818
|
configurable: true
|
|
@@ -780,11 +822,11 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
780
822
|
* Gets or sets the brush used for the inner labels.
|
|
781
823
|
*/
|
|
782
824
|
get: function () {
|
|
783
|
-
return brushToString(this.i.
|
|
825
|
+
return brushToString(this.i.fq);
|
|
784
826
|
},
|
|
785
827
|
set: function (v) {
|
|
786
|
-
this.i.
|
|
787
|
-
this._a("textColor", brushToString(this.i.
|
|
828
|
+
this.i.fq = stringToBrush(v);
|
|
829
|
+
this._a("textColor", brushToString(this.i.fq));
|
|
788
830
|
},
|
|
789
831
|
enumerable: false,
|
|
790
832
|
configurable: true
|
|
@@ -861,7 +903,7 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
861
903
|
|
|
862
904
|
*/
|
|
863
905
|
IgcFunnelChartComponent.prototype.flush = function () {
|
|
864
|
-
this.i.
|
|
906
|
+
this.i.d0();
|
|
865
907
|
};
|
|
866
908
|
/**
|
|
867
909
|
* Provides container for funnel chart
|
|
@@ -878,7 +920,7 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
878
920
|
this.i.notifyResized();
|
|
879
921
|
};
|
|
880
922
|
IgcFunnelChartComponent.prototype.notifySetItem = function (source_, index, oldItem, newItem) {
|
|
881
|
-
this.i.
|
|
923
|
+
this.i.eb(source_, index, oldItem, newItem);
|
|
882
924
|
};
|
|
883
925
|
/**
|
|
884
926
|
* Manually notifies the chart's data source that the data it has bound to has been cleared and needs to be re-examined.
|
|
@@ -886,29 +928,60 @@ var IgcFunnelChartComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
886
928
|
|
|
887
929
|
*/
|
|
888
930
|
IgcFunnelChartComponent.prototype.notifyClearItems = function (source_) {
|
|
889
|
-
this.i.
|
|
931
|
+
this.i.d6(source_);
|
|
890
932
|
};
|
|
891
933
|
IgcFunnelChartComponent.prototype.notifyInsertItem = function (source_, index, newItem) {
|
|
892
|
-
this.i.
|
|
934
|
+
this.i.d8(source_, index, newItem);
|
|
893
935
|
};
|
|
894
936
|
IgcFunnelChartComponent.prototype.notifyRemoveItem = function (source_, index, oldItem) {
|
|
895
|
-
this.i.
|
|
937
|
+
this.i.d9(source_, index, oldItem);
|
|
896
938
|
};
|
|
897
939
|
/**
|
|
898
940
|
* Toggle selection of item at index.
|
|
899
941
|
|
|
900
942
|
*/
|
|
901
943
|
IgcFunnelChartComponent.prototype.toggleSelection = function (index) {
|
|
902
|
-
this.i.
|
|
944
|
+
this.i.eo(index);
|
|
903
945
|
};
|
|
904
946
|
/**
|
|
905
947
|
* Exports and serializes the chart visuals.
|
|
906
948
|
|
|
907
949
|
*/
|
|
908
950
|
IgcFunnelChartComponent.prototype.exportSerializedVisualData = function () {
|
|
909
|
-
var iv = this.i.
|
|
951
|
+
var iv = this.i.cm();
|
|
910
952
|
return (iv);
|
|
911
953
|
};
|
|
954
|
+
Object.defineProperty(IgcFunnelChartComponent.prototype, "selectedItemsChanged", {
|
|
955
|
+
/**
|
|
956
|
+
* Raised when the SelectedItems collection has changed.
|
|
957
|
+
*/
|
|
958
|
+
get: function () {
|
|
959
|
+
return this._selectedItemsChanged;
|
|
960
|
+
},
|
|
961
|
+
set: function (ev) {
|
|
962
|
+
var _this = this;
|
|
963
|
+
if (this._selectedItemsChanged_wrapped !== null) {
|
|
964
|
+
this.i.selectedItemsChanged = delegateRemove(this.i.selectedItemsChanged, this._selectedItemsChanged_wrapped);
|
|
965
|
+
this._selectedItemsChanged_wrapped = null;
|
|
966
|
+
this._selectedItemsChanged = null;
|
|
967
|
+
}
|
|
968
|
+
this._selectedItemsChanged = ev;
|
|
969
|
+
this._selectedItemsChanged_wrapped = function (o, e) {
|
|
970
|
+
var outerArgs = new IgcFunnelChartSelectedItemsChangedEventArgs();
|
|
971
|
+
outerArgs._provideImplementation(e);
|
|
972
|
+
if (_this.beforeSelectedItemsChanged) {
|
|
973
|
+
_this.beforeSelectedItemsChanged(_this, outerArgs);
|
|
974
|
+
}
|
|
975
|
+
if (_this._selectedItemsChanged) {
|
|
976
|
+
_this._selectedItemsChanged(_this, outerArgs);
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
this.i.selectedItemsChanged = delegateCombine(this.i.selectedItemsChanged, this._selectedItemsChanged_wrapped);
|
|
980
|
+
;
|
|
981
|
+
},
|
|
982
|
+
enumerable: false,
|
|
983
|
+
configurable: true
|
|
984
|
+
});
|
|
912
985
|
Object.defineProperty(IgcFunnelChartComponent.prototype, "sliceClicked", {
|
|
913
986
|
/**
|
|
914
987
|
* Event which is raised when a slice is clicked.
|