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
|
@@ -12,6 +12,11 @@ import { IgcFunnelSliceClickedEventArgs } from './igc-funnel-slice-clicked-event
|
|
|
12
12
|
import { IgcFunnelSliceEventArgs } from './igc-funnel-slice-event-args';
|
|
13
13
|
import { Style } from "igniteui-webcomponents-core";
|
|
14
14
|
import { HighlightedValueDisplayMode_$type } from "igniteui-webcomponents-core";
|
|
15
|
+
import { Base } from "igniteui-webcomponents-core";
|
|
16
|
+
import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
17
|
+
import { IgcFunnelChartSelectedItemsCollection } from './igc-funnel-chart-selected-items-collection';
|
|
18
|
+
import { FunnelChartSelectedItemsCollection as FunnelChartSelectedItemsCollection_internal } from './FunnelChartSelectedItemsCollection';
|
|
19
|
+
import { IgcFunnelChartSelectedItemsChangedEventArgs } from './igc-funnel-chart-selected-items-changed-event-args';
|
|
15
20
|
export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
16
21
|
class IgcFunnelChartComponent extends IgcHTMLElement {
|
|
17
22
|
set height(value) {
|
|
@@ -41,11 +46,14 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
41
46
|
this._attached = false;
|
|
42
47
|
this._queuedSetAttributes = [];
|
|
43
48
|
this._updatingFromAttribute = false;
|
|
49
|
+
this._selectedItems = null;
|
|
44
50
|
this.__p = null;
|
|
45
51
|
this._hasUserValues = new Set();
|
|
46
52
|
this._stylingContainer = null;
|
|
47
53
|
this._stylingParent = null;
|
|
48
54
|
this._inStyling = false;
|
|
55
|
+
this._selectedItemsChanged = null;
|
|
56
|
+
this._selectedItemsChanged_wrapped = null;
|
|
49
57
|
this._sliceClicked = null;
|
|
50
58
|
this._sliceClicked_wrapped = null;
|
|
51
59
|
this._sliceEnter = null;
|
|
@@ -226,59 +234,59 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
226
234
|
* Gets or sets the value member path for the funnel chart.
|
|
227
235
|
*/
|
|
228
236
|
get valueMemberPath() {
|
|
229
|
-
return this.i.
|
|
237
|
+
return this.i.dw;
|
|
230
238
|
}
|
|
231
239
|
set valueMemberPath(v) {
|
|
232
|
-
this.i.
|
|
240
|
+
this.i.dw = v;
|
|
233
241
|
}
|
|
234
242
|
/**
|
|
235
243
|
* Gets or sets the highlighted value member path for the funnel chart.
|
|
236
244
|
*/
|
|
237
245
|
get highlightedValueMemberPath() {
|
|
238
|
-
return this.i.
|
|
246
|
+
return this.i.cs;
|
|
239
247
|
}
|
|
240
248
|
set highlightedValueMemberPath(v) {
|
|
241
|
-
this.i.
|
|
249
|
+
this.i.cs = v;
|
|
242
250
|
}
|
|
243
251
|
/**
|
|
244
252
|
* Gets the actual opacity of the primary needle while highlighting
|
|
245
253
|
*/
|
|
246
254
|
get actualHighlightValueOpacity() {
|
|
247
|
-
return this.i.
|
|
255
|
+
return this.i.bx;
|
|
248
256
|
}
|
|
249
257
|
set actualHighlightValueOpacity(v) {
|
|
250
|
-
this.i.
|
|
251
|
-
this._a("actualHighlightValueOpacity", this.i.
|
|
258
|
+
this.i.bx = +v;
|
|
259
|
+
this._a("actualHighlightValueOpacity", this.i.bx);
|
|
252
260
|
}
|
|
253
261
|
/**
|
|
254
262
|
* Gets or sets the opacity while highlighting
|
|
255
263
|
*/
|
|
256
264
|
get highlightValueOpacity() {
|
|
257
|
-
return this.i.
|
|
265
|
+
return this.i.b1;
|
|
258
266
|
}
|
|
259
267
|
set highlightValueOpacity(v) {
|
|
260
|
-
this.i.
|
|
261
|
-
this._a("highlightValueOpacity", this.i.
|
|
268
|
+
this.i.b1 = +v;
|
|
269
|
+
this._a("highlightValueOpacity", this.i.b1);
|
|
262
270
|
}
|
|
263
271
|
/**
|
|
264
272
|
* Gets whether and how to display the highlighted value.
|
|
265
273
|
*/
|
|
266
274
|
get actualHighlightValueDisplayMode() {
|
|
267
|
-
return this.i.
|
|
275
|
+
return this.i.a5;
|
|
268
276
|
}
|
|
269
277
|
set actualHighlightValueDisplayMode(v) {
|
|
270
|
-
this.i.
|
|
271
|
-
this._a("actualHighlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.
|
|
278
|
+
this.i.a5 = ensureEnum(HighlightedValueDisplayMode_$type, v);
|
|
279
|
+
this._a("actualHighlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.a5));
|
|
272
280
|
}
|
|
273
281
|
/**
|
|
274
282
|
* Gets or sets whether and how to display the highlighted value.
|
|
275
283
|
*/
|
|
276
284
|
get highlightValueDisplayMode() {
|
|
277
|
-
return this.i.
|
|
285
|
+
return this.i.a6;
|
|
278
286
|
}
|
|
279
287
|
set highlightValueDisplayMode(v) {
|
|
280
|
-
this.i.
|
|
281
|
-
this._a("highlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.
|
|
288
|
+
this.i.a6 = ensureEnum(HighlightedValueDisplayMode_$type, v);
|
|
289
|
+
this._a("highlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.a6));
|
|
282
290
|
}
|
|
283
291
|
/**
|
|
284
292
|
* Gets or sets the palette of brushes to use for coloring the slices.
|
|
@@ -304,233 +312,263 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
304
312
|
* Gets or sets the percentage (from near 0 to 1) of space the bottom edge of the funnel should take.
|
|
305
313
|
*/
|
|
306
314
|
get bottomEdgeWidth() {
|
|
307
|
-
return this.i.
|
|
315
|
+
return this.i.bz;
|
|
308
316
|
}
|
|
309
317
|
set bottomEdgeWidth(v) {
|
|
310
|
-
this.i.
|
|
311
|
-
this._a("bottomEdgeWidth", this.i.
|
|
318
|
+
this.i.bz = +v;
|
|
319
|
+
this._a("bottomEdgeWidth", this.i.bz);
|
|
312
320
|
}
|
|
313
321
|
/**
|
|
314
322
|
* Gets or sets the InnerLabel mapping property for the current series object.
|
|
315
323
|
*/
|
|
316
324
|
get innerLabelMemberPath() {
|
|
317
|
-
return this.i.
|
|
325
|
+
return this.i.cz;
|
|
318
326
|
}
|
|
319
327
|
set innerLabelMemberPath(v) {
|
|
320
|
-
this.i.
|
|
328
|
+
this.i.cz = v;
|
|
321
329
|
}
|
|
322
330
|
/**
|
|
323
331
|
* Gets or sets the OuterLabel mapping property for the current series object.
|
|
324
332
|
*/
|
|
325
333
|
get outerLabelMemberPath() {
|
|
326
|
-
return this.i.
|
|
334
|
+
return this.i.da;
|
|
327
335
|
}
|
|
328
336
|
set outerLabelMemberPath(v) {
|
|
329
|
-
this.i.
|
|
337
|
+
this.i.da = v;
|
|
330
338
|
}
|
|
331
339
|
/**
|
|
332
340
|
* Gets or sets whether the inner labels are visible.
|
|
333
341
|
*/
|
|
334
342
|
get innerLabelVisibility() {
|
|
335
|
-
return this.i.
|
|
343
|
+
return this.i.fv;
|
|
336
344
|
}
|
|
337
345
|
set innerLabelVisibility(v) {
|
|
338
|
-
this.i.
|
|
339
|
-
this._a("innerLabelVisibility", enumToString(Visibility_$type, this.i.
|
|
346
|
+
this.i.fv = ensureEnum(Visibility_$type, v);
|
|
347
|
+
this._a("innerLabelVisibility", enumToString(Visibility_$type, this.i.fv));
|
|
340
348
|
}
|
|
341
349
|
/**
|
|
342
350
|
* Gets or sets whether the outer labels are visible.
|
|
343
351
|
*/
|
|
344
352
|
get outerLabelVisibility() {
|
|
345
|
-
return this.i.
|
|
353
|
+
return this.i.fw;
|
|
346
354
|
}
|
|
347
355
|
set outerLabelVisibility(v) {
|
|
348
|
-
this.i.
|
|
349
|
-
this._a("outerLabelVisibility", enumToString(Visibility_$type, this.i.
|
|
356
|
+
this.i.fw = ensureEnum(Visibility_$type, v);
|
|
357
|
+
this._a("outerLabelVisibility", enumToString(Visibility_$type, this.i.fw));
|
|
350
358
|
}
|
|
351
359
|
/**
|
|
352
360
|
* Gets or sets which side of the chart the outer labels should appear.
|
|
353
361
|
*/
|
|
354
362
|
get outerLabelAlignment() {
|
|
355
|
-
return this.i.
|
|
363
|
+
return this.i.ax;
|
|
356
364
|
}
|
|
357
365
|
set outerLabelAlignment(v) {
|
|
358
|
-
this.i.
|
|
359
|
-
this._a("outerLabelAlignment", enumToString(OuterLabelAlignment_$type, this.i.
|
|
366
|
+
this.i.ax = ensureEnum(OuterLabelAlignment_$type, v);
|
|
367
|
+
this._a("outerLabelAlignment", enumToString(OuterLabelAlignment_$type, this.i.ax));
|
|
360
368
|
}
|
|
361
369
|
/**
|
|
362
370
|
* Gets or sets how the heights of the funnel slices should be configured.
|
|
363
371
|
*/
|
|
364
372
|
get funnelSliceDisplay() {
|
|
365
|
-
return this.i.
|
|
373
|
+
return this.i.an;
|
|
366
374
|
}
|
|
367
375
|
set funnelSliceDisplay(v) {
|
|
368
|
-
this.i.
|
|
369
|
-
this._a("funnelSliceDisplay", enumToString(FunnelSliceDisplay_$type, this.i.
|
|
376
|
+
this.i.an = ensureEnum(FunnelSliceDisplay_$type, v);
|
|
377
|
+
this._a("funnelSliceDisplay", enumToString(FunnelSliceDisplay_$type, this.i.an));
|
|
370
378
|
}
|
|
371
379
|
/**
|
|
372
380
|
* 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.
|
|
373
381
|
*/
|
|
374
382
|
get formatInnerLabel() {
|
|
375
|
-
return this.i.
|
|
383
|
+
return this.i.b9;
|
|
376
384
|
}
|
|
377
385
|
set formatInnerLabel(v) {
|
|
378
|
-
this.i.
|
|
386
|
+
this.i.b9 = v;
|
|
379
387
|
}
|
|
380
388
|
/**
|
|
381
389
|
* 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.
|
|
382
390
|
*/
|
|
383
391
|
get formatOuterLabel() {
|
|
384
|
-
return this.i.
|
|
392
|
+
return this.i.ca;
|
|
385
393
|
}
|
|
386
394
|
set formatOuterLabel(v) {
|
|
387
|
-
this.i.
|
|
395
|
+
this.i.ca = v;
|
|
388
396
|
}
|
|
389
397
|
/**
|
|
390
398
|
* Gets or sets how long the animations should take to run.
|
|
391
399
|
*/
|
|
392
400
|
get transitionDuration() {
|
|
393
|
-
return this.i.
|
|
401
|
+
return this.i.cb;
|
|
394
402
|
}
|
|
395
403
|
set transitionDuration(v) {
|
|
396
|
-
this.i.
|
|
397
|
-
this._a("transitionDuration", this.i.
|
|
404
|
+
this.i.cb = +v;
|
|
405
|
+
this._a("transitionDuration", this.i.cb);
|
|
398
406
|
}
|
|
399
407
|
/**
|
|
400
408
|
* Gets or sets if the funnel should be rendered inverted.
|
|
401
409
|
*/
|
|
402
410
|
get isInverted() {
|
|
403
|
-
return this.i.
|
|
411
|
+
return this.i.bn;
|
|
404
412
|
}
|
|
405
413
|
set isInverted(v) {
|
|
406
|
-
this.i.
|
|
407
|
-
this._a("isInverted", this.i.
|
|
414
|
+
this.i.bn = ensureBool(v);
|
|
415
|
+
this._a("isInverted", this.i.bn);
|
|
408
416
|
}
|
|
409
417
|
/**
|
|
410
418
|
* Gets or sets whether to use a Bezier curve to define the funnel.
|
|
411
419
|
*/
|
|
412
420
|
get useBezierCurve() {
|
|
413
|
-
return this.i.
|
|
421
|
+
return this.i.bo;
|
|
414
422
|
}
|
|
415
423
|
set useBezierCurve(v) {
|
|
416
|
-
this.i.
|
|
417
|
-
this._a("useBezierCurve", this.i.
|
|
424
|
+
this.i.bo = ensureBool(v);
|
|
425
|
+
this._a("useBezierCurve", this.i.bo);
|
|
418
426
|
}
|
|
419
427
|
/**
|
|
420
428
|
* Gets or sets whether to allow slices to be selected.
|
|
421
429
|
*/
|
|
422
430
|
get allowSliceSelection() {
|
|
423
|
-
return this.i.
|
|
431
|
+
return this.i.bh;
|
|
424
432
|
}
|
|
425
433
|
set allowSliceSelection(v) {
|
|
426
|
-
this.i.
|
|
427
|
-
this._a("allowSliceSelection", this.i.
|
|
434
|
+
this.i.bh = ensureBool(v);
|
|
435
|
+
this._a("allowSliceSelection", this.i.bh);
|
|
428
436
|
}
|
|
429
437
|
/**
|
|
430
438
|
* Gets or sets whether to use the unselected style on unselected slices.
|
|
431
439
|
*/
|
|
432
440
|
get useUnselectedStyle() {
|
|
433
|
-
return this.i.
|
|
441
|
+
return this.i.bq;
|
|
434
442
|
}
|
|
435
443
|
set useUnselectedStyle(v) {
|
|
436
|
-
this.i.
|
|
437
|
-
this._a("useUnselectedStyle", this.i.
|
|
444
|
+
this.i.bq = ensureBool(v);
|
|
445
|
+
this._a("useUnselectedStyle", this.i.bq);
|
|
438
446
|
}
|
|
439
447
|
/**
|
|
440
448
|
* Gets or sets the fill brush.
|
|
441
449
|
*/
|
|
442
450
|
get selectedSliceFill() {
|
|
443
|
-
return this.i.
|
|
451
|
+
return this.i.ft ? this.i.ft.fill : null;
|
|
444
452
|
}
|
|
445
453
|
set selectedSliceFill(v) {
|
|
446
454
|
this.ensureSelectedSliceStyle();
|
|
447
|
-
this.i.
|
|
455
|
+
this.i.ft.fill = v;
|
|
448
456
|
}
|
|
449
457
|
/**
|
|
450
458
|
* Gets or sets the stroke brush.
|
|
451
459
|
*/
|
|
452
460
|
get selectedSliceStroke() {
|
|
453
|
-
return this.i.
|
|
461
|
+
return this.i.ft ? this.i.ft.stroke : null;
|
|
454
462
|
}
|
|
455
463
|
set selectedSliceStroke(v) {
|
|
456
464
|
this.ensureSelectedSliceStyle();
|
|
457
|
-
this.i.
|
|
465
|
+
this.i.ft.stroke = v;
|
|
458
466
|
}
|
|
459
467
|
/**
|
|
460
468
|
* Gets or sets the stroke thickness.
|
|
461
469
|
*/
|
|
462
470
|
get selectedSliceStrokeThickness() {
|
|
463
|
-
return this.i.
|
|
471
|
+
return this.i.ft ? this.i.ft.strokeThickness : NaN;
|
|
464
472
|
}
|
|
465
473
|
set selectedSliceStrokeThickness(v) {
|
|
466
474
|
this.ensureSelectedSliceStyle();
|
|
467
|
-
this.i.
|
|
468
|
-
this._a("selectedSliceStrokeThickness", this.i.
|
|
475
|
+
this.i.ft.strokeThickness = +v;
|
|
476
|
+
this._a("selectedSliceStrokeThickness", this.i.ft.strokeThickness);
|
|
469
477
|
}
|
|
470
478
|
/**
|
|
471
479
|
* Gets or sets the opacity.
|
|
472
480
|
*/
|
|
473
481
|
get selectedSliceOpacity() {
|
|
474
|
-
return this.i.
|
|
482
|
+
return this.i.ft ? this.i.ft.opacity : NaN;
|
|
475
483
|
}
|
|
476
484
|
set selectedSliceOpacity(v) {
|
|
477
485
|
this.ensureSelectedSliceStyle();
|
|
478
|
-
this.i.
|
|
479
|
-
this._a("selectedSliceOpacity", this.i.
|
|
486
|
+
this.i.ft.opacity = +v;
|
|
487
|
+
this._a("selectedSliceOpacity", this.i.ft.opacity);
|
|
480
488
|
}
|
|
481
489
|
ensureSelectedSliceStyle() {
|
|
482
|
-
if (this.i.
|
|
490
|
+
if (this.i.ft) {
|
|
483
491
|
return;
|
|
484
492
|
}
|
|
485
|
-
this.i.
|
|
493
|
+
this.i.ft = new Style();
|
|
486
494
|
}
|
|
487
495
|
/**
|
|
488
496
|
* Gets or sets the fill brush.
|
|
489
497
|
*/
|
|
490
498
|
get unselectedSliceFill() {
|
|
491
|
-
return this.i.
|
|
499
|
+
return this.i.fu ? this.i.fu.fill : null;
|
|
492
500
|
}
|
|
493
501
|
set unselectedSliceFill(v) {
|
|
494
502
|
this.ensureUnselectedSliceStyle();
|
|
495
|
-
this.i.
|
|
503
|
+
this.i.fu.fill = v;
|
|
496
504
|
}
|
|
497
505
|
/**
|
|
498
506
|
* Gets or sets the stroke brush.
|
|
499
507
|
*/
|
|
500
508
|
get unselectedSliceStroke() {
|
|
501
|
-
return this.i.
|
|
509
|
+
return this.i.fu ? this.i.fu.stroke : null;
|
|
502
510
|
}
|
|
503
511
|
set unselectedSliceStroke(v) {
|
|
504
512
|
this.ensureUnselectedSliceStyle();
|
|
505
|
-
this.i.
|
|
513
|
+
this.i.fu.stroke = v;
|
|
506
514
|
}
|
|
507
515
|
/**
|
|
508
516
|
* Gets or sets the stroke thickness.
|
|
509
517
|
*/
|
|
510
518
|
get unselectedSliceStrokeThickness() {
|
|
511
|
-
return this.i.
|
|
519
|
+
return this.i.fu ? this.i.fu.strokeThickness : NaN;
|
|
512
520
|
}
|
|
513
521
|
set unselectedSliceStrokeThickness(v) {
|
|
514
522
|
this.ensureUnselectedSliceStyle();
|
|
515
|
-
this.i.
|
|
516
|
-
this._a("unselectedSliceStrokeThickness", this.i.
|
|
523
|
+
this.i.fu.strokeThickness = +v;
|
|
524
|
+
this._a("unselectedSliceStrokeThickness", this.i.fu.strokeThickness);
|
|
517
525
|
}
|
|
518
526
|
/**
|
|
519
527
|
* Gets or sets the opacity.
|
|
520
528
|
*/
|
|
521
529
|
get unselectedSliceOpacity() {
|
|
522
|
-
return this.i.
|
|
530
|
+
return this.i.fu ? this.i.fu.opacity : NaN;
|
|
523
531
|
}
|
|
524
532
|
set unselectedSliceOpacity(v) {
|
|
525
533
|
this.ensureUnselectedSliceStyle();
|
|
526
|
-
this.i.
|
|
527
|
-
this._a("unselectedSliceOpacity", this.i.
|
|
534
|
+
this.i.fu.opacity = +v;
|
|
535
|
+
this._a("unselectedSliceOpacity", this.i.fu.opacity);
|
|
528
536
|
}
|
|
529
537
|
ensureUnselectedSliceStyle() {
|
|
530
|
-
if (this.i.
|
|
538
|
+
if (this.i.fu) {
|
|
531
539
|
return;
|
|
532
540
|
}
|
|
533
|
-
this.i.
|
|
541
|
+
this.i.fu = new Style();
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Represents the current selected items.
|
|
545
|
+
*/
|
|
546
|
+
get selectedItems() {
|
|
547
|
+
if (this._selectedItems === null) {
|
|
548
|
+
let coll = new IgcFunnelChartSelectedItemsCollection();
|
|
549
|
+
let innerColl = this.i.selectedItems;
|
|
550
|
+
if (!innerColl) {
|
|
551
|
+
innerColl = new FunnelChartSelectedItemsCollection_internal();
|
|
552
|
+
}
|
|
553
|
+
this._selectedItems = coll._fromInner(innerColl);
|
|
554
|
+
}
|
|
555
|
+
return this._selectedItems;
|
|
556
|
+
}
|
|
557
|
+
set selectedItems(v) {
|
|
558
|
+
if (this._selectedItems !== null) {
|
|
559
|
+
this._selectedItems._setSyncTarget(null);
|
|
560
|
+
this._selectedItems = null;
|
|
561
|
+
}
|
|
562
|
+
let coll = new IgcFunnelChartSelectedItemsCollection();
|
|
563
|
+
this._selectedItems = coll._fromOuter(v);
|
|
564
|
+
let syncColl = new SyncableObservableCollection$1(Base.$type);
|
|
565
|
+
let innerColl = this.i.selectedItems;
|
|
566
|
+
if (!innerColl) {
|
|
567
|
+
innerColl = new FunnelChartSelectedItemsCollection_internal();
|
|
568
|
+
}
|
|
569
|
+
syncColl._inner = innerColl;
|
|
570
|
+
syncColl.clear();
|
|
571
|
+
this._selectedItems._setSyncTarget(syncColl);
|
|
534
572
|
}
|
|
535
573
|
/**
|
|
536
574
|
* Gets or sets the LegendItemBadgeTemplate to use for the legend items.
|
|
@@ -545,39 +583,39 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
545
583
|
* Gets or sets whether to use the outer labels to identify the legend items.
|
|
546
584
|
*/
|
|
547
585
|
get useOuterLabelsForLegend() {
|
|
548
|
-
return this.i.
|
|
586
|
+
return this.i.bp;
|
|
549
587
|
}
|
|
550
588
|
set useOuterLabelsForLegend(v) {
|
|
551
|
-
this.i.
|
|
552
|
-
this._a("useOuterLabelsForLegend", this.i.
|
|
589
|
+
this.i.bp = ensureBool(v);
|
|
590
|
+
this._a("useOuterLabelsForLegend", this.i.bp);
|
|
553
591
|
}
|
|
554
592
|
/**
|
|
555
593
|
* Gets or sets the text style for inner labels
|
|
556
594
|
*/
|
|
557
595
|
get textStyle() {
|
|
558
|
-
return this.i.
|
|
596
|
+
return this.i.dl;
|
|
559
597
|
}
|
|
560
598
|
set textStyle(v) {
|
|
561
|
-
this.i.
|
|
599
|
+
this.i.dl = v;
|
|
562
600
|
}
|
|
563
601
|
/**
|
|
564
602
|
* Gets or sets the text style for outer labels
|
|
565
603
|
*/
|
|
566
604
|
get outerLabelTextStyle() {
|
|
567
|
-
return this.i.
|
|
605
|
+
return this.i.dd;
|
|
568
606
|
}
|
|
569
607
|
set outerLabelTextStyle(v) {
|
|
570
|
-
this.i.
|
|
608
|
+
this.i.dd = v;
|
|
571
609
|
}
|
|
572
610
|
/**
|
|
573
611
|
* Gets or sets the thickness of outline around slices.
|
|
574
612
|
*/
|
|
575
613
|
get outlineThickness() {
|
|
576
|
-
return this.i.
|
|
614
|
+
return this.i.b2;
|
|
577
615
|
}
|
|
578
616
|
set outlineThickness(v) {
|
|
579
|
-
this.i.
|
|
580
|
-
this._a("outlineThickness", this.i.
|
|
617
|
+
this.i.b2 = +v;
|
|
618
|
+
this._a("outlineThickness", this.i.b2);
|
|
581
619
|
}
|
|
582
620
|
/**
|
|
583
621
|
* Gets or sets the scaling value used to affect the pixel density of the control.
|
|
@@ -585,31 +623,31 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
585
623
|
* to appear blurry.
|
|
586
624
|
*/
|
|
587
625
|
get pixelScalingRatio() {
|
|
588
|
-
return this.i.
|
|
626
|
+
return this.i.b4;
|
|
589
627
|
}
|
|
590
628
|
set pixelScalingRatio(v) {
|
|
591
|
-
this.i.
|
|
592
|
-
this._a("pixelScalingRatio", this.i.
|
|
629
|
+
this.i.b4 = +v;
|
|
630
|
+
this._a("pixelScalingRatio", this.i.b4);
|
|
593
631
|
}
|
|
594
632
|
/**
|
|
595
633
|
* Gets or sets the brush used for the outer labels.
|
|
596
634
|
*/
|
|
597
635
|
get outerLabelTextColor() {
|
|
598
|
-
return brushToString(this.i.
|
|
636
|
+
return brushToString(this.i.fp);
|
|
599
637
|
}
|
|
600
638
|
set outerLabelTextColor(v) {
|
|
601
|
-
this.i.
|
|
602
|
-
this._a("outerLabelTextColor", brushToString(this.i.
|
|
639
|
+
this.i.fp = stringToBrush(v);
|
|
640
|
+
this._a("outerLabelTextColor", brushToString(this.i.fp));
|
|
603
641
|
}
|
|
604
642
|
/**
|
|
605
643
|
* Gets or sets the brush used for the inner labels.
|
|
606
644
|
*/
|
|
607
645
|
get textColor() {
|
|
608
|
-
return brushToString(this.i.
|
|
646
|
+
return brushToString(this.i.fq);
|
|
609
647
|
}
|
|
610
648
|
set textColor(v) {
|
|
611
|
-
this.i.
|
|
612
|
-
this._a("textColor", brushToString(this.i.
|
|
649
|
+
this.i.fq = stringToBrush(v);
|
|
650
|
+
this._a("textColor", brushToString(this.i.fq));
|
|
613
651
|
}
|
|
614
652
|
findByName(name) {
|
|
615
653
|
if (this.findEphemera) {
|
|
@@ -679,7 +717,7 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
679
717
|
|
|
680
718
|
*/
|
|
681
719
|
flush() {
|
|
682
|
-
this.i.
|
|
720
|
+
this.i.d0();
|
|
683
721
|
}
|
|
684
722
|
/**
|
|
685
723
|
* Provides container for funnel chart
|
|
@@ -696,7 +734,7 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
696
734
|
this.i.notifyResized();
|
|
697
735
|
}
|
|
698
736
|
notifySetItem(source_, index, oldItem, newItem) {
|
|
699
|
-
this.i.
|
|
737
|
+
this.i.eb(source_, index, oldItem, newItem);
|
|
700
738
|
}
|
|
701
739
|
/**
|
|
702
740
|
* Manually notifies the chart's data source that the data it has bound to has been cleared and needs to be re-examined.
|
|
@@ -704,29 +742,55 @@ export let IgcFunnelChartComponent = /*@__PURE__*/ (() => {
|
|
|
704
742
|
|
|
705
743
|
*/
|
|
706
744
|
notifyClearItems(source_) {
|
|
707
|
-
this.i.
|
|
745
|
+
this.i.d6(source_);
|
|
708
746
|
}
|
|
709
747
|
notifyInsertItem(source_, index, newItem) {
|
|
710
|
-
this.i.
|
|
748
|
+
this.i.d8(source_, index, newItem);
|
|
711
749
|
}
|
|
712
750
|
notifyRemoveItem(source_, index, oldItem) {
|
|
713
|
-
this.i.
|
|
751
|
+
this.i.d9(source_, index, oldItem);
|
|
714
752
|
}
|
|
715
753
|
/**
|
|
716
754
|
* Toggle selection of item at index.
|
|
717
755
|
|
|
718
756
|
*/
|
|
719
757
|
toggleSelection(index) {
|
|
720
|
-
this.i.
|
|
758
|
+
this.i.eo(index);
|
|
721
759
|
}
|
|
722
760
|
/**
|
|
723
761
|
* Exports and serializes the chart visuals.
|
|
724
762
|
|
|
725
763
|
*/
|
|
726
764
|
exportSerializedVisualData() {
|
|
727
|
-
let iv = this.i.
|
|
765
|
+
let iv = this.i.cm();
|
|
728
766
|
return (iv);
|
|
729
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* Raised when the SelectedItems collection has changed.
|
|
770
|
+
*/
|
|
771
|
+
get selectedItemsChanged() {
|
|
772
|
+
return this._selectedItemsChanged;
|
|
773
|
+
}
|
|
774
|
+
set selectedItemsChanged(ev) {
|
|
775
|
+
if (this._selectedItemsChanged_wrapped !== null) {
|
|
776
|
+
this.i.selectedItemsChanged = delegateRemove(this.i.selectedItemsChanged, this._selectedItemsChanged_wrapped);
|
|
777
|
+
this._selectedItemsChanged_wrapped = null;
|
|
778
|
+
this._selectedItemsChanged = null;
|
|
779
|
+
}
|
|
780
|
+
this._selectedItemsChanged = ev;
|
|
781
|
+
this._selectedItemsChanged_wrapped = (o, e) => {
|
|
782
|
+
let outerArgs = new IgcFunnelChartSelectedItemsChangedEventArgs();
|
|
783
|
+
outerArgs._provideImplementation(e);
|
|
784
|
+
if (this.beforeSelectedItemsChanged) {
|
|
785
|
+
this.beforeSelectedItemsChanged(this, outerArgs);
|
|
786
|
+
}
|
|
787
|
+
if (this._selectedItemsChanged) {
|
|
788
|
+
this._selectedItemsChanged(this, outerArgs);
|
|
789
|
+
}
|
|
790
|
+
};
|
|
791
|
+
this.i.selectedItemsChanged = delegateCombine(this.i.selectedItemsChanged, this._selectedItemsChanged_wrapped);
|
|
792
|
+
;
|
|
793
|
+
}
|
|
730
794
|
/**
|
|
731
795
|
* Event which is raised when a slice is clicked.
|
|
732
796
|
* Function takes first argument null and second argument ui.
|