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
|
@@ -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 {
|
|
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.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
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
|
|
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
|
|
55
|
+
get v() {
|
|
54
56
|
return (TypeRegistrar.isRegistered("HorizontalAnchoredCategorySeriesProxy"));
|
|
55
57
|
}
|
|
56
|
-
get
|
|
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
|
|
66
|
+
get u() {
|
|
65
67
|
return (TypeRegistrar.isRegistered("HorizontalAnchoredCategorySeriesProxy"));
|
|
66
68
|
}
|
|
67
|
-
get
|
|
68
|
-
if (this.
|
|
69
|
+
get h() {
|
|
70
|
+
if (this.g == null) {
|
|
69
71
|
if (TypeRegistrar.isRegistered("AnnotationLayerProxy")) {
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
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.
|
|
79
|
+
return this.g;
|
|
78
80
|
}
|
|
79
|
-
get
|
|
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.
|
|
203
|
+
this.a9(a, w[x]);
|
|
202
204
|
}
|
|
203
205
|
return w;
|
|
204
206
|
}
|
|
205
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
232
|
-
h.isChecked = this.
|
|
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.
|
|
237
|
-
h.isChecked = this.
|
|
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.
|
|
249
|
-
j.isChecked = this.
|
|
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.
|
|
254
|
-
j.isChecked = this.
|
|
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.
|
|
266
|
-
l.isChecked = this.
|
|
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.
|
|
271
|
-
l.isChecked = this.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
326
|
+
let y = this.n(a);
|
|
325
327
|
x.isChecked = y != null && y._visibility == 0;
|
|
326
328
|
}
|
|
327
329
|
break;
|
|
328
|
-
case "
|
|
330
|
+
case "ShowGridlines":
|
|
329
331
|
{
|
|
330
332
|
let z = b;
|
|
331
|
-
|
|
332
|
-
|
|
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
|
-
|
|
476
|
+
m(a) {
|
|
469
477
|
for (let b of fromEnum(a.series)) {
|
|
470
|
-
if (this.
|
|
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
|
-
|
|
484
|
+
o(a) {
|
|
477
485
|
for (let b of fromEnum(a.series)) {
|
|
478
|
-
if (this.
|
|
486
|
+
if (this.h.isFinalValueLayer(b)) {
|
|
479
487
|
return b;
|
|
480
488
|
}
|
|
481
489
|
}
|
|
482
490
|
return null;
|
|
483
491
|
}
|
|
484
|
-
|
|
492
|
+
p(a, b) {
|
|
485
493
|
for (let c of fromEnum(a.series)) {
|
|
486
|
-
if (this.
|
|
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
|
-
|
|
500
|
+
n(a) {
|
|
493
501
|
for (let b of fromEnum(a.series)) {
|
|
494
|
-
if (this.
|
|
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.
|
|
523
|
+
this.bq(a, b);
|
|
504
524
|
break;
|
|
505
525
|
case "ZoomIn":
|
|
506
|
-
this.
|
|
526
|
+
this.bo(a, b);
|
|
507
527
|
break;
|
|
508
528
|
case "ZoomOut":
|
|
509
|
-
this.
|
|
529
|
+
this.bp(a, b);
|
|
510
530
|
break;
|
|
511
531
|
case "ShowCrosshairs":
|
|
512
|
-
this.
|
|
532
|
+
this.bc(a, b);
|
|
513
533
|
break;
|
|
514
534
|
case "ShowGridlines":
|
|
515
|
-
this.
|
|
535
|
+
this.be(a, b);
|
|
516
536
|
break;
|
|
517
537
|
case "MaxValue":
|
|
518
|
-
this.
|
|
538
|
+
this.bi(a, b);
|
|
519
539
|
break;
|
|
520
540
|
case "MinValue":
|
|
521
|
-
this.
|
|
541
|
+
this.bj(a, b);
|
|
522
542
|
break;
|
|
523
543
|
case "Average":
|
|
524
|
-
this.
|
|
544
|
+
this.ba(a, b);
|
|
525
545
|
break;
|
|
526
546
|
case "Exponential":
|
|
527
|
-
this.
|
|
547
|
+
this.bd(a, b);
|
|
528
548
|
break;
|
|
529
549
|
case "Linear":
|
|
530
|
-
this.
|
|
550
|
+
this.bg(a, b);
|
|
531
551
|
break;
|
|
532
552
|
case "Logarithmic":
|
|
533
|
-
this.
|
|
553
|
+
this.bh(a, b);
|
|
534
554
|
break;
|
|
535
555
|
case "NoTrends":
|
|
536
|
-
this.
|
|
556
|
+
this.bk(a, b);
|
|
537
557
|
break;
|
|
538
558
|
case "SeriesAvg":
|
|
539
|
-
this.
|
|
559
|
+
this.bl(a, b);
|
|
540
560
|
break;
|
|
541
561
|
case "ShowValueLabels":
|
|
542
|
-
this.
|
|
562
|
+
this.bn(a, b);
|
|
543
563
|
break;
|
|
544
564
|
case "ShowLastValueLabel":
|
|
545
|
-
this.
|
|
565
|
+
this.bm(a, b);
|
|
546
566
|
break;
|
|
547
567
|
case "CopyAsImage":
|
|
548
|
-
this.
|
|
568
|
+
this.bb(a, b);
|
|
549
569
|
return 2;
|
|
550
570
|
}
|
|
551
571
|
return 0;
|
|
552
572
|
}
|
|
553
|
-
|
|
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
|
-
|
|
566
|
-
let c = this.
|
|
567
|
-
if (this.
|
|
585
|
+
bc(a, b) {
|
|
586
|
+
let c = this.n(a);
|
|
587
|
+
if (this.x(a, c)) {
|
|
568
588
|
return;
|
|
569
589
|
}
|
|
570
|
-
this.
|
|
571
|
-
let d = this.
|
|
572
|
-
this.
|
|
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
|
-
|
|
581
|
-
let c =
|
|
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
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
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
|
|
592
|
-
if (
|
|
593
|
-
for (let
|
|
594
|
-
let
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
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
|
-
|
|
614
|
-
if (!this.
|
|
646
|
+
bd(a, b) {
|
|
647
|
+
if (!this.v) {
|
|
615
648
|
return;
|
|
616
649
|
}
|
|
617
|
-
let c = this.
|
|
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.
|
|
622
|
-
this.
|
|
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.
|
|
627
|
-
this.
|
|
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
|
-
|
|
634
|
-
if (!this.
|
|
666
|
+
bg(a, b) {
|
|
667
|
+
if (!this.v) {
|
|
635
668
|
return;
|
|
636
669
|
}
|
|
637
|
-
let c = this.
|
|
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.
|
|
642
|
-
this.
|
|
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.
|
|
647
|
-
this.
|
|
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
|
-
|
|
654
|
-
let c = this.
|
|
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.
|
|
659
|
-
this.
|
|
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.
|
|
664
|
-
this.
|
|
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
|
-
|
|
671
|
-
let c = this.
|
|
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.
|
|
676
|
-
this.
|
|
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.
|
|
681
|
-
this.
|
|
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
|
-
|
|
688
|
-
let f = this.
|
|
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.
|
|
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
|
-
|
|
700
|
-
let c = this.
|
|
701
|
-
if (c != null && this.
|
|
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.
|
|
705
|
-
let d = this.
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
711
|
-
this.
|
|
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
|
-
|
|
720
|
-
let c = this.
|
|
721
|
-
if (c != null && this.
|
|
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.
|
|
725
|
-
let d = this.
|
|
726
|
-
this.
|
|
727
|
-
this.
|
|
728
|
-
this.
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
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
|
-
|
|
740
|
-
let c = this.
|
|
741
|
-
if (c != null && this.
|
|
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.
|
|
745
|
-
let d = this.
|
|
746
|
-
this.
|
|
747
|
-
this.
|
|
748
|
-
this.
|
|
749
|
-
this.
|
|
750
|
-
this.
|
|
751
|
-
this.
|
|
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
|
-
|
|
792
|
+
bl(a, b) {
|
|
760
793
|
let c = a.ao(a);
|
|
761
|
-
let d = this.
|
|
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.
|
|
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.
|
|
776
|
-
this.
|
|
777
|
-
this.
|
|
778
|
-
this.
|
|
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.
|
|
814
|
+
this.h.setTitle(h, i + " Avg");
|
|
782
815
|
}
|
|
783
|
-
this.
|
|
784
|
-
this.
|
|
785
|
-
this.
|
|
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
|
-
|
|
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
|
-
|
|
821
|
-
let c = this.
|
|
822
|
-
if (this.
|
|
853
|
+
bn(a, b) {
|
|
854
|
+
let c = this.m(a);
|
|
855
|
+
if (this.x(a, c)) {
|
|
823
856
|
return;
|
|
824
857
|
}
|
|
825
|
-
this.
|
|
858
|
+
this.br(a, b, "ShowValueLabels", 5, () => {
|
|
826
859
|
for (let d of fromEnum(a.series)) {
|
|
827
860
|
if (d.ey) {
|
|
828
|
-
if (this.
|
|
829
|
-
let e = this.
|
|
861
|
+
if (this.v && this.l.matchesType(d)) {
|
|
862
|
+
let e = this.l.getMarkerType(d);
|
|
830
863
|
if (e == 1) {
|
|
831
|
-
this.
|
|
864
|
+
this.l.setMarkerType(d, 13);
|
|
832
865
|
}
|
|
833
866
|
}
|
|
834
867
|
}
|
|
835
868
|
}
|
|
836
|
-
let f = this.
|
|
837
|
-
this.
|
|
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
|
-
|
|
846
|
-
let c = this.
|
|
847
|
-
if (this.
|
|
878
|
+
bm(a, b) {
|
|
879
|
+
let c = this.o(a);
|
|
880
|
+
if (this.x(a, c)) {
|
|
848
881
|
return;
|
|
849
882
|
}
|
|
850
|
-
this.
|
|
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.
|
|
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
|
-
|
|
871
|
-
this.
|
|
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.
|
|
908
|
+
a.imageCaptured = delegateCombine(a.imageCaptured, runOn(this, this.bf));
|
|
876
909
|
a.nb(c);
|
|
877
910
|
a.al.q();
|
|
878
911
|
}
|
|
879
|
-
|
|
880
|
-
this.
|
|
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.
|
|
920
|
+
c.imageCaptured = delegateRemove(c.imageCaptured, runOn(this, this.bf));
|
|
888
921
|
if (c.commandCompleted != null) {
|
|
889
|
-
c.commandCompleted(this.
|
|
922
|
+
c.commandCompleted(this.q);
|
|
890
923
|
}
|
|
891
924
|
}
|
|
892
|
-
|
|
925
|
+
bo(a, b) {
|
|
893
926
|
a.rz(0.05);
|
|
894
927
|
}
|
|
895
|
-
|
|
928
|
+
bp(a, b) {
|
|
896
929
|
a.r0(0.05);
|
|
897
930
|
}
|
|
898
|
-
|
|
931
|
+
bq(a, b) {
|
|
899
932
|
a.q8();
|
|
900
933
|
}
|
|
901
934
|
}
|