igniteui-webcomponents-charts 5.4.0 → 5.4.1
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 +255 -52
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/DomainChartToolbarProvider.js +133 -35
- package/esm2015/lib/TrendLineLayer_combined.js +3 -0
- package/esm5/lib/DomainChartToolbarProvider.js +238 -36
- package/esm5/lib/TrendLineLayer_combined.js +3 -0
- package/fesm2015/igniteui-webcomponents-charts.js +152 -53
- package/fesm5/igniteui-webcomponents-charts.js +256 -53
- package/package.json +2 -2
|
@@ -4,18 +4,21 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
import { Base,
|
|
7
|
+
import { Base, String_$type, fromEnum, typeCast, runOn, markType } from "igniteui-webcomponents-core";
|
|
8
8
|
import { IDomainChartToolbarProvider_$type } from "./IDomainChartToolbarProvider";
|
|
9
9
|
import { ToolCommandStateChanged } from "igniteui-webcomponents-core";
|
|
10
10
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
11
11
|
import { Defaults } from "./Defaults";
|
|
12
12
|
import { LegendTemplates } from "./LegendTemplates";
|
|
13
|
+
import { HashSet$1 } from "igniteui-webcomponents-core";
|
|
13
14
|
import { ToolActionGroupHeaderInfo } from "igniteui-webcomponents-core";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
15
|
+
import { ToolActionCheckboxListInfo } from "igniteui-webcomponents-core";
|
|
16
|
+
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
17
|
+
import { DomainChartCheckboxListItem } from "./DomainChartCheckboxListItem";
|
|
16
18
|
import { ToolActionIconMenuInfo } from "igniteui-webcomponents-core";
|
|
19
|
+
import { DataSeriesAdapterPropertyInfo } from "igniteui-webcomponents-core";
|
|
17
20
|
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
18
|
-
import {
|
|
21
|
+
import { ToolContextBindingInfo } from "igniteui-webcomponents-core";
|
|
19
22
|
import { XYChart } from "./XYChart";
|
|
20
23
|
import { BrushUtilCore } from "igniteui-webcomponents-core";
|
|
21
24
|
import { ToolCommandArgument } from "igniteui-webcomponents-core";
|
|
@@ -26,7 +29,6 @@ import { AxisDefaults } from "./AxisDefaults";
|
|
|
26
29
|
import { TrendLineTypeCollection } from "./TrendLineTypeCollection";
|
|
27
30
|
import { ValueModeCollection } from "./ValueModeCollection";
|
|
28
31
|
import { BrushCollection } from "igniteui-webcomponents-core";
|
|
29
|
-
import { DataSeriesAdapterPropertyInfo } from "igniteui-webcomponents-core";
|
|
30
32
|
import { isNaN_ } from "igniteui-webcomponents-core";
|
|
31
33
|
/**
|
|
32
34
|
* @hidden
|
|
@@ -63,45 +65,141 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
|
|
|
63
65
|
}
|
|
64
66
|
getDesiredToolbarActions(a, b, c) {
|
|
65
67
|
let d;
|
|
66
|
-
if (a.itemsSource != null &&
|
|
68
|
+
if (a.itemsSource != null && NativeUIComponent.v(16, 0)) {
|
|
67
69
|
let e = new ToolActionGroupHeaderInfo();
|
|
68
70
|
e.name = "AxisFieldLabelHeader";
|
|
69
71
|
e.title = "Label Fields";
|
|
70
|
-
let f =
|
|
71
|
-
|
|
72
|
-
g
|
|
73
|
-
g.
|
|
74
|
-
g.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
let
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
72
|
+
let f = new ToolActionCheckboxListInfo();
|
|
73
|
+
f.name = "AxisFieldLabel";
|
|
74
|
+
let g = new ToolActionGroupHeaderInfo();
|
|
75
|
+
g.name = "AxisFieldValueHeader";
|
|
76
|
+
g.title = "Value Fields";
|
|
77
|
+
let h = new ToolActionCheckboxListInfo();
|
|
78
|
+
h.name = "AxisFieldValue";
|
|
79
|
+
let i = a.includedProperties == null ? null : new HashSet$1(String_$type, 1, a.includedProperties);
|
|
80
|
+
let j = 0;
|
|
81
|
+
if (i != null && a.excludedProperties != null && a.excludedProperties.length > 0) {
|
|
82
|
+
let k = new HashSet$1(String_$type, 1, a.excludedProperties);
|
|
83
|
+
for (let l of fromEnum(k)) {
|
|
84
|
+
if (i.contains(l)) {
|
|
85
|
+
i.remove(l);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
let m = i.count;
|
|
89
|
+
let n = new Array(m);
|
|
90
|
+
j = 0;
|
|
91
|
+
for (let o of fromEnum(i)) {
|
|
92
|
+
n[j] = o;
|
|
93
|
+
j++;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
a.currentDataAdapter.az(this.b, this.c);
|
|
97
|
+
let p = new Dictionary$2(String_$type, String_$type, 0);
|
|
98
|
+
for (let q = 0; q < this.b.b.length; q++) {
|
|
99
|
+
let r = this.b.b[q];
|
|
100
|
+
if (p.containsKey(r)) {
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
p.addItem(this.b.b[q], this.b.a[q]);
|
|
104
|
+
}
|
|
105
|
+
this.b = ((() => {
|
|
106
|
+
let $ret = new DataSeriesAdapterPropertyInfo();
|
|
107
|
+
$ret.b = new Array(p.count);
|
|
108
|
+
$ret.a = new Array(p.count);
|
|
109
|
+
$ret.c = new Array(p.count);
|
|
110
|
+
return $ret;
|
|
111
|
+
})());
|
|
112
|
+
j = 0;
|
|
113
|
+
for (let s of fromEnum(p)) {
|
|
114
|
+
this.b.b[j] = s.key;
|
|
115
|
+
this.b.a[j] = s.value;
|
|
116
|
+
j++;
|
|
117
|
+
}
|
|
118
|
+
let t = new Array(p.count);
|
|
119
|
+
for (let u = 0; u < this.b.b.length; u++) {
|
|
120
|
+
t[u] = ((() => {
|
|
121
|
+
let $ret = new DomainChartCheckboxListItem();
|
|
122
|
+
$ret.key = this.b.b[u];
|
|
123
|
+
$ret.label = this.b.a[u];
|
|
124
|
+
$ret.isSelected = i == null || i.contains(this.b.b[u]);
|
|
125
|
+
return $ret;
|
|
126
|
+
})());
|
|
127
|
+
}
|
|
128
|
+
for (let v of fromEnum(c)) {
|
|
129
|
+
v.setContextValue("AxisFieldLabels", 7, t);
|
|
130
|
+
}
|
|
131
|
+
f.dataMemberPath = "label";
|
|
132
|
+
f.selectedMemberPath = "isSelected";
|
|
133
|
+
f.primaryKey = ["key"];
|
|
134
|
+
f.contextBindings = [((() => {
|
|
135
|
+
let $ret = new ToolContextBindingInfo();
|
|
136
|
+
$ret.bindingMode = 0;
|
|
137
|
+
$ret.contextKey = "AxisFieldLabels";
|
|
138
|
+
$ret.propertyName = "ItemsSource";
|
|
139
|
+
return $ret;
|
|
140
|
+
})())];
|
|
141
|
+
p = new Dictionary$2(String_$type, String_$type, 0);
|
|
142
|
+
for (let w = 0; w < this.c.b.length; w++) {
|
|
143
|
+
let x = this.c.b[w];
|
|
144
|
+
if (p.containsKey(x)) {
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
p.addItem(this.c.b[w], this.c.a[w]);
|
|
148
|
+
}
|
|
149
|
+
this.c = ((() => {
|
|
150
|
+
let $ret = new DataSeriesAdapterPropertyInfo();
|
|
151
|
+
$ret.b = new Array(p.count);
|
|
152
|
+
$ret.a = new Array(p.count);
|
|
153
|
+
$ret.c = new Array(p.count);
|
|
154
|
+
return $ret;
|
|
155
|
+
})());
|
|
156
|
+
j = 0;
|
|
157
|
+
for (let y of fromEnum(p)) {
|
|
158
|
+
this.c.b[j] = y.key;
|
|
159
|
+
this.c.a[j] = y.value;
|
|
160
|
+
j++;
|
|
161
|
+
}
|
|
162
|
+
let z = new Array(p.count);
|
|
163
|
+
for (let aa = 0; aa < this.c.b.length; aa++) {
|
|
164
|
+
z[aa] = ((() => {
|
|
165
|
+
let $ret = new DomainChartCheckboxListItem();
|
|
166
|
+
$ret.key = this.c.b[aa];
|
|
167
|
+
$ret.label = this.c.a[aa];
|
|
168
|
+
$ret.isSelected = i == null || i.contains(this.c.b[aa]);
|
|
169
|
+
return $ret;
|
|
170
|
+
})());
|
|
171
|
+
}
|
|
172
|
+
for (let ab of fromEnum(c)) {
|
|
173
|
+
ab.setContextValue("AxisFieldValues", 7, z);
|
|
174
|
+
}
|
|
175
|
+
h.dataMemberPath = "label";
|
|
176
|
+
h.selectedMemberPath = "isSelected";
|
|
177
|
+
h.primaryKey = ["key"];
|
|
178
|
+
h.contextBindings = [((() => {
|
|
179
|
+
let $ret = new ToolContextBindingInfo();
|
|
180
|
+
$ret.bindingMode = 0;
|
|
181
|
+
$ret.contextKey = "AxisFieldValues";
|
|
182
|
+
$ret.propertyName = "ItemsSource";
|
|
183
|
+
return $ret;
|
|
184
|
+
})())];
|
|
185
|
+
let ac = new ToolActionIconMenuInfo();
|
|
186
|
+
ac.name = "AxisFieldMenu";
|
|
187
|
+
ac.iconName = "analyze-valuelabels-showlast";
|
|
188
|
+
ac.iconCollectionName = "ChartToolbarIcons";
|
|
189
|
+
ac.iconWidth = 24;
|
|
190
|
+
ac.iconHeight = 25;
|
|
191
|
+
ac.actions = [e, f, g, h];
|
|
94
192
|
d = new Array(b.length + 1);
|
|
95
|
-
for (let
|
|
96
|
-
d[
|
|
193
|
+
for (let ad = 0; ad < b.length; ad++) {
|
|
194
|
+
d[ad] = b[ad];
|
|
97
195
|
}
|
|
98
|
-
d[b.length] =
|
|
196
|
+
d[b.length] = ac;
|
|
99
197
|
}
|
|
100
198
|
else {
|
|
101
199
|
d = b;
|
|
102
200
|
}
|
|
103
|
-
for (let
|
|
104
|
-
this.i(a, d[
|
|
201
|
+
for (let ae = 0; ae < d.length; ae++) {
|
|
202
|
+
this.i(a, d[ae]);
|
|
105
203
|
}
|
|
106
204
|
return d;
|
|
107
205
|
}
|
|
@@ -4,19 +4,22 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
import { __extends } from "tslib";
|
|
8
|
-
import { Base,
|
|
7
|
+
import { __extends, __values } from "tslib";
|
|
8
|
+
import { Base, String_$type, fromEnum, typeCast, runOn, markType } from "igniteui-webcomponents-core";
|
|
9
9
|
import { IDomainChartToolbarProvider_$type } from "./IDomainChartToolbarProvider";
|
|
10
10
|
import { ToolCommandStateChanged } from "igniteui-webcomponents-core";
|
|
11
11
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
12
12
|
import { Defaults } from "./Defaults";
|
|
13
13
|
import { LegendTemplates } from "./LegendTemplates";
|
|
14
|
+
import { HashSet$1 } from "igniteui-webcomponents-core";
|
|
14
15
|
import { ToolActionGroupHeaderInfo } from "igniteui-webcomponents-core";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
16
|
+
import { ToolActionCheckboxListInfo } from "igniteui-webcomponents-core";
|
|
17
|
+
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
18
|
+
import { DomainChartCheckboxListItem } from "./DomainChartCheckboxListItem";
|
|
17
19
|
import { ToolActionIconMenuInfo } from "igniteui-webcomponents-core";
|
|
20
|
+
import { DataSeriesAdapterPropertyInfo } from "igniteui-webcomponents-core";
|
|
18
21
|
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
19
|
-
import {
|
|
22
|
+
import { ToolContextBindingInfo } from "igniteui-webcomponents-core";
|
|
20
23
|
import { XYChart } from "./XYChart";
|
|
21
24
|
import { BrushUtilCore } from "igniteui-webcomponents-core";
|
|
22
25
|
import { ToolCommandArgument } from "igniteui-webcomponents-core";
|
|
@@ -27,7 +30,6 @@ import { AxisDefaults } from "./AxisDefaults";
|
|
|
27
30
|
import { TrendLineTypeCollection } from "./TrendLineTypeCollection";
|
|
28
31
|
import { ValueModeCollection } from "./ValueModeCollection";
|
|
29
32
|
import { BrushCollection } from "igniteui-webcomponents-core";
|
|
30
|
-
import { DataSeriesAdapterPropertyInfo } from "igniteui-webcomponents-core";
|
|
31
33
|
import { isNaN_ } from "igniteui-webcomponents-core";
|
|
32
34
|
/**
|
|
33
35
|
* @hidden
|
|
@@ -72,46 +74,246 @@ var DomainChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
72
74
|
LegendTemplates.u(a, 2, c, null, 0, 0, Defaults.w, Defaults.u);
|
|
73
75
|
};
|
|
74
76
|
DomainChartToolbarProvider.prototype.getDesiredToolbarActions = function (a, b, c) {
|
|
77
|
+
var e_1, _a, e_2, _b, e_3, _c, e_4, _d, e_5, _e, e_6, _f;
|
|
78
|
+
var _this = this;
|
|
75
79
|
var d;
|
|
76
|
-
if (a.itemsSource != null &&
|
|
80
|
+
if (a.itemsSource != null && NativeUIComponent.v(16, 0)) {
|
|
77
81
|
var e = new ToolActionGroupHeaderInfo();
|
|
78
82
|
e.name = "AxisFieldLabelHeader";
|
|
79
83
|
e.title = "Label Fields";
|
|
80
|
-
var f =
|
|
81
|
-
|
|
82
|
-
g
|
|
83
|
-
g.
|
|
84
|
-
g.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
var
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
84
|
+
var f = new ToolActionCheckboxListInfo();
|
|
85
|
+
f.name = "AxisFieldLabel";
|
|
86
|
+
var g = new ToolActionGroupHeaderInfo();
|
|
87
|
+
g.name = "AxisFieldValueHeader";
|
|
88
|
+
g.title = "Value Fields";
|
|
89
|
+
var h = new ToolActionCheckboxListInfo();
|
|
90
|
+
h.name = "AxisFieldValue";
|
|
91
|
+
var i_1 = a.includedProperties == null ? null : new HashSet$1(String_$type, 1, a.includedProperties);
|
|
92
|
+
var j = 0;
|
|
93
|
+
if (i_1 != null && a.excludedProperties != null && a.excludedProperties.length > 0) {
|
|
94
|
+
var k = new HashSet$1(String_$type, 1, a.excludedProperties);
|
|
95
|
+
try {
|
|
96
|
+
for (var _g = __values(fromEnum(k)), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
97
|
+
var l = _h.value;
|
|
98
|
+
if (i_1.contains(l)) {
|
|
99
|
+
i_1.remove(l);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
catch (e_1_1) {
|
|
104
|
+
e_1 = { error: e_1_1 };
|
|
105
|
+
}
|
|
106
|
+
finally {
|
|
107
|
+
try {
|
|
108
|
+
if (_h && !_h.done && (_a = _g.return))
|
|
109
|
+
_a.call(_g);
|
|
110
|
+
}
|
|
111
|
+
finally {
|
|
112
|
+
if (e_1)
|
|
113
|
+
throw e_1.error;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
var m = i_1.count;
|
|
117
|
+
var n = new Array(m);
|
|
118
|
+
j = 0;
|
|
119
|
+
try {
|
|
120
|
+
for (var _j = __values(fromEnum(i_1)), _k = _j.next(); !_k.done; _k = _j.next()) {
|
|
121
|
+
var o = _k.value;
|
|
122
|
+
n[j] = o;
|
|
123
|
+
j++;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
catch (e_2_1) {
|
|
127
|
+
e_2 = { error: e_2_1 };
|
|
128
|
+
}
|
|
129
|
+
finally {
|
|
130
|
+
try {
|
|
131
|
+
if (_k && !_k.done && (_b = _j.return))
|
|
132
|
+
_b.call(_j);
|
|
133
|
+
}
|
|
134
|
+
finally {
|
|
135
|
+
if (e_2)
|
|
136
|
+
throw e_2.error;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
a.currentDataAdapter.az(this.b, this.c);
|
|
141
|
+
var p_1 = new Dictionary$2(String_$type, String_$type, 0);
|
|
142
|
+
for (var q = 0; q < this.b.b.length; q++) {
|
|
143
|
+
var r = this.b.b[q];
|
|
144
|
+
if (p_1.containsKey(r)) {
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
p_1.addItem(this.b.b[q], this.b.a[q]);
|
|
148
|
+
}
|
|
149
|
+
this.b = ((function () {
|
|
150
|
+
var $ret = new DataSeriesAdapterPropertyInfo();
|
|
151
|
+
$ret.b = new Array(p_1.count);
|
|
152
|
+
$ret.a = new Array(p_1.count);
|
|
153
|
+
$ret.c = new Array(p_1.count);
|
|
154
|
+
return $ret;
|
|
155
|
+
})());
|
|
156
|
+
j = 0;
|
|
157
|
+
try {
|
|
158
|
+
for (var _l = __values(fromEnum(p_1)), _m = _l.next(); !_m.done; _m = _l.next()) {
|
|
159
|
+
var s = _m.value;
|
|
160
|
+
this.b.b[j] = s.key;
|
|
161
|
+
this.b.a[j] = s.value;
|
|
162
|
+
j++;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
catch (e_3_1) {
|
|
166
|
+
e_3 = { error: e_3_1 };
|
|
167
|
+
}
|
|
168
|
+
finally {
|
|
169
|
+
try {
|
|
170
|
+
if (_m && !_m.done && (_c = _l.return))
|
|
171
|
+
_c.call(_l);
|
|
172
|
+
}
|
|
173
|
+
finally {
|
|
174
|
+
if (e_3)
|
|
175
|
+
throw e_3.error;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
var t = new Array(p_1.count);
|
|
179
|
+
var _loop_1 = function (u) {
|
|
180
|
+
t[u] = ((function () {
|
|
181
|
+
var $ret = new DomainChartCheckboxListItem();
|
|
182
|
+
$ret.key = _this.b.b[u];
|
|
183
|
+
$ret.label = _this.b.a[u];
|
|
184
|
+
$ret.isSelected = i_1 == null || i_1.contains(_this.b.b[u]);
|
|
185
|
+
return $ret;
|
|
186
|
+
})());
|
|
187
|
+
};
|
|
188
|
+
for (var u = 0; u < this.b.b.length; u++) {
|
|
189
|
+
_loop_1(u);
|
|
190
|
+
}
|
|
191
|
+
try {
|
|
192
|
+
for (var _o = __values(fromEnum(c)), _p = _o.next(); !_p.done; _p = _o.next()) {
|
|
193
|
+
var v = _p.value;
|
|
194
|
+
v.setContextValue("AxisFieldLabels", 7, t);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
catch (e_4_1) {
|
|
198
|
+
e_4 = { error: e_4_1 };
|
|
199
|
+
}
|
|
200
|
+
finally {
|
|
201
|
+
try {
|
|
202
|
+
if (_p && !_p.done && (_d = _o.return))
|
|
203
|
+
_d.call(_o);
|
|
204
|
+
}
|
|
205
|
+
finally {
|
|
206
|
+
if (e_4)
|
|
207
|
+
throw e_4.error;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
f.dataMemberPath = "label";
|
|
211
|
+
f.selectedMemberPath = "isSelected";
|
|
212
|
+
f.primaryKey = ["key"];
|
|
213
|
+
f.contextBindings = [((function () {
|
|
214
|
+
var $ret = new ToolContextBindingInfo();
|
|
215
|
+
$ret.bindingMode = 0;
|
|
216
|
+
$ret.contextKey = "AxisFieldLabels";
|
|
217
|
+
$ret.propertyName = "ItemsSource";
|
|
218
|
+
return $ret;
|
|
219
|
+
})())];
|
|
220
|
+
p_1 = new Dictionary$2(String_$type, String_$type, 0);
|
|
221
|
+
for (var w = 0; w < this.c.b.length; w++) {
|
|
222
|
+
var x = this.c.b[w];
|
|
223
|
+
if (p_1.containsKey(x)) {
|
|
224
|
+
continue;
|
|
225
|
+
}
|
|
226
|
+
p_1.addItem(this.c.b[w], this.c.a[w]);
|
|
227
|
+
}
|
|
228
|
+
this.c = ((function () {
|
|
229
|
+
var $ret = new DataSeriesAdapterPropertyInfo();
|
|
230
|
+
$ret.b = new Array(p_1.count);
|
|
231
|
+
$ret.a = new Array(p_1.count);
|
|
232
|
+
$ret.c = new Array(p_1.count);
|
|
233
|
+
return $ret;
|
|
234
|
+
})());
|
|
235
|
+
j = 0;
|
|
236
|
+
try {
|
|
237
|
+
for (var _q = __values(fromEnum(p_1)), _r = _q.next(); !_r.done; _r = _q.next()) {
|
|
238
|
+
var y = _r.value;
|
|
239
|
+
this.c.b[j] = y.key;
|
|
240
|
+
this.c.a[j] = y.value;
|
|
241
|
+
j++;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
catch (e_5_1) {
|
|
245
|
+
e_5 = { error: e_5_1 };
|
|
246
|
+
}
|
|
247
|
+
finally {
|
|
248
|
+
try {
|
|
249
|
+
if (_r && !_r.done && (_e = _q.return))
|
|
250
|
+
_e.call(_q);
|
|
251
|
+
}
|
|
252
|
+
finally {
|
|
253
|
+
if (e_5)
|
|
254
|
+
throw e_5.error;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
var z = new Array(p_1.count);
|
|
258
|
+
var _loop_2 = function (aa) {
|
|
259
|
+
z[aa] = ((function () {
|
|
260
|
+
var $ret = new DomainChartCheckboxListItem();
|
|
261
|
+
$ret.key = _this.c.b[aa];
|
|
262
|
+
$ret.label = _this.c.a[aa];
|
|
263
|
+
$ret.isSelected = i_1 == null || i_1.contains(_this.c.b[aa]);
|
|
264
|
+
return $ret;
|
|
265
|
+
})());
|
|
266
|
+
};
|
|
267
|
+
for (var aa = 0; aa < this.c.b.length; aa++) {
|
|
268
|
+
_loop_2(aa);
|
|
269
|
+
}
|
|
270
|
+
try {
|
|
271
|
+
for (var _s = __values(fromEnum(c)), _t = _s.next(); !_t.done; _t = _s.next()) {
|
|
272
|
+
var ab = _t.value;
|
|
273
|
+
ab.setContextValue("AxisFieldValues", 7, z);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
catch (e_6_1) {
|
|
277
|
+
e_6 = { error: e_6_1 };
|
|
278
|
+
}
|
|
279
|
+
finally {
|
|
280
|
+
try {
|
|
281
|
+
if (_t && !_t.done && (_f = _s.return))
|
|
282
|
+
_f.call(_s);
|
|
283
|
+
}
|
|
284
|
+
finally {
|
|
285
|
+
if (e_6)
|
|
286
|
+
throw e_6.error;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
h.dataMemberPath = "label";
|
|
290
|
+
h.selectedMemberPath = "isSelected";
|
|
291
|
+
h.primaryKey = ["key"];
|
|
292
|
+
h.contextBindings = [((function () {
|
|
293
|
+
var $ret = new ToolContextBindingInfo();
|
|
294
|
+
$ret.bindingMode = 0;
|
|
295
|
+
$ret.contextKey = "AxisFieldValues";
|
|
296
|
+
$ret.propertyName = "ItemsSource";
|
|
297
|
+
return $ret;
|
|
298
|
+
})())];
|
|
299
|
+
var ac = new ToolActionIconMenuInfo();
|
|
300
|
+
ac.name = "AxisFieldMenu";
|
|
301
|
+
ac.iconName = "analyze-valuelabels-showlast";
|
|
302
|
+
ac.iconCollectionName = "ChartToolbarIcons";
|
|
303
|
+
ac.iconWidth = 24;
|
|
304
|
+
ac.iconHeight = 25;
|
|
305
|
+
ac.actions = [e, f, g, h];
|
|
104
306
|
d = new Array(b.length + 1);
|
|
105
|
-
for (var
|
|
106
|
-
d[
|
|
307
|
+
for (var ad = 0; ad < b.length; ad++) {
|
|
308
|
+
d[ad] = b[ad];
|
|
107
309
|
}
|
|
108
|
-
d[b.length] =
|
|
310
|
+
d[b.length] = ac;
|
|
109
311
|
}
|
|
110
312
|
else {
|
|
111
313
|
d = b;
|
|
112
314
|
}
|
|
113
|
-
for (var
|
|
114
|
-
this.i(a, d[
|
|
315
|
+
for (var ae = 0; ae < d.length; ae++) {
|
|
316
|
+
this.i(a, d[ae]);
|
|
115
317
|
}
|
|
116
318
|
return d;
|
|
117
319
|
};
|
|
@@ -143,6 +143,9 @@ var TrendLineLayer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
143
143
|
};
|
|
144
144
|
TrendLineLayer.prototype.aah = function (a, b) {
|
|
145
145
|
this.z9.ck(a, b);
|
|
146
|
+
if (b != null) {
|
|
147
|
+
b.rs(true);
|
|
148
|
+
}
|
|
146
149
|
};
|
|
147
150
|
TrendLineLayer.prototype.aaj = function () {
|
|
148
151
|
if (this.z7 != null && this.z9.ce != null) {
|