@arcgis/charts-components 5.2.0-next.60 → 5.2.0-next.61
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/dist/cdn/{JBFVGQSP.js → 46PXO7ZC.js} +1 -1
- package/dist/cdn/{5MPXETTU.js → 4ITNOJXC.js} +1 -1
- package/dist/cdn/{QTSF2LK7.js → 5JXEO4VE.js} +1 -1
- package/dist/cdn/{XM2GVJT3.js → DQXO7PWX.js} +1 -1
- package/dist/cdn/FHBCVW5T.js +2 -0
- package/dist/cdn/{ZLXYBOM3.js → JUON3AJY.js} +1 -1
- package/dist/cdn/LIBE4XVH.js +2 -0
- package/dist/cdn/MI6AKTXQ.js +2 -0
- package/dist/cdn/MPGHOXLW.js +2 -0
- package/dist/cdn/MU6ZYADT.js +2 -0
- package/dist/cdn/ONKEO3Z2.js +2 -0
- package/dist/cdn/{BXBY6D2F.js → OT7PLFBK.js} +1 -1
- package/dist/cdn/PBO5VH6A.js +2 -0
- package/dist/cdn/{6DOANSRL.js → Q5OFF4FE.js} +1 -1
- package/dist/cdn/{5EYVH3PA.js → TQYJM66E.js} +1 -1
- package/dist/cdn/{Z3LGGHZN.js → TU3LYEK3.js} +1 -1
- package/dist/cdn/TVG7KD3H.js +2 -0
- package/dist/cdn/{A36KQ6YP.js → VM4XLVMS.js} +1 -1
- package/dist/cdn/VPYL3RVN.js +2 -0
- package/dist/cdn/WSL76GA5.js +2 -0
- package/dist/cdn/{Y2WHHAAA.js → X3S4M6JL.js} +1 -1
- package/dist/cdn/XV4LD73L.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +10 -10
- package/dist/chunks/box-plot-data.js +271 -279
- package/dist/chunks/box-plot-model.js +161 -146
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +12 -12
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +25 -25
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/line-chart-model.js +11 -11
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +33 -48
- package/dist/chunks/pie-chart-data.js +165 -189
- package/dist/chunks/pie-chart-model.js +9 -9
- package/dist/chunks/radar-chart-model.js +7 -7
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +745 -769
- package/dist/chunks/serial-chart-model.js +19 -11
- package/dist/chunks/utils.js +9 -9
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +53 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +20 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +61 -98
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +12 -1
- package/package.json +3 -3
- package/dist/cdn/3UHXOKCR.js +0 -2
- package/dist/cdn/6PIQ2O5S.js +0 -2
- package/dist/cdn/7CMQGTU6.js +0 -2
- package/dist/cdn/EBSQRCQQ.js +0 -2
- package/dist/cdn/EDVN42ME.js +0 -2
- package/dist/cdn/H2EMIJME.js +0 -2
- package/dist/cdn/JEVWE6ER.js +0 -2
- package/dist/cdn/O3DJD5IR.js +0 -2
- package/dist/cdn/V5W5LNFT.js +0 -2
- package/dist/cdn/XKZ44LA2.js +0 -2
- package/dist/cdn/YVSZN6IH.js +0 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
|
-
import { H as
|
|
3
|
+
import { H as n } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as S } from "./serial-chart-model.js";
|
|
5
|
-
import { F as C, G as T, H as
|
|
6
|
-
import { d } from "./data.js";
|
|
7
|
-
import { u as pe, r as
|
|
5
|
+
import { F as C, G as T, H as F, I as A, J as O, K as x, L, M as R, N as D, O as I, P as v, Q as w, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Q, a7 as Z, a8 as m, a9 as y, aa as q, ab as z, ac as J, ad as $, ae as ee, af as te, z as d, ag as ie, ah as se, ai as re, aj as oe, ak as ne, al as ae, am as ge, an as le } from "./serial-chart-data.js";
|
|
6
|
+
import { d as f } from "./data.js";
|
|
7
|
+
import { u as pe, r as p } from "./chart-object-literals.js";
|
|
8
8
|
import { Q as ce } from "./index.js";
|
|
9
9
|
import { ap as h } from "./index2.js";
|
|
10
10
|
import { q as me } from "./index3.js";
|
|
11
11
|
var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
12
|
-
for (var
|
|
13
|
-
(
|
|
14
|
-
return
|
|
12
|
+
for (var o = de(e, r), g = l.length - 1, c; g >= 0; g--)
|
|
13
|
+
(c = l[g]) && (o = c(e, r, o) || o);
|
|
14
|
+
return o && ye(e, r, o), o;
|
|
15
15
|
};
|
|
16
16
|
class s extends u {
|
|
17
17
|
constructor() {
|
|
@@ -51,10 +51,10 @@ class s extends u {
|
|
|
51
51
|
* The y axis field used by the heat chart.
|
|
52
52
|
*/
|
|
53
53
|
get yAxisField() {
|
|
54
|
-
return
|
|
54
|
+
return F(this._config);
|
|
55
55
|
}
|
|
56
56
|
set yAxisField(e) {
|
|
57
|
-
|
|
57
|
+
A({
|
|
58
58
|
yField: e,
|
|
59
59
|
config: this._config,
|
|
60
60
|
layerInfo: this.layerInfo,
|
|
@@ -254,29 +254,29 @@ class s extends u {
|
|
|
254
254
|
return e !== void 0 ? [e] : [];
|
|
255
255
|
}
|
|
256
256
|
set numericFields(e) {
|
|
257
|
-
const { idField: r } = h(this.layerInfo.layer), a = me(e[0]),
|
|
258
|
-
Z({
|
|
259
|
-
field:
|
|
257
|
+
const { idField: r } = h(this.layerInfo.layer), a = me(e[0]), o = a ? r : e[0];
|
|
258
|
+
this._numericFields = [o], Z({
|
|
259
|
+
field: o,
|
|
260
260
|
config: this._config,
|
|
261
261
|
layerInfo: this.layerInfo,
|
|
262
262
|
commonStrings: this.commonStrings
|
|
263
263
|
});
|
|
264
|
-
const g =
|
|
265
|
-
a && g !==
|
|
266
|
-
aggregationType:
|
|
264
|
+
const g = m(this._config);
|
|
265
|
+
a && g !== p.Count && (this._aggregationType = p.Count, y({
|
|
266
|
+
aggregationType: p.Count,
|
|
267
267
|
config: this._config,
|
|
268
268
|
layerInfo: this.layerInfo,
|
|
269
269
|
commonStrings: this.commonStrings
|
|
270
|
-
});
|
|
270
|
+
}));
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
273
|
* The aggregation type for the heat chart.
|
|
274
274
|
*/
|
|
275
275
|
get aggregationType() {
|
|
276
|
-
return
|
|
276
|
+
return m(this._config);
|
|
277
277
|
}
|
|
278
278
|
set aggregationType(e) {
|
|
279
|
-
|
|
279
|
+
this._aggregationType = e, y({
|
|
280
280
|
aggregationType: e,
|
|
281
281
|
config: this._config,
|
|
282
282
|
layerInfo: this.layerInfo,
|
|
@@ -316,7 +316,7 @@ class s extends u {
|
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
318
|
getSortOrder() {
|
|
319
|
-
return
|
|
319
|
+
return n.Asc;
|
|
320
320
|
}
|
|
321
321
|
setSortOrder(e, r) {
|
|
322
322
|
}
|
|
@@ -325,22 +325,22 @@ class s extends u {
|
|
|
325
325
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
326
326
|
*/
|
|
327
327
|
getXAxisSortOrder() {
|
|
328
|
-
const e =
|
|
329
|
-
return e ===
|
|
328
|
+
const e = d(this._config)[0];
|
|
329
|
+
return e === n.Asc || e === n.Desc || e === n.customSort ? e : n.Asc;
|
|
330
330
|
}
|
|
331
331
|
setXAxisSortOrder(e, r) {
|
|
332
|
-
|
|
332
|
+
f(e, this._config, r);
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
335
|
* Gets the sort order for on the y axis for heat chart.
|
|
336
336
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
337
337
|
*/
|
|
338
338
|
getYAxisSortOrder() {
|
|
339
|
-
const e =
|
|
340
|
-
return e ===
|
|
339
|
+
const e = d(this._config)[1];
|
|
340
|
+
return e === n.Asc || e === n.Desc || e === n.customSort ? e : n.Asc;
|
|
341
341
|
}
|
|
342
342
|
setYAxisSortOrder(e, r) {
|
|
343
|
-
|
|
343
|
+
f(e, this._config, r, !0);
|
|
344
344
|
}
|
|
345
345
|
get emptyCellText() {
|
|
346
346
|
return ie(this._config);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { f as m } from "./utils.js";
|
|
3
3
|
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as v, i as b, j as u, k as _, l as D, m as M, n as O, o as w, p as C, q as W, r as T, t as x, u as A, v as N, w as L, x as E, y as F, z as X, A as B } from "./histogram-data.js";
|
|
4
4
|
import { C as P } from "./chart-model.js";
|
|
5
5
|
import { M as j, a as H, W as I, b as V } from "./data-labels-visibility.js";
|
|
@@ -5,20 +5,20 @@ import { ap as a } from "./index2.js";
|
|
|
5
5
|
import { m as y } from "./model-setter.js";
|
|
6
6
|
import { M as g } from "./model-with-line-marker-styling.js";
|
|
7
7
|
import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
|
|
8
|
-
import { S as C, s as
|
|
8
|
+
import { S as C, s as M, a as k } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
|
-
import {
|
|
11
|
-
var
|
|
12
|
-
for (var i =
|
|
10
|
+
import { f as L } from "./utils.js";
|
|
11
|
+
var D = Object.defineProperty, x = Object.getOwnPropertyDescriptor, F = (o, e, s, t) => {
|
|
12
|
+
for (var i = x(e, s), r = o.length - 1, l; r >= 0; r--)
|
|
13
13
|
(l = o[r]) && (i = l(e, s, i) || i);
|
|
14
|
-
return i &&
|
|
14
|
+
return i && D(e, s, i), i;
|
|
15
15
|
};
|
|
16
16
|
class h extends C {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments), this._chartType = m.LineSeries;
|
|
19
19
|
}
|
|
20
20
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.
|
|
21
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
22
|
}
|
|
23
23
|
// #end region
|
|
24
24
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -50,14 +50,14 @@ class h extends C {
|
|
|
50
50
|
colorIndex: e,
|
|
51
51
|
opacity: c
|
|
52
52
|
});
|
|
53
|
-
if (
|
|
53
|
+
if (M(s, e, this._config), u(s, e, this._config), this.layerInfo !== void 0) {
|
|
54
54
|
const t = this.getSeriesId(e), i = f({
|
|
55
55
|
config: this._config,
|
|
56
56
|
seriesIndex: e,
|
|
57
57
|
layerInfo: this.layerInfo,
|
|
58
58
|
commonStrings: this.commonStrings
|
|
59
59
|
});
|
|
60
|
-
i !== a(this.layerInfo.layer).idField &&
|
|
60
|
+
i !== a(this.layerInfo.layer).idField && k(i ?? t, e, this._config);
|
|
61
61
|
}
|
|
62
62
|
p(this.defaultSeries?.lineSymbol?.style, e, this._config), b(this.defaultSeries?.lineSymbol?.width, e, this._config), I(this.defaultSeries?.markerSymbol?.style, e, this._config), v(this.defaultSeries?.markerSymbol?.size, e, this._config);
|
|
63
63
|
}
|
|
@@ -88,11 +88,11 @@ class h extends C {
|
|
|
88
88
|
return e || s;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
F([
|
|
92
92
|
y
|
|
93
93
|
], h.prototype, "resetSeriesStyling");
|
|
94
|
-
const
|
|
95
|
-
|
|
94
|
+
const w = [_, g];
|
|
95
|
+
L(h, w);
|
|
96
96
|
export {
|
|
97
97
|
h as LineChartModel
|
|
98
98
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
3
|
+
import { f as u } from "./utils.js";
|
|
4
4
|
import { M as a, b as l, d as G } from "./x-bounds.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
|
-
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor,
|
|
6
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, f = (o, e, t, h) => {
|
|
7
7
|
for (var i = c(e, t), s = o.length - 1, r; s >= 0; s--)
|
|
8
8
|
(r = o[s]) && (i = r(e, t, i) || i);
|
|
9
9
|
return i && m(e, t, i), i;
|
|
@@ -36,14 +36,14 @@ class d extends a {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
f([
|
|
40
40
|
p
|
|
41
41
|
], d.prototype, "addXAxisGuide");
|
|
42
|
-
|
|
42
|
+
f([
|
|
43
43
|
p
|
|
44
44
|
], d.prototype, "deleteXAxisGuide");
|
|
45
45
|
const g = [a];
|
|
46
|
-
|
|
46
|
+
u(d, g);
|
|
47
47
|
export {
|
|
48
48
|
d as M
|
|
49
49
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as b } from "./chart-model.js";
|
|
3
|
-
import { r as o, l as h, s as x, m as A, a as C, n as m, o as L, p as V,
|
|
3
|
+
import { r as o, l as h, s as x, m as A, a as C, n as m, o as L, p as V, f as v } from "./utils.js";
|
|
4
4
|
import { cloneDeep as T } from "lodash-es";
|
|
5
5
|
import { j as y } from "./chart-object-literals.js";
|
|
6
6
|
import { J as g } from "./index.js";
|
|
@@ -56,7 +56,7 @@ class a extends b {
|
|
|
56
56
|
/**
|
|
57
57
|
* Gets the title text of the specified axis.
|
|
58
58
|
*
|
|
59
|
-
* @param axisIndex
|
|
59
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
60
60
|
*/
|
|
61
61
|
getAxisTitleText(i) {
|
|
62
62
|
return o({
|
|
@@ -76,8 +76,8 @@ class a extends b {
|
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Gets the visibility of the specified axis.
|
|
79
|
-
*
|
|
80
|
-
* @
|
|
79
|
+
*
|
|
80
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
81
81
|
*/
|
|
82
82
|
getAxisVisibility(i) {
|
|
83
83
|
return o({
|
|
@@ -88,9 +88,9 @@ class a extends b {
|
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Sets the visibility of the specified axis.
|
|
91
|
-
*
|
|
92
|
-
* @param
|
|
93
|
-
* @param
|
|
91
|
+
*
|
|
92
|
+
* @param isVisible The visibility state for the axis.
|
|
93
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
94
94
|
*/
|
|
95
95
|
setAxisVisibility(i, s) {
|
|
96
96
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -105,8 +105,8 @@ class a extends b {
|
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Gets the visibility of the specified axis labels.
|
|
108
|
-
*
|
|
109
|
-
* @
|
|
108
|
+
*
|
|
109
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
110
110
|
*/
|
|
111
111
|
getAxisLabelsVisibility(i) {
|
|
112
112
|
return o({
|
|
@@ -117,9 +117,9 @@ class a extends b {
|
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Sets the visibility of the specified axis labels.
|
|
120
|
-
*
|
|
121
|
-
* @param
|
|
122
|
-
* @param
|
|
120
|
+
*
|
|
121
|
+
* @param isVisible The visibility state for the axis labels.
|
|
122
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
123
123
|
*/
|
|
124
124
|
setAxisLabelsVisibility(i, s) {
|
|
125
125
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -135,7 +135,7 @@ class a extends b {
|
|
|
135
135
|
/**
|
|
136
136
|
* Gets the visibility of the specified axis title.
|
|
137
137
|
*
|
|
138
|
-
* @param axisIndex
|
|
138
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
139
139
|
*/
|
|
140
140
|
getAxisTitleVisibility(i) {
|
|
141
141
|
return o({
|
|
@@ -156,7 +156,7 @@ class a extends b {
|
|
|
156
156
|
/**
|
|
157
157
|
* Gets the maximum bound for the specified axis.
|
|
158
158
|
*
|
|
159
|
-
* @param axisIndex
|
|
159
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
160
160
|
*/
|
|
161
161
|
getMaxBound(i) {
|
|
162
162
|
return o({
|
|
@@ -177,7 +177,7 @@ class a extends b {
|
|
|
177
177
|
/**
|
|
178
178
|
* Gets the minimum bound for the specified axis.
|
|
179
179
|
*
|
|
180
|
-
* @param axisIndex
|
|
180
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
181
181
|
*/
|
|
182
182
|
getMinBound(i) {
|
|
183
183
|
return o({
|
|
@@ -198,7 +198,7 @@ class a extends b {
|
|
|
198
198
|
/**
|
|
199
199
|
* Gets the value format for the specified axis.
|
|
200
200
|
*
|
|
201
|
-
* @param axisIndex
|
|
201
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
202
202
|
*/
|
|
203
203
|
getAxisValueFormat(i) {
|
|
204
204
|
return o({
|
|
@@ -223,10 +223,8 @@ class a extends b {
|
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
* Gets whether logarithmic scale is enabled for the specified axis.
|
|
226
|
-
* - `true`: Logarithmic scale is enabled for the specified axis.
|
|
227
|
-
* - `false`: Logarithmic scale is disabled for the specified axis.
|
|
228
226
|
*
|
|
229
|
-
* @param axisIndex
|
|
227
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
230
228
|
*/
|
|
231
229
|
getLogarithmic(i) {
|
|
232
230
|
return o({
|
|
@@ -251,7 +249,7 @@ class a extends b {
|
|
|
251
249
|
/**
|
|
252
250
|
* Gets the scrollbar configuration for the specified axis.
|
|
253
251
|
*
|
|
254
|
-
* @param axisIndex
|
|
252
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
255
253
|
*/
|
|
256
254
|
getAxisScrollbar(i) {
|
|
257
255
|
return o({
|
|
@@ -276,7 +274,7 @@ class a extends b {
|
|
|
276
274
|
/**
|
|
277
275
|
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
278
276
|
*
|
|
279
|
-
* @param axisIndex
|
|
277
|
+
* @param axisIndex The index of the axis to get the title symbol for
|
|
280
278
|
*/
|
|
281
279
|
getAxisTitleSymbol(i) {
|
|
282
280
|
return o({
|
|
@@ -329,11 +327,10 @@ class a extends b {
|
|
|
329
327
|
}
|
|
330
328
|
/**
|
|
331
329
|
* Gets the display zero line setting for the specified axis.
|
|
332
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
333
|
-
* -
|
|
334
|
-
* - If the displayZeroLine is not set on the axis, the default value of `false` will be returned.
|
|
330
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
331
|
+
* - If the `displayZeroLine` is not set on the axis, the default value of `false` will be returned.
|
|
335
332
|
*
|
|
336
|
-
* @param axisIndex
|
|
333
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
337
334
|
*/
|
|
338
335
|
getDisplayZeroLine(i) {
|
|
339
336
|
return o({
|
|
@@ -353,10 +350,9 @@ class a extends b {
|
|
|
353
350
|
}
|
|
354
351
|
/**
|
|
355
352
|
* Gets the display cursor tooltip setting for the specified axis.
|
|
356
|
-
* -
|
|
357
|
-
* - If the displayCursorTooltip is not set on the axis, the default value of `false` will be returned.
|
|
353
|
+
* - If `displayCursorTooltip` is not set on the axis, the default value of `false` will be returned.
|
|
358
354
|
*
|
|
359
|
-
* @param axisIndex
|
|
355
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
360
356
|
*/
|
|
361
357
|
getDisplayCursorTooltip(i) {
|
|
362
358
|
return o({
|
|
@@ -380,11 +376,10 @@ class a extends b {
|
|
|
380
376
|
}
|
|
381
377
|
/**
|
|
382
378
|
* Gets the buffer setting for the specified axis.
|
|
383
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
384
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
379
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
385
380
|
* - If the `buffer` is not set on the axis, the default value of `false` will be returned.
|
|
386
381
|
*
|
|
387
|
-
* @param axisIndex
|
|
382
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
388
383
|
*/
|
|
389
384
|
getBuffer(i) {
|
|
390
385
|
return o({
|
|
@@ -408,9 +403,8 @@ class a extends b {
|
|
|
408
403
|
}
|
|
409
404
|
/**
|
|
410
405
|
* Gets the tick spacing setting for the specified axis.
|
|
411
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
412
406
|
*
|
|
413
|
-
* @param axisIndex
|
|
407
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
414
408
|
*/
|
|
415
409
|
getTickSpacing(i) {
|
|
416
410
|
return E(this._config, i);
|
|
@@ -430,11 +424,10 @@ class a extends b {
|
|
|
430
424
|
}
|
|
431
425
|
/**
|
|
432
426
|
* Gets the integer only values setting for the specified axis.
|
|
433
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
434
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
427
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
435
428
|
* - If the `integerOnlyValues` is not set on the axis, the default value of `false` will be returned.
|
|
436
429
|
*
|
|
437
|
-
* @param axisIndex
|
|
430
|
+
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
438
431
|
*/
|
|
439
432
|
getIntegerOnlyValues(i) {
|
|
440
433
|
return o({
|
|
@@ -457,10 +450,8 @@ class a extends b {
|
|
|
457
450
|
});
|
|
458
451
|
}
|
|
459
452
|
/**
|
|
460
|
-
*
|
|
453
|
+
* Gets the visibility of the horizontal line of the cursor's crosshair.
|
|
461
454
|
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
462
|
-
*
|
|
463
|
-
* **Note:** To set the cursor crosshair horizontal line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
464
455
|
*/
|
|
465
456
|
get cursorCrosshairHorizontalLineVisibility() {
|
|
466
457
|
return si(this._config);
|
|
@@ -469,10 +460,8 @@ class a extends b {
|
|
|
469
460
|
ti(i, this._config);
|
|
470
461
|
}
|
|
471
462
|
/**
|
|
472
|
-
*
|
|
463
|
+
* Gets the visibility of the vertical line of the cursor's crosshair.
|
|
473
464
|
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
474
|
-
*
|
|
475
|
-
* **Note:** To set the cursor crosshair vertical line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
476
465
|
*/
|
|
477
466
|
get cursorCrosshairVerticalLineVisibility() {
|
|
478
467
|
return ei(this._config);
|
|
@@ -481,9 +470,7 @@ class a extends b {
|
|
|
481
470
|
oi(i, this._config);
|
|
482
471
|
}
|
|
483
472
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* **Note:** To set the cursor crosshair style for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
473
|
+
* Gets the style of the cursor's crosshair.
|
|
487
474
|
*/
|
|
488
475
|
get cursorCrosshairStyle() {
|
|
489
476
|
return ri(this._config);
|
|
@@ -492,9 +479,7 @@ class a extends b {
|
|
|
492
479
|
i && ni(i, this._config);
|
|
493
480
|
}
|
|
494
481
|
/**
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
* **Note:** To set the cursor crosshair for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
482
|
+
* Gets the cursor crosshair.
|
|
498
483
|
*/
|
|
499
484
|
get cursorCrosshair() {
|
|
500
485
|
return ai(this._config);
|