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.
Files changed (36) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +1107 -602
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AxisStrokeSettings.js +21 -0
  4. package/esm2015/lib/DataChartToolbarProvider.js +229 -196
  5. package/esm2015/lib/FunnelChartSelectedItemsChangedEventArgs.js +43 -0
  6. package/esm2015/lib/FunnelChartSelectedItemsCollection.js +42 -0
  7. package/esm2015/lib/XamFunnelView_combined.js +353 -304
  8. package/esm2015/lib/igc-funnel-chart-component.js +168 -104
  9. package/esm2015/lib/igc-funnel-chart-selected-items-changed-event-args.js +126 -0
  10. package/esm2015/lib/igc-funnel-chart-selected-items-collection.js +30 -0
  11. package/esm2015/lib/igc-series-viewer-component.js +33 -0
  12. package/esm2015/public_api.js +5 -0
  13. package/esm5/lib/AxisStrokeSettings.js +23 -0
  14. package/esm5/lib/DataChartToolbarProvider.js +229 -196
  15. package/esm5/lib/FunnelChartSelectedItemsChangedEventArgs.js +57 -0
  16. package/esm5/lib/FunnelChartSelectedItemsCollection.js +48 -0
  17. package/esm5/lib/XamFunnelView_combined.js +368 -302
  18. package/esm5/lib/igc-funnel-chart-component.js +177 -104
  19. package/esm5/lib/igc-funnel-chart-selected-items-changed-event-args.js +144 -0
  20. package/esm5/lib/igc-funnel-chart-selected-items-collection.js +35 -0
  21. package/esm5/lib/igc-series-viewer-component.js +45 -0
  22. package/esm5/public_api.js +5 -0
  23. package/fesm2015/igniteui-webcomponents-charts.js +1029 -603
  24. package/fesm5/igniteui-webcomponents-charts.js +1103 -603
  25. package/lib/AxisStrokeSettings.d.ts +10 -0
  26. package/lib/DataChartToolbarProvider.d.ts +28 -26
  27. package/lib/FunnelChartSelectedItemsChangedEventArgs.d.ts +18 -0
  28. package/lib/FunnelChartSelectedItemsCollection.d.ts +14 -0
  29. package/lib/FunnelChartVisualData.d.ts +3 -3
  30. package/lib/XamFunnelView_combined.d.ts +111 -107
  31. package/lib/igc-funnel-chart-component.d.ts +15 -0
  32. package/lib/igc-funnel-chart-selected-items-changed-event-args.d.ts +33 -0
  33. package/lib/igc-funnel-chart-selected-items-collection.d.ts +6 -0
  34. package/lib/igc-series-viewer-component.d.ts +18 -0
  35. package/package.json +2 -2
  36. package/public_api.d.ts +5 -0
@@ -14,14 +14,16 @@ import { ToolActionLabelInfo } from "igniteui-webcomponents-core";
14
14
  import { ToolActionCheckboxInfo } from "igniteui-webcomponents-core";
15
15
  import { DeviceUtils } from "igniteui-webcomponents-core";
16
16
  import { ToolActionRadioInfo } from "igniteui-webcomponents-core";
17
+ import { XamDataChart } from "./XamDataChart";
18
+ import { Axis } from "./Axis";
19
+ import { BrushUtilCore } from "igniteui-webcomponents-core";
17
20
  import { ToolCommandArgument } from "igniteui-webcomponents-core";
18
21
  import { AutomaticSeriesRequest } from "./AutomaticSeriesRequest";
19
- import { Axis } from "./Axis";
20
- import { XamDataChart } from "./XamDataChart";
22
+ import { AxisStrokeSettings } from "./AxisStrokeSettings";
21
23
  import { FastIterationDictionary$2 } from "igniteui-webcomponents-core";
22
- import { Brush } from "igniteui-webcomponents-core";
23
- import { BrushUtil } from "igniteui-webcomponents-core";
24
24
  import { CaptureImageSettings } from "igniteui-webcomponents-core";
25
+ import { BrushUtil } from "igniteui-webcomponents-core";
26
+ import { isNaN_ } from "igniteui-webcomponents-core";
25
27
  /**
26
28
  * @hidden
27
29
  */
@@ -30,11 +32,11 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
30
32
  constructor() {
31
33
  super(...arguments);
32
34
  this._container = null;
33
- this.j = null;
34
- this.h = null;
35
- this.f = null;
36
- this.p = null;
37
- this.q = new FastIterationDictionary$2(Axis.$, Brush.$, 0);
35
+ this.k = null;
36
+ this.i = null;
37
+ this.g = null;
38
+ this.q = null;
39
+ this.r = new FastIterationDictionary$2(Axis.$, AxisStrokeSettings.$, 0);
38
40
  }
39
41
  get container() {
40
42
  return this._container;
@@ -42,7 +44,7 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
42
44
  set container(a) {
43
45
  this._container = a;
44
46
  }
45
- get k() {
47
+ get l() {
46
48
  if (TypeRegistrar.isRegistered("HorizontalAnchoredCategorySeriesProxy")) {
47
49
  return TypeRegistrar.create("HorizontalAnchoredCategorySeriesProxy");
48
50
  }
@@ -50,10 +52,10 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
50
52
  throw new BaseError(1, "category series module is not loaded, but is required.");
51
53
  }
52
54
  }
53
- get t() {
55
+ get v() {
54
56
  return (TypeRegistrar.isRegistered("HorizontalAnchoredCategorySeriesProxy"));
55
57
  }
56
- get i() {
58
+ get j() {
57
59
  if (TypeRegistrar.isRegistered("FinancialPriceSeriesProxy")) {
58
60
  return TypeRegistrar.create("FinancialPriceSeriesProxy");
59
61
  }
@@ -61,22 +63,22 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
61
63
  throw new BaseError(1, "category series module is not loaded, but is required.");
62
64
  }
63
65
  }
64
- get s() {
66
+ get u() {
65
67
  return (TypeRegistrar.isRegistered("HorizontalAnchoredCategorySeriesProxy"));
66
68
  }
67
- get g() {
68
- if (this.f == null) {
69
+ get h() {
70
+ if (this.g == null) {
69
71
  if (TypeRegistrar.isRegistered("AnnotationLayerProxy")) {
70
- this.f = TypeRegistrar.create("AnnotationLayerProxy");
71
- this.f.container = this.container;
72
+ this.g = TypeRegistrar.create("AnnotationLayerProxy");
73
+ this.g.container = this.container;
72
74
  }
73
75
  else {
74
76
  throw new BaseError(1, "annotation layer module is not loaded, but is required.");
75
77
  }
76
78
  }
77
- return this.f;
79
+ return this.g;
78
80
  }
79
- get r() {
81
+ get t() {
80
82
  return (TypeRegistrar.isRegistered("AnnotationLayerProxy"));
81
83
  }
82
84
  getDesiredToolbarActions(a) {
@@ -198,28 +200,28 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
198
200
  return $ret;
199
201
  })()), v];
200
202
  for (let x = 0; x < w.length; x++) {
201
- this.a7(a, w[x]);
203
+ this.a9(a, w[x]);
202
204
  }
203
205
  return w;
204
206
  }
205
- a7(a, b) {
207
+ a9(a, b) {
206
208
  if (b.actions != null && b.actions.length > 0) {
207
209
  for (let c = 0; c < b.actions.length; c++) {
208
- this.a7(a, b.actions[c]);
210
+ this.a9(a, b.actions[c]);
209
211
  }
210
212
  }
211
213
  switch (b.name) {
212
214
  case "ShowValueLabels":
213
215
  {
214
216
  let d = b;
215
- let e = this.l(a);
217
+ let e = this.m(a);
216
218
  d.isChecked = e != null && e._visibility == 0;
217
219
  }
218
220
  break;
219
221
  case "ShowLastValueLabel":
220
222
  {
221
223
  let f = b;
222
- let g = this.n(a);
224
+ let g = this.o(a);
223
225
  f.isChecked = g != null && g._visibility == 0;
224
226
  }
225
227
  break;
@@ -228,13 +230,13 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
228
230
  let h = b;
229
231
  for (let i of fromEnum(a.series)) {
230
232
  if (i.ey) {
231
- if (this.t && this.k.matchesType(i)) {
232
- h.isChecked = this.k.getTrendLineType(i) == 1;
233
+ if (this.v && this.l.matchesType(i)) {
234
+ h.isChecked = this.l.getTrendLineType(i) == 1;
233
235
  }
234
236
  }
235
237
  else if (i.e9) {
236
- if (this.s && this.i.matchesType(i)) {
237
- h.isChecked = this.i.getTrendLineType(i) == 1;
238
+ if (this.u && this.j.matchesType(i)) {
239
+ h.isChecked = this.j.getTrendLineType(i) == 1;
238
240
  }
239
241
  }
240
242
  }
@@ -245,13 +247,13 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
245
247
  let j = b;
246
248
  for (let k of fromEnum(a.series)) {
247
249
  if (k.ey) {
248
- if (this.t && this.k.matchesType(k)) {
249
- j.isChecked = this.k.getTrendLineType(k) == 7;
250
+ if (this.v && this.l.matchesType(k)) {
251
+ j.isChecked = this.l.getTrendLineType(k) == 7;
250
252
  }
251
253
  }
252
254
  else if (k.e9) {
253
- if (this.s && this.i.matchesType(k)) {
254
- j.isChecked = this.i.getTrendLineType(k) == 7;
255
+ if (this.u && this.j.matchesType(k)) {
256
+ j.isChecked = this.j.getTrendLineType(k) == 7;
255
257
  }
256
258
  }
257
259
  }
@@ -262,13 +264,13 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
262
264
  let l = b;
263
265
  for (let m of fromEnum(a.series)) {
264
266
  if (m.ey) {
265
- if (this.t && this.k.matchesType(m)) {
266
- l.isChecked = this.k.getTrendLineType(m) == 6;
267
+ if (this.v && this.l.matchesType(m)) {
268
+ l.isChecked = this.l.getTrendLineType(m) == 6;
267
269
  }
268
270
  }
269
271
  else if (m.e9) {
270
- if (this.s && this.i.matchesType(m)) {
271
- l.isChecked = this.i.getTrendLineType(m) == 6;
272
+ if (this.u && this.j.matchesType(m)) {
273
+ l.isChecked = this.j.getTrendLineType(m) == 6;
272
274
  }
273
275
  }
274
276
  }
@@ -281,12 +283,12 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
281
283
  let p = a.series.count;
282
284
  for (let q of fromEnum(a.series)) {
283
285
  if (q.ey) {
284
- if (this.t && this.k.matchesType(q) && this.k.getTrendLineType(q) == 0) {
286
+ if (this.v && this.l.matchesType(q) && this.l.getTrendLineType(q) == 0) {
285
287
  o = o + 1;
286
288
  }
287
289
  }
288
290
  else if (q.e9) {
289
- if (this.s && this.i.matchesType(q) && this.i.getTrendLineType(q) == 0) {
291
+ if (this.u && this.j.matchesType(q) && this.j.getTrendLineType(q) == 0) {
290
292
  o = o + 1;
291
293
  }
292
294
  }
@@ -300,36 +302,42 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
300
302
  case "MinValue":
301
303
  {
302
304
  let r = b;
303
- let s = this.o(a, 4);
305
+ let s = this.p(a, 4);
304
306
  r.isChecked = s != null && s._visibility == 0;
305
307
  }
306
308
  break;
307
309
  case "MaxValue":
308
310
  {
309
311
  let t = b;
310
- let u = this.o(a, 5);
312
+ let u = this.p(a, 5);
311
313
  t.isChecked = u != null && u._visibility == 0;
312
314
  }
313
315
  break;
314
316
  case "Average":
315
317
  {
316
318
  let v = b;
317
- let w = this.o(a, 6);
319
+ let w = this.p(a, 6);
318
320
  v.isChecked = w != null && w._visibility == 0;
319
321
  }
320
322
  break;
321
323
  case "ShowCrosshairs":
322
324
  {
323
325
  let x = b;
324
- let y = this.m(a);
326
+ let y = this.n(a);
325
327
  x.isChecked = y != null && y._visibility == 0;
326
328
  }
327
329
  break;
328
- case "SeriesAvg":
330
+ case "ShowGridlines":
329
331
  {
330
332
  let z = b;
331
- let aa = this.o(a, 3);
332
- z.isChecked = aa != null && aa._visibility == 0;
333
+ z.isChecked = this.s(a);
334
+ }
335
+ break;
336
+ case "SeriesAvg":
337
+ {
338
+ let aa = b;
339
+ let ab = this.p(a, 3);
340
+ aa.isChecked = ab != null && ab._visibility == 0;
333
341
  }
334
342
  break;
335
343
  }
@@ -465,92 +473,104 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
465
473
  e.iconCollectionName = "ChartToolbarIcons";
466
474
  return [b, c, d, e];
467
475
  }
468
- l(a) {
476
+ m(a) {
469
477
  for (let b of fromEnum(a.series)) {
470
- if (this.g.isCalloutLayer(b) && this.g.getIsAutoCalloutBehaviorEnabled(b)) {
478
+ if (this.h.isCalloutLayer(b) && this.h.getIsAutoCalloutBehaviorEnabled(b)) {
471
479
  return b;
472
480
  }
473
481
  }
474
482
  return null;
475
483
  }
476
- n(a) {
484
+ o(a) {
477
485
  for (let b of fromEnum(a.series)) {
478
- if (this.g.isFinalValueLayer(b)) {
486
+ if (this.h.isFinalValueLayer(b)) {
479
487
  return b;
480
488
  }
481
489
  }
482
490
  return null;
483
491
  }
484
- o(a, b) {
492
+ p(a, b) {
485
493
  for (let c of fromEnum(a.series)) {
486
- if (this.g.isValueLayer(c) && this.g.getValueMode(c) == b) {
494
+ if (this.h.isValueLayer(c) && this.h.getValueMode(c) == b) {
487
495
  return c;
488
496
  }
489
497
  }
490
498
  return null;
491
499
  }
492
- m(a) {
500
+ n(a) {
493
501
  for (let b of fromEnum(a.series)) {
494
- if (this.g.isCrosshairLayer(b)) {
502
+ if (this.h.isCrosshairLayer(b)) {
495
503
  return b;
496
504
  }
497
505
  }
498
506
  return null;
499
507
  }
508
+ s(a) {
509
+ let b = typeCast(XamDataChart.$, a);
510
+ if (b != null) {
511
+ for (let c = 0; c < b.axes.count; c++) {
512
+ let d = b.axes._inner[c];
513
+ if (d.jw != null && !BrushUtilCore.a(d.jw) && d.et != 0) {
514
+ return true;
515
+ }
516
+ }
517
+ }
518
+ return false;
519
+ }
500
520
  onToolCommandExecuting(a, b) {
501
521
  switch (b.commandId) {
502
522
  case "ZoomReset":
503
- this.bo(a, b);
523
+ this.bq(a, b);
504
524
  break;
505
525
  case "ZoomIn":
506
- this.bm(a, b);
526
+ this.bo(a, b);
507
527
  break;
508
528
  case "ZoomOut":
509
- this.bn(a, b);
529
+ this.bp(a, b);
510
530
  break;
511
531
  case "ShowCrosshairs":
512
- this.ba(a, b);
532
+ this.bc(a, b);
513
533
  break;
514
534
  case "ShowGridlines":
515
- this.bc(a, b);
535
+ this.be(a, b);
516
536
  break;
517
537
  case "MaxValue":
518
- this.bg(a, b);
538
+ this.bi(a, b);
519
539
  break;
520
540
  case "MinValue":
521
- this.bh(a, b);
541
+ this.bj(a, b);
522
542
  break;
523
543
  case "Average":
524
- this.a8(a, b);
544
+ this.ba(a, b);
525
545
  break;
526
546
  case "Exponential":
527
- this.bb(a, b);
547
+ this.bd(a, b);
528
548
  break;
529
549
  case "Linear":
530
- this.be(a, b);
550
+ this.bg(a, b);
531
551
  break;
532
552
  case "Logarithmic":
533
- this.bf(a, b);
553
+ this.bh(a, b);
534
554
  break;
535
555
  case "NoTrends":
536
- this.bi(a, b);
556
+ this.bk(a, b);
537
557
  break;
538
558
  case "SeriesAvg":
539
- this.bj(a, b);
559
+ this.bl(a, b);
540
560
  break;
541
561
  case "ShowValueLabels":
542
- this.bl(a, b);
562
+ this.bn(a, b);
543
563
  break;
544
564
  case "ShowLastValueLabel":
545
- this.bk(a, b);
565
+ this.bm(a, b);
546
566
  break;
547
567
  case "CopyAsImage":
548
- this.a9(a, b);
568
+ this.bb(a, b);
549
569
  return 2;
550
570
  }
551
571
  return 0;
552
572
  }
553
- u(a, b) {
573
+ w(a, b) {
554
574
  if (a.commandId == b) {
555
575
  let e = a.argumentsList;
556
576
  for (let d = 0; d < e.length; d++) {
@@ -562,14 +582,14 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
562
582
  }
563
583
  return false;
564
584
  }
565
- ba(a, b) {
566
- let c = this.m(a);
567
- if (this.v(a, c)) {
585
+ bc(a, b) {
586
+ let c = this.n(a);
587
+ if (this.x(a, c)) {
568
588
  return;
569
589
  }
570
- this.bp(a, b, "ShowCrosshairs", 0, () => {
571
- let d = this.g.createCrosshairLayer();
572
- this.g.setCrosshairOnAxesEnabled(d, true);
590
+ this.br(a, b, "ShowCrosshairs", 0, () => {
591
+ let d = this.h.createCrosshairLayer();
592
+ this.h.setCrosshairOnAxesEnabled(d, true);
573
593
  let e = new AutomaticSeriesRequest();
574
594
  e.a = 0;
575
595
  e.e = true;
@@ -577,118 +597,131 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
577
597
  return e;
578
598
  });
579
599
  }
580
- bc(a, b) {
581
- let c = this.u(b, "ShowGridlines");
600
+ f(a, b) {
601
+ let c = new AxisStrokeSettings();
602
+ c.b = a.jz == null || BrushUtilCore.a(a.jz) ? b : a.jz;
603
+ c.a = isNaN_(a.et) || a.et == 0 ? DeviceUtils.g(1) : a.et;
604
+ this.r.item(a, c);
605
+ return c;
606
+ }
607
+ be(a, b) {
608
+ let c = this.w(b, "ShowGridlines");
582
609
  if (!c) {
583
- for (let d = 0; d < this.q.o.count; d++) {
584
- let e = this.q.o._inner[d];
585
- if (e.jw != null) {
586
- e.jz = BrushUtil.h(0, 0, 0, 0);
610
+ let d = typeCast(XamDataChart.$, a);
611
+ if (d != null) {
612
+ for (let e = 0; e < d.axes.count; e++) {
613
+ let f = d.axes._inner[e];
614
+ if (!this.r.d(f)) {
615
+ this.f(f, d.aaq);
616
+ }
617
+ f.et = 0;
587
618
  }
588
619
  }
589
620
  }
590
621
  else {
591
- let f = typeCast(XamDataChart.$, a);
592
- if (f != null) {
593
- for (let g = 0; g < f.axes.count; g++) {
594
- let h = f.axes._inner[g];
595
- if (this.q.d(h)) {
596
- h.jz = this.q.item(h);
597
- }
598
- else {
599
- if (h.cb) {
600
- if (h.jz == null) {
601
- h.jz = f.aaq;
602
- this.q.s(h, f.aaq);
603
- }
604
- else {
605
- this.q.s(h, h.jz);
606
- }
622
+ let g = typeCast(XamDataChart.$, a);
623
+ if (g != null) {
624
+ for (let h = 0; h < g.axes.count; h++) {
625
+ let i = g.axes._inner[h];
626
+ let j = true;
627
+ if (this.r.d(i)) {
628
+ if (this.r.item(i).b != i.jz || i.et != 0) {
629
+ j = true;
630
+ }
631
+ else {
632
+ i.jz = this.r.item(i).b;
633
+ i.et = this.r.item(i).a;
634
+ j = false;
607
635
  }
608
636
  }
637
+ if (j) {
638
+ let k = this.f(i, g.aaq);
639
+ i.jz = k.b;
640
+ i.et = k.a;
641
+ }
609
642
  }
610
643
  }
611
644
  }
612
645
  }
613
- bb(a, b) {
614
- if (!this.t) {
646
+ bd(a, b) {
647
+ if (!this.v) {
615
648
  return;
616
649
  }
617
- let c = this.u(b, "Exponential");
650
+ let c = this.w(b, "Exponential");
618
651
  if (c) {
619
652
  for (let d of fromEnum(a.series)) {
620
653
  if (d.ey) {
621
- if (this.t && this.k.matchesType(d)) {
622
- this.k.setTrendLineType(d, 7);
654
+ if (this.v && this.l.matchesType(d)) {
655
+ this.l.setTrendLineType(d, 7);
623
656
  }
624
657
  }
625
658
  else if (d.e9) {
626
- if (this.s && this.i.matchesType(d)) {
627
- this.i.setTrendLineType(d, 7);
659
+ if (this.u && this.j.matchesType(d)) {
660
+ this.j.setTrendLineType(d, 7);
628
661
  }
629
662
  }
630
663
  }
631
664
  }
632
665
  }
633
- be(a, b) {
634
- if (!this.t) {
666
+ bg(a, b) {
667
+ if (!this.v) {
635
668
  return;
636
669
  }
637
- let c = this.u(b, "Linear");
670
+ let c = this.w(b, "Linear");
638
671
  if (c) {
639
672
  for (let d of fromEnum(a.series)) {
640
673
  if (d.ey) {
641
- if (this.t && this.k.matchesType(d)) {
642
- this.k.setTrendLineType(d, 1);
674
+ if (this.v && this.l.matchesType(d)) {
675
+ this.l.setTrendLineType(d, 1);
643
676
  }
644
677
  }
645
678
  else if (d.e9) {
646
- if (this.s && this.i.matchesType(d)) {
647
- this.i.setTrendLineType(d, 1);
679
+ if (this.u && this.j.matchesType(d)) {
680
+ this.j.setTrendLineType(d, 1);
648
681
  }
649
682
  }
650
683
  }
651
684
  }
652
685
  }
653
- bf(a, b) {
654
- let c = this.u(b, "Logarithmic");
686
+ bh(a, b) {
687
+ let c = this.w(b, "Logarithmic");
655
688
  if (c) {
656
689
  for (let d of fromEnum(a.series)) {
657
690
  if (d.ey) {
658
- if (this.t && this.k.matchesType(d)) {
659
- this.k.setTrendLineType(d, 6);
691
+ if (this.v && this.l.matchesType(d)) {
692
+ this.l.setTrendLineType(d, 6);
660
693
  }
661
694
  }
662
695
  else if (d.e9) {
663
- if (this.s && this.i.matchesType(d)) {
664
- this.i.setTrendLineType(d, 6);
696
+ if (this.u && this.j.matchesType(d)) {
697
+ this.j.setTrendLineType(d, 6);
665
698
  }
666
699
  }
667
700
  }
668
701
  }
669
702
  }
670
- bi(a, b) {
671
- let c = this.u(b, "NoTrends");
703
+ bk(a, b) {
704
+ let c = this.w(b, "NoTrends");
672
705
  if (c) {
673
706
  for (let d of fromEnum(a.series)) {
674
707
  if (d.ey) {
675
- if (this.t && this.k.matchesType(d)) {
676
- this.k.setTrendLineType(d, 0);
708
+ if (this.v && this.l.matchesType(d)) {
709
+ this.l.setTrendLineType(d, 0);
677
710
  }
678
711
  }
679
712
  else if (d.e9) {
680
- if (this.s && this.i.matchesType(d)) {
681
- this.i.setTrendLineType(d, 0);
713
+ if (this.u && this.j.matchesType(d)) {
714
+ this.j.setTrendLineType(d, 0);
682
715
  }
683
716
  }
684
717
  }
685
718
  }
686
719
  }
687
- bp(a, b, c, d, e) {
688
- let f = this.u(b, c);
720
+ br(a, b, c, d, e) {
721
+ let f = this.w(b, c);
689
722
  let g = a.ao(a);
690
723
  if (f && !g.e(d)) {
691
- if (this.r && e != null) {
724
+ if (this.t && e != null) {
692
725
  g.b.add(e());
693
726
  }
694
727
  }
@@ -696,19 +729,19 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
696
729
  g.l(d);
697
730
  }
698
731
  }
699
- bg(a, b) {
700
- let c = this.o(a, 5);
701
- if (c != null && this.g.getValueMode(c) == 5 && this.v(a, c)) {
732
+ bi(a, b) {
733
+ let c = this.p(a, 5);
734
+ if (c != null && this.h.getValueMode(c) == 5 && this.x(a, c)) {
702
735
  return;
703
736
  }
704
- this.bp(a, b, "MaxValue", 1, () => {
705
- let d = this.g.createValueLayer();
706
- this.g.setValueMode(d, 5);
707
- this.g.setValueAxisAnnotationEnabled(d, true);
708
- this.g.setBrush(d, BrushUtil.h(255, 99, 208, 0));
709
- this.g.setUseLegend(d, true);
710
- this.g.setTitle(d, "Maximum");
711
- this.g.setLegendItemBadgeShape(d, 2);
737
+ this.br(a, b, "MaxValue", 1, () => {
738
+ let d = this.h.createValueLayer();
739
+ this.h.setValueMode(d, 5);
740
+ this.h.setValueAxisAnnotationEnabled(d, true);
741
+ this.h.setBrush(d, BrushUtil.h(255, 99, 208, 0));
742
+ this.h.setUseLegend(d, true);
743
+ this.h.setTitle(d, "Maximum");
744
+ this.h.setLegendItemBadgeShape(d, 2);
712
745
  let e = new AutomaticSeriesRequest();
713
746
  e.a = 1;
714
747
  e.e = true;
@@ -716,19 +749,19 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
716
749
  return e;
717
750
  });
718
751
  }
719
- bh(a, b) {
720
- let c = this.o(a, 4);
721
- if (c != null && this.v(a, c)) {
752
+ bj(a, b) {
753
+ let c = this.p(a, 4);
754
+ if (c != null && this.x(a, c)) {
722
755
  return;
723
756
  }
724
- this.bp(a, b, "MinValue", 2, () => {
725
- let d = this.g.createValueLayer();
726
- this.g.setValueMode(d, 4);
727
- this.g.setValueAxisAnnotationEnabled(d, true);
728
- this.g.setBrush(d, BrushUtil.h(255, 246, 93, 80));
729
- this.g.setUseLegend(d, true);
730
- this.g.setTitle(d, "Minimum");
731
- this.g.setLegendItemBadgeShape(d, 2);
757
+ this.br(a, b, "MinValue", 2, () => {
758
+ let d = this.h.createValueLayer();
759
+ this.h.setValueMode(d, 4);
760
+ this.h.setValueAxisAnnotationEnabled(d, true);
761
+ this.h.setBrush(d, BrushUtil.h(255, 246, 93, 80));
762
+ this.h.setUseLegend(d, true);
763
+ this.h.setTitle(d, "Minimum");
764
+ this.h.setLegendItemBadgeShape(d, 2);
732
765
  let e = new AutomaticSeriesRequest();
733
766
  e.a = 2;
734
767
  e.e = true;
@@ -736,19 +769,19 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
736
769
  return e;
737
770
  });
738
771
  }
739
- a8(a, b) {
740
- let c = this.o(a, 6);
741
- if (c != null && this.v(a, c)) {
772
+ ba(a, b) {
773
+ let c = this.p(a, 6);
774
+ if (c != null && this.x(a, c)) {
742
775
  return;
743
776
  }
744
- this.bp(a, b, "Average", 3, () => {
745
- let d = this.g.createValueLayer();
746
- this.g.setValueMode(d, 6);
747
- this.g.setValueAxisAnnotationEnabled(d, true);
748
- this.g.setBrush(d, BrushUtil.h(255, 248, 173, 118));
749
- this.g.setUseLegend(d, true);
750
- this.g.setTitle(d, "Average");
751
- this.g.setLegendItemBadgeShape(d, 2);
777
+ this.br(a, b, "Average", 3, () => {
778
+ let d = this.h.createValueLayer();
779
+ this.h.setValueMode(d, 6);
780
+ this.h.setValueAxisAnnotationEnabled(d, true);
781
+ this.h.setBrush(d, BrushUtil.h(255, 248, 173, 118));
782
+ this.h.setUseLegend(d, true);
783
+ this.h.setTitle(d, "Average");
784
+ this.h.setLegendItemBadgeShape(d, 2);
752
785
  let e = new AutomaticSeriesRequest();
753
786
  e.a = 3;
754
787
  e.e = true;
@@ -756,14 +789,14 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
756
789
  return e;
757
790
  });
758
791
  }
759
- bj(a, b) {
792
+ bl(a, b) {
760
793
  let c = a.ao(a);
761
- let d = this.o(a, 3);
794
+ let d = this.p(a, 3);
762
795
  if (d != null) {
763
796
  c.l(4);
764
797
  return;
765
798
  }
766
- if (!this.r) {
799
+ if (!this.t) {
767
800
  return;
768
801
  }
769
802
  let e = a.series.count;
@@ -772,17 +805,17 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
772
805
  if (g.es) {
773
806
  continue;
774
807
  }
775
- let h = this.g.createValueLayer();
776
- this.g.setValueMode(h, 3);
777
- this.g.setValueAxisAnnotationEnabled(h, true);
778
- this.g.setUseLegend(h, a.f2);
808
+ let h = this.h.createValueLayer();
809
+ this.h.setValueMode(h, 3);
810
+ this.h.setValueAxisAnnotationEnabled(h, true);
811
+ this.h.setUseLegend(h, a.f2);
779
812
  if (g.title != null && typeof g.title === 'string') {
780
813
  let i = g.title;
781
- this.g.setTitle(h, i + " Avg");
814
+ this.h.setTitle(h, i + " Avg");
782
815
  }
783
- this.g.setLegendItemBadgeShape(h, 2);
784
- this.g.setTargetSeries(h, g);
785
- this.g.setBrush(h, g.u9);
816
+ this.h.setLegendItemBadgeShape(h, 2);
817
+ this.h.setTargetSeries(h, g);
818
+ this.h.setBrush(h, g.u9);
786
819
  let j = new AutomaticSeriesRequest();
787
820
  j.a = 4;
788
821
  j.e = true;
@@ -790,7 +823,7 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
790
823
  c.b.add(j);
791
824
  }
792
825
  }
793
- v(a, b) {
826
+ x(a, b) {
794
827
  if (b != null) {
795
828
  let c = false;
796
829
  let d = a.ao(a);
@@ -817,24 +850,24 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
817
850
  }
818
851
  return false;
819
852
  }
820
- bl(a, b) {
821
- let c = this.l(a);
822
- if (this.v(a, c)) {
853
+ bn(a, b) {
854
+ let c = this.m(a);
855
+ if (this.x(a, c)) {
823
856
  return;
824
857
  }
825
- this.bp(a, b, "ShowValueLabels", 5, () => {
858
+ this.br(a, b, "ShowValueLabels", 5, () => {
826
859
  for (let d of fromEnum(a.series)) {
827
860
  if (d.ey) {
828
- if (this.t && this.k.matchesType(d)) {
829
- let e = this.k.getMarkerType(d);
861
+ if (this.v && this.l.matchesType(d)) {
862
+ let e = this.l.getMarkerType(d);
830
863
  if (e == 1) {
831
- this.k.setMarkerType(d, 13);
864
+ this.l.setMarkerType(d, 13);
832
865
  }
833
866
  }
834
867
  }
835
868
  }
836
- let f = this.g.createCalloutLayer();
837
- this.g.setIsAutoCalloutBehaviorEnabled(f, true);
869
+ let f = this.h.createCalloutLayer();
870
+ this.h.setIsAutoCalloutBehaviorEnabled(f, true);
838
871
  let g = new AutomaticSeriesRequest();
839
872
  g.a = 5;
840
873
  g.e = true;
@@ -842,12 +875,12 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
842
875
  return g;
843
876
  });
844
877
  }
845
- bk(a, b) {
846
- let c = this.n(a);
847
- if (this.v(a, c)) {
878
+ bm(a, b) {
879
+ let c = this.o(a);
880
+ if (this.x(a, c)) {
848
881
  return;
849
882
  }
850
- this.bp(a, b, "ShowLastValueLabel", 6, () => {
883
+ this.br(a, b, "ShowLastValueLabel", 6, () => {
851
884
  for (let d of fromEnum(a.series)) {
852
885
  let e = d.ai();
853
886
  if (e != null) {
@@ -859,7 +892,7 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
859
892
  }
860
893
  }
861
894
  }
862
- let h = this.g.createFinalValueLayer();
895
+ let h = this.h.createFinalValueLayer();
863
896
  let i = new AutomaticSeriesRequest();
864
897
  i.a = 6;
865
898
  i.e = true;
@@ -867,35 +900,35 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
867
900
  return i;
868
901
  });
869
902
  }
870
- a9(a, b) {
871
- this.p = b;
903
+ bb(a, b) {
904
+ this.q = b;
872
905
  let c = new CaptureImageSettings();
873
906
  c.b = true;
874
907
  c.a = 0;
875
- a.imageCaptured = delegateCombine(a.imageCaptured, runOn(this, this.bd));
908
+ a.imageCaptured = delegateCombine(a.imageCaptured, runOn(this, this.bf));
876
909
  a.nb(c);
877
910
  a.al.q();
878
911
  }
879
- bd(a, b) {
880
- this.p.argumentsList = [((() => {
912
+ bf(a, b) {
913
+ this.q.argumentsList = [((() => {
881
914
  let $ret = new ToolCommandArgument();
882
915
  $ret.argumentName = "Image";
883
916
  $ret.value = b.base64Data;
884
917
  return $ret;
885
918
  })())];
886
919
  let c = a;
887
- c.imageCaptured = delegateRemove(c.imageCaptured, runOn(this, this.bd));
920
+ c.imageCaptured = delegateRemove(c.imageCaptured, runOn(this, this.bf));
888
921
  if (c.commandCompleted != null) {
889
- c.commandCompleted(this.p);
922
+ c.commandCompleted(this.q);
890
923
  }
891
924
  }
892
- bm(a, b) {
925
+ bo(a, b) {
893
926
  a.rz(0.05);
894
927
  }
895
- bn(a, b) {
928
+ bp(a, b) {
896
929
  a.r0(0.05);
897
930
  }
898
- bo(a, b) {
931
+ bq(a, b) {
899
932
  a.q8();
900
933
  }
901
934
  }