@arcgis/charts-components 5.2.0-next.105 → 5.2.0-next.106

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 (114) hide show
  1. package/dist/cdn/{FHSOGQIM.js → 2BGHBNJR.js} +1 -1
  2. package/dist/cdn/2DW7DIXF.js +2 -0
  3. package/dist/cdn/{W7AXND3Q.js → 2LB76NS6.js} +4 -4
  4. package/dist/cdn/{WP4MTZZ4.js → 4INX2G3Q.js} +1 -1
  5. package/dist/cdn/4MUAQ5B5.js +2 -0
  6. package/dist/cdn/{RODCWBRR.js → 4OGNJHCC.js} +1 -1
  7. package/dist/cdn/56WSP7OU.js +2 -0
  8. package/dist/cdn/{NUPNG565.js → 5AG5HEJZ.js} +1 -1
  9. package/dist/cdn/{MA2W3LRP.js → 5XWDINLX.js} +1 -1
  10. package/dist/cdn/62QMWHS5.js +2 -0
  11. package/dist/cdn/6QSUWRYL.js +2 -0
  12. package/dist/cdn/{CUFMJAOH.js → 7WA5HGTF.js} +1 -1
  13. package/dist/cdn/{TLXWSOHC.js → AGBAER7I.js} +1 -1
  14. package/dist/cdn/{DIA75CKV.js → C5RPVPL3.js} +1 -1
  15. package/dist/cdn/DJSBCERV.js +2 -0
  16. package/dist/cdn/{BQIVBJC6.js → DPW6WDUS.js} +1 -1
  17. package/dist/cdn/{UUVUD77I.js → E2GZPXA7.js} +1 -1
  18. package/dist/cdn/{PKOUMDEH.js → EFLW5TIU.js} +1 -1
  19. package/dist/cdn/EGACYY5M.js +2 -0
  20. package/dist/cdn/EJD6DN4F.js +2 -0
  21. package/dist/cdn/{NVWUW2QZ.js → F2GL6TNL.js} +1 -1
  22. package/dist/cdn/{A32OUH5N.js → FY2QCHZI.js} +1 -1
  23. package/dist/cdn/{JIFGUAST.js → G5MSOPGH.js} +1 -1
  24. package/dist/cdn/{YNSSLWJT.js → GI7GNXRE.js} +1 -1
  25. package/dist/cdn/HE7XU44N.js +2 -0
  26. package/dist/cdn/{6IX32XNU.js → HJD7UOQ5.js} +1 -1
  27. package/dist/cdn/HLQ2CNM3.js +2 -0
  28. package/dist/cdn/{P72U7INS.js → HT5BW23V.js} +1 -1
  29. package/dist/cdn/{GTBMCBRY.js → JTZ3RZ4S.js} +1 -1
  30. package/dist/cdn/{O4PD2PGE.js → JWQRYKTY.js} +1 -1
  31. package/dist/cdn/{MJPN22Y4.js → JY6LCMBR.js} +1 -1
  32. package/dist/cdn/{ADHDTBG4.js → KMXRCG6Z.js} +1 -1
  33. package/dist/cdn/KRCT56OY.js +2 -0
  34. package/dist/cdn/{RCRWMQ26.js → KZBGGWMD.js} +1 -1
  35. package/dist/cdn/{6I4QCKNB.js → L4FZSJ6R.js} +1 -1
  36. package/dist/cdn/{2D4RIU3R.js → LTWZDHJW.js} +1 -1
  37. package/dist/cdn/MA3MMSOX.js +2 -0
  38. package/dist/cdn/MNXVSHZ7.js +2 -0
  39. package/dist/cdn/MQXTDYOZ.js +2 -0
  40. package/dist/cdn/{AR42YXOQ.js → OIJ2CF62.js} +1 -1
  41. package/dist/cdn/{5E4DFHD2.js → OVEDTDHX.js} +1 -1
  42. package/dist/cdn/OYFD6FQQ.js +2 -0
  43. package/dist/cdn/P4N6FLFI.js +2 -0
  44. package/dist/cdn/P5KPN2M7.js +2 -0
  45. package/dist/cdn/QAKREKNC.js +2 -0
  46. package/dist/cdn/{I2N7DZC6.js → QEG6Y27C.js} +1 -1
  47. package/dist/cdn/QJ5B6PUR.js +2 -0
  48. package/dist/cdn/RHN3QMSR.js +2 -0
  49. package/dist/cdn/{R6QBA2OM.js → TGPO6WYY.js} +1 -1
  50. package/dist/cdn/{KJRFPLJU.js → TIG4E3EM.js} +1 -1
  51. package/dist/cdn/U3BNFQQK.js +2 -0
  52. package/dist/cdn/{ZFDAOSJJ.js → UFFXRD7K.js} +1 -1
  53. package/dist/cdn/{2E6PIVZ3.js → UJDDDBXM.js} +1 -1
  54. package/dist/cdn/{4AV26VPX.js → V6OKA45H.js} +1 -1
  55. package/dist/cdn/VMVEEBUO.js +2 -0
  56. package/dist/cdn/{TFISDVHR.js → W4G4IP5B.js} +1 -1
  57. package/dist/cdn/{HFIBFLMU.js → WRISK5ZQ.js} +1 -1
  58. package/dist/cdn/{N66TGPHC.js → XCMVEVEM.js} +1 -1
  59. package/dist/cdn/XN5TYGE4.js +2 -0
  60. package/dist/cdn/{GNFP2CXI.js → ZTZYNW4S.js} +1 -1
  61. package/dist/cdn/{6P5RUNL4.js → ZXLDEDFO.js} +1 -1
  62. package/dist/cdn/ZYGG7EGH.js +2 -0
  63. package/dist/cdn/index.js +1 -1
  64. package/dist/cdn/model/shared/setup-utils.js +1 -1
  65. package/dist/chunks/bar-chart-model.js +1 -1
  66. package/dist/chunks/box-plot-model.js +1 -1
  67. package/dist/chunks/chart-model.js +1 -1
  68. package/dist/chunks/combo-bar-line-chart-model.js +8 -8
  69. package/dist/chunks/gauge-model.js +1 -1
  70. package/dist/chunks/generate-x-axis-title.js +17 -13
  71. package/dist/chunks/histogram-model.js +1 -1
  72. package/dist/chunks/line-chart-model.js +1 -1
  73. package/dist/chunks/model-with-x-guides.js +5 -5
  74. package/dist/chunks/model-with-y-guides.js +218 -223
  75. package/dist/chunks/pie-chart-model.js +13 -13
  76. package/dist/chunks/radar-chart-model.js +1 -1
  77. package/dist/chunks/scatterplot-model.js +11 -11
  78. package/dist/chunks/serial-chart-data.js +24 -24
  79. package/dist/chunks/serial-chart-model.js +1 -1
  80. package/dist/chunks/utils.js +81 -68
  81. package/dist/chunks/utils2.js +55 -38
  82. package/dist/chunks/x-bounds.js +13 -9
  83. package/dist/components/arcgis-chart/customElement.js +179 -174
  84. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +14 -14
  85. package/dist/docs/api.json +1 -1
  86. package/dist/docs/docs.json +1 -1
  87. package/dist/docs/web-types.json +1 -1
  88. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -2
  89. package/dist/model/mixins/model-with-multi-axes.d.ts +14 -14
  90. package/package.json +4 -4
  91. package/dist/cdn/25IIAVUC.js +0 -2
  92. package/dist/cdn/3ZKNY2GI.js +0 -2
  93. package/dist/cdn/56YB7O3M.js +0 -2
  94. package/dist/cdn/AIAPONGU.js +0 -2
  95. package/dist/cdn/APB46III.js +0 -2
  96. package/dist/cdn/ASI3OTVS.js +0 -2
  97. package/dist/cdn/ASWFZXWR.js +0 -2
  98. package/dist/cdn/BPHPASCX.js +0 -2
  99. package/dist/cdn/C6YOQVOB.js +0 -2
  100. package/dist/cdn/DDPCQLH7.js +0 -2
  101. package/dist/cdn/E4NCL4M4.js +0 -2
  102. package/dist/cdn/GJCCH4ZB.js +0 -2
  103. package/dist/cdn/IEWOWYUS.js +0 -2
  104. package/dist/cdn/KZFSBW6I.js +0 -2
  105. package/dist/cdn/L4DH3UPO.js +0 -2
  106. package/dist/cdn/LROOQ7ZG.js +0 -2
  107. package/dist/cdn/MIIK4YRO.js +0 -2
  108. package/dist/cdn/R7ZATTXB.js +0 -2
  109. package/dist/cdn/T2PEASLR.js +0 -2
  110. package/dist/cdn/UDQWJ62J.js +0 -2
  111. package/dist/cdn/W5TZDZZJ.js +0 -2
  112. package/dist/cdn/WQ3R3KT4.js +0 -2
  113. package/dist/cdn/XCGSICB5.js +0 -2
  114. package/dist/cdn/ZM5TS7H5.js +0 -2
@@ -1,76 +1,101 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
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, f as v } from "./utils.js";
4
- import { cloneDeep as T } from "lodash-es";
5
- import { W as y } from "./chart-object-literals.js";
6
- import { ap as g } from "./index3.js";
7
- import { m as r } from "./model-setter.js";
8
- import { g as S, b as B, e as I, f as M, c as O, d as D, a as G, s as z } from "./utils2.js";
9
- import { M as d, b as H, d as Y } from "./x-bounds.js";
10
- import { G as p } from "./common.js";
11
- const P = (t) => {
2
+ import { C as A } from "./chart-model.js";
3
+ import { m as g, f as C, r, n as x, s as p, o as m, a as L, p as V, q as v, t as T, h as S } from "./utils.js";
4
+ import { cloneDeep as B } from "lodash-es";
5
+ import { W as b } from "./chart-object-literals.js";
6
+ import { ap as u } from "./index3.js";
7
+ import { m as n } from "./model-setter.js";
8
+ import { e as I, d as M, s as O, g as D, b as G, f as z, c as k, a as H } from "./utils2.js";
9
+ import { M as d, b as Y, d as P } from "./x-bounds.js";
10
+ import { G as y } from "./common.js";
11
+ const W = (t) => {
12
12
  for (const i of t.axes ?? [])
13
13
  if (i?.grid !== void 0)
14
14
  return i.grid;
15
- }, W = (t, i, s) => {
15
+ }, Z = (t, i, s) => {
16
16
  const e = i.axes;
17
- (s ?? e?.map((f, l) => l) ?? []).forEach((f) => {
18
- e?.[f] !== void 0 && (e[f].grid = T(t));
17
+ (s ?? e?.map((l, f) => f) ?? []).forEach((l) => {
18
+ e?.[l] !== void 0 && (e[l].grid = B(t));
19
19
  });
20
- }, F = (t, i) => i.axes?.[t]?.visible ?? !0, Z = (t, i, s) => {
20
+ }, F = (t, i) => i.axes?.[t]?.visible ?? !0, w = (t, i, s) => {
21
21
  const e = s.axes?.[i];
22
22
  e !== void 0 && (e.visible = t);
23
- }, k = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
24
- t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = i);
25
- }, N = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, j = (t) => {
23
+ }, N = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, j = (t) => {
24
+ const { config: i, displayZeroLine: s, axisIndex: e } = t;
25
+ g({
26
+ config: i,
27
+ axisIndex: e,
28
+ callback: (o) => {
29
+ o.displayZeroLine = s;
30
+ }
31
+ });
32
+ }, E = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, $ = (t) => {
26
33
  const { config: i, displayCursorTooltip: s, axisIndex: e } = t;
27
- i.axes?.[e] !== void 0 && (i.axes[e].displayCursorTooltip = s);
28
- }, $ = (t, i) => t.axes?.[i]?.buffer ?? !1, U = (t) => {
29
- const { config: i, buffer: s, axisIndex: e } = t, c = i.axes?.[e];
30
- c !== void 0 && (c.buffer = s);
31
- }, E = (t, i) => t.axes?.[i]?.tickSpacing, R = (t) => {
34
+ C({
35
+ config: i,
36
+ axisIndex: e,
37
+ callback: (o) => {
38
+ o.displayCursorTooltip = s;
39
+ }
40
+ });
41
+ }, U = (t, i) => t.axes?.[i]?.buffer ?? !1, q = (t) => {
42
+ const { config: i, buffer: s, axisIndex: e } = t;
43
+ g({
44
+ config: i,
45
+ axisIndex: e,
46
+ callback: (o) => {
47
+ o.buffer = s;
48
+ }
49
+ });
50
+ }, R = (t, i) => t.axes?.[i]?.tickSpacing, X = (t) => {
32
51
  const { config: i, tickSpacing: s, axisIndex: e } = t;
33
52
  i.axes?.[e] !== void 0 && (i.axes[e].tickSpacing = s);
34
- }, X = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, q = (t) => {
53
+ }, J = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, K = (t) => {
35
54
  const { config: i, integerOnlyValues: s, axisIndex: e } = t;
36
- i.axes?.[e] !== void 0 && (i.axes[e].integerOnlyValues = s);
37
- }, J = (t) => t.horizontalAxisLabelsBehavior ?? y.Rotate, K = (t, i) => {
55
+ g({
56
+ config: i,
57
+ axisIndex: e,
58
+ callback: (o) => {
59
+ o.integerOnlyValues = s;
60
+ }
61
+ });
62
+ }, Q = (t) => t.horizontalAxisLabelsBehavior ?? b.Rotate, ii = (t, i) => {
38
63
  i.horizontalAxisLabelsBehavior = t;
39
- }, Q = (t) => t.verticalAxisLabelsBehavior ?? y.Wrap, ii = (t, i) => {
64
+ }, si = (t) => t.verticalAxisLabelsBehavior ?? b.Wrap, ti = (t, i) => {
40
65
  i.verticalAxisLabelsBehavior = t;
41
- }, si = (t) => t.cursorCrosshair?.horizontalLineVisible ?? !1, ti = (t, i) => {
42
- i.cursorCrosshair === void 0 && (i.cursorCrosshair = g()), i.cursorCrosshair.horizontalLineVisible = t;
43
- }, ei = (t) => t.cursorCrosshair?.verticalLineVisible ?? !1, oi = (t, i) => {
44
- i.cursorCrosshair === void 0 && (i.cursorCrosshair = g()), i.cursorCrosshair.verticalLineVisible = t;
45
- }, ri = (t) => t.cursorCrosshair?.style, ni = (t, i) => {
46
- i.cursorCrosshair === void 0 && (i.cursorCrosshair = g()), i.cursorCrosshair.style = t;
47
- }, ai = (t) => t.cursorCrosshair, ci = (t, i) => {
66
+ }, ei = (t) => t.cursorCrosshair?.horizontalLineVisible ?? !1, oi = (t, i) => {
67
+ i.cursorCrosshair === void 0 && (i.cursorCrosshair = u()), i.cursorCrosshair.horizontalLineVisible = t;
68
+ }, ri = (t) => t.cursorCrosshair?.verticalLineVisible ?? !1, ni = (t, i) => {
69
+ i.cursorCrosshair === void 0 && (i.cursorCrosshair = u()), i.cursorCrosshair.verticalLineVisible = t;
70
+ }, ai = (t) => t.cursorCrosshair?.style, ci = (t, i) => {
71
+ i.cursorCrosshair === void 0 && (i.cursorCrosshair = u()), i.cursorCrosshair.style = t;
72
+ }, li = (t) => t.cursorCrosshair, fi = (t, i) => {
48
73
  i.cursorCrosshair = t;
49
74
  };
50
- var fi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, n = (t, i, s, e) => {
51
- for (var c = li(i, s), f = t.length - 1, l; f >= 0; f--)
52
- (l = t[f]) && (c = l(i, s, c) || c);
53
- return c && fi(i, s, c), c;
75
+ var gi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, a = (t, i, s, e) => {
76
+ for (var o = ui(i, s), l = t.length - 1, f; l >= 0; l--)
77
+ (f = t[l]) && (o = f(i, s, o) || o);
78
+ return o && gi(i, s, o), o;
54
79
  };
55
- class a extends b {
80
+ class c extends A {
56
81
  /**
57
82
  * Gets the title text of the specified axis.
58
83
  *
59
84
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
60
85
  */
61
86
  getAxisTitleText(i) {
62
- return o({
87
+ return r({
63
88
  config: this._config,
64
89
  axisIndex: i,
65
- func: (s) => S(s, this._config)
90
+ func: (s) => D(s, this._config)
66
91
  }) ?? "";
67
92
  }
68
93
  setAxisTitleText(i, s) {
69
- o({
94
+ r({
70
95
  config: this._config,
71
96
  axisIndex: s,
72
97
  func: (e) => {
73
- B(i, e, this._config);
98
+ G(i, e, this._config);
74
99
  }
75
100
  });
76
101
  }
@@ -80,7 +105,7 @@ class a extends b {
80
105
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
81
106
  */
82
107
  getAxisVisibility(i) {
83
- return o({
108
+ return r({
84
109
  config: this._config,
85
110
  axisIndex: i,
86
111
  func: (s) => F(s, this._config)
@@ -94,11 +119,11 @@ class a extends b {
94
119
  */
95
120
  setAxisVisibility(i, s) {
96
121
  this.guardSetterFromAsyncOverwrite(() => {
97
- o({
122
+ r({
98
123
  config: this._config,
99
124
  axisIndex: s,
100
125
  func: (e) => {
101
- Z(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
126
+ w(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
102
127
  }
103
128
  });
104
129
  });
@@ -109,27 +134,25 @@ class a extends b {
109
134
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
110
135
  */
111
136
  getAxisLabelsVisibility(i) {
112
- return o({
137
+ return r({
113
138
  config: this._config,
114
139
  axisIndex: i,
115
- func: (s) => I(s, this._config)
140
+ func: (s) => z(s, this._config)
116
141
  }) ?? !0;
117
142
  }
118
143
  /**
119
144
  * Sets the visibility of the specified axis labels.
120
145
  *
121
146
  * @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.
147
+ * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis. If omitted, all axes will be updated.
123
148
  */
124
149
  setAxisLabelsVisibility(i, s) {
125
150
  this.guardSetterFromAsyncOverwrite(() => {
126
- o({
127
- config: this._config,
151
+ I({
152
+ visibility: i,
128
153
  axisIndex: s,
129
- func: (e) => {
130
- M(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
131
- }
132
- });
154
+ config: this._config
155
+ }), this.emitConfigUpdate("setAxisLabelsVisibility");
133
156
  });
134
157
  }
135
158
  /**
@@ -138,19 +161,17 @@ class a extends b {
138
161
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
139
162
  */
140
163
  getAxisTitleVisibility(i) {
141
- return o({
164
+ return r({
142
165
  config: this._config,
143
166
  axisIndex: i,
144
- func: (s) => O(s, this._config)
167
+ func: (s) => k(s, this._config)
145
168
  }) ?? !1;
146
169
  }
147
170
  setAxisTitleVisibility(i, s) {
148
- o({
149
- config: this._config,
171
+ M({
172
+ visibility: i,
150
173
  axisIndex: s,
151
- func: (e) => {
152
- D(i, e, this._config);
153
- }
174
+ config: this._config
154
175
  });
155
176
  }
156
177
  /**
@@ -159,18 +180,18 @@ class a extends b {
159
180
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
160
181
  */
161
182
  getMaxBound(i) {
162
- return o({
183
+ return r({
163
184
  config: this._config,
164
185
  axisIndex: i,
165
- func: (s) => h({ config: this._config, axisIndex: s, isMax: !0 })
186
+ func: (s) => x({ config: this._config, axisIndex: s, isMax: !0 })
166
187
  }) ?? Number.NaN;
167
188
  }
168
189
  setMaxBound(i, s) {
169
- o({
190
+ r({
170
191
  config: this._config,
171
192
  axisIndex: s,
172
193
  func: (e) => {
173
- x({ config: this._config, value: i, axisIndex: e, isMax: !0 });
194
+ p({ config: this._config, value: i, axisIndex: e, isMax: !0 });
174
195
  }
175
196
  });
176
197
  }
@@ -180,18 +201,18 @@ class a extends b {
180
201
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
181
202
  */
182
203
  getMinBound(i) {
183
- return o({
204
+ return r({
184
205
  config: this._config,
185
206
  axisIndex: i,
186
- func: (s) => h({ config: this._config, axisIndex: s, isMax: !1 })
207
+ func: (s) => x({ config: this._config, axisIndex: s, isMax: !1 })
187
208
  }) ?? Number.NaN;
188
209
  }
189
210
  setMinBound(i, s) {
190
- o({
211
+ r({
191
212
  config: this._config,
192
213
  axisIndex: s,
193
214
  func: (e) => {
194
- x({ config: this._config, value: i, axisIndex: e, isMax: !1 });
215
+ p({ config: this._config, value: i, axisIndex: e, isMax: !1 });
195
216
  }
196
217
  });
197
218
  }
@@ -201,18 +222,18 @@ class a extends b {
201
222
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
202
223
  */
203
224
  getAxisValueFormat(i) {
204
- return o({
225
+ return r({
205
226
  config: this._config,
206
227
  axisIndex: i,
207
- func: (s) => A(s, this._config)
228
+ func: (s) => m(s, this._config)
208
229
  });
209
230
  }
210
231
  setAxisValueFormat(i, s) {
211
- o({
232
+ r({
212
233
  config: this._config,
213
234
  axisIndex: i,
214
235
  func: (e) => {
215
- C({
236
+ L({
216
237
  config: this._config,
217
238
  valueFormat: s,
218
239
  axisIndex: e,
@@ -227,18 +248,18 @@ class a extends b {
227
248
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
228
249
  */
229
250
  getLogarithmic(i) {
230
- return o({
251
+ return r({
231
252
  config: this._config,
232
253
  axisIndex: i,
233
- func: (s) => m(this._config, s)
254
+ func: (s) => V(this._config, s)
234
255
  }) ?? !1;
235
256
  }
236
257
  setLogarithmic(i, s) {
237
- o({
258
+ r({
238
259
  config: this._config,
239
260
  axisIndex: s,
240
261
  func: (e) => {
241
- L({
262
+ v({
242
263
  config: this._config,
243
264
  isLogarithmic: i,
244
265
  axisIndex: e
@@ -252,18 +273,18 @@ class a extends b {
252
273
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
253
274
  */
254
275
  getAxisScrollbar(i) {
255
- return o({
276
+ return r({
256
277
  config: this._config,
257
278
  axisIndex: i,
258
279
  func: (s) => this._config.axes?.[s]?.scrollbar
259
280
  });
260
281
  }
261
282
  setAxisScrollbar(i, s) {
262
- o({
283
+ r({
263
284
  config: this._config,
264
285
  axisIndex: s,
265
286
  func: (e) => {
266
- V({
287
+ T({
267
288
  config: this._config,
268
289
  scrollbar: i,
269
290
  axisIndex: e
@@ -277,47 +298,41 @@ class a extends b {
277
298
  * @param axisIndex The index of the axis to get the title symbol for
278
299
  */
279
300
  getAxisTitleSymbol(i) {
280
- return o({
301
+ return r({
281
302
  config: this._config,
282
303
  axisIndex: i,
283
- func: (s) => G(this._config, s)
304
+ func: (s) => H(this._config, s)
284
305
  });
285
306
  }
286
307
  setAxisTitleSymbol(i, s) {
287
- o({
288
- config: this._config,
289
- axisIndex: s,
290
- func: (e) => {
291
- z({ symbol: i, config: this._config, axisIndex: e });
292
- }
293
- });
308
+ O({ symbol: i, config: this._config, axisIndex: s });
294
309
  }
295
310
  /**
296
311
  * Gets the horizontal axis labels behavior for the chart.
297
312
  */
298
313
  getHorizontalAxisLabelsBehavior() {
299
- return J(this._config);
314
+ return Q(this._config);
300
315
  }
301
316
  setHorizontalAxisLabelsBehavior(i) {
302
- K(i, this._config);
317
+ ii(i, this._config);
303
318
  }
304
319
  /**
305
320
  * Gets the vertical axis labels behavior for the chart.
306
321
  */
307
322
  getVerticalAxisLabelsBehavior() {
308
- return Q(this._config);
323
+ return si(this._config);
309
324
  }
310
325
  setVerticalAxisLabelsBehavior(i) {
311
- ii(i, this._config);
326
+ ti(i, this._config);
312
327
  }
313
328
  /**
314
329
  * Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
315
330
  */
316
331
  getGridLinesSymbol() {
317
- return P(this._config);
332
+ return W(this._config);
318
333
  }
319
334
  setGridLinesSymbol(i, s) {
320
- W(i, this._config, s);
335
+ Z(i, this._config, s);
321
336
  }
322
337
  /**
323
338
  * Get the default x-axis title text.
@@ -333,19 +348,17 @@ class a extends b {
333
348
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
334
349
  */
335
350
  getDisplayZeroLine(i) {
336
- return o({
351
+ return r({
337
352
  config: this._config,
338
353
  axisIndex: i,
339
- func: (s) => k(this._config, s)
354
+ func: (s) => N(this._config, s)
340
355
  }) ?? !1;
341
356
  }
342
357
  setDisplayZeroLine(i, s) {
343
- o({
358
+ j({
344
359
  config: this._config,
345
- axisIndex: s,
346
- func: (e) => {
347
- w(this._config, i, e);
348
- }
360
+ displayZeroLine: i,
361
+ axisIndex: s
349
362
  });
350
363
  }
351
364
  /**
@@ -355,23 +368,17 @@ class a extends b {
355
368
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
356
369
  */
357
370
  getDisplayCursorTooltip(i) {
358
- return o({
371
+ return r({
359
372
  config: this._config,
360
373
  axisIndex: i,
361
- func: (s) => N(this._config, s)
374
+ func: (s) => E(this._config, s)
362
375
  }) ?? !1;
363
376
  }
364
377
  setDisplayCursorTooltip(i, s) {
365
- o({
378
+ $({
366
379
  config: this._config,
367
- axisIndex: s,
368
- func: (e) => {
369
- j({
370
- config: this._config,
371
- displayCursorTooltip: i,
372
- axisIndex: e
373
- });
374
- }
380
+ displayCursorTooltip: i,
381
+ axisIndex: s
375
382
  });
376
383
  }
377
384
  /**
@@ -382,23 +389,17 @@ class a extends b {
382
389
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
383
390
  */
384
391
  getBuffer(i) {
385
- return o({
392
+ return r({
386
393
  config: this._config,
387
394
  axisIndex: i,
388
- func: (s) => $(this._config, s)
395
+ func: (s) => U(this._config, s)
389
396
  }) ?? !1;
390
397
  }
391
398
  setBuffer(i, s) {
392
- o({
399
+ q({
393
400
  config: this._config,
394
- axisIndex: s,
395
- func: (e) => {
396
- U({
397
- config: this._config,
398
- buffer: i,
399
- axisIndex: e
400
- });
401
- }
401
+ buffer: i,
402
+ axisIndex: s
402
403
  });
403
404
  }
404
405
  /**
@@ -407,14 +408,14 @@ class a extends b {
407
408
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
408
409
  */
409
410
  getTickSpacing(i) {
410
- return E(this._config, i);
411
+ return R(this._config, i);
411
412
  }
412
413
  setTickSpacing(i, s) {
413
- o({
414
+ r({
414
415
  config: this._config,
415
416
  axisIndex: s,
416
417
  func: (e) => {
417
- R({
418
+ X({
418
419
  config: this._config,
419
420
  tickSpacing: i,
420
421
  axisIndex: e
@@ -430,23 +431,17 @@ class a extends b {
430
431
  * @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
431
432
  */
432
433
  getIntegerOnlyValues(i) {
433
- return o({
434
+ return r({
434
435
  config: this._config,
435
436
  axisIndex: i,
436
- func: (s) => X(this._config, s)
437
+ func: (s) => J(this._config, s)
437
438
  }) ?? !1;
438
439
  }
439
440
  setIntegerOnlyValues(i, s) {
440
- o({
441
+ K({
441
442
  config: this._config,
442
- axisIndex: s,
443
- func: (e) => {
444
- q({
445
- config: this._config,
446
- integerOnlyValues: i,
447
- axisIndex: e
448
- });
449
- }
443
+ integerOnlyValues: i,
444
+ axisIndex: s
450
445
  });
451
446
  }
452
447
  /**
@@ -454,106 +449,106 @@ class a extends b {
454
449
  * - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
455
450
  */
456
451
  get cursorCrosshairHorizontalLineVisibility() {
457
- return si(this._config);
452
+ return ei(this._config);
458
453
  }
459
454
  set cursorCrosshairHorizontalLineVisibility(i) {
460
- ti(i, this._config);
455
+ oi(i, this._config);
461
456
  }
462
457
  /**
463
458
  * Gets the visibility of the vertical line of the cursor's crosshair.
464
459
  * - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
465
460
  */
466
461
  get cursorCrosshairVerticalLineVisibility() {
467
- return ei(this._config);
462
+ return ri(this._config);
468
463
  }
469
464
  set cursorCrosshairVerticalLineVisibility(i) {
470
- oi(i, this._config);
465
+ ni(i, this._config);
471
466
  }
472
467
  /**
473
468
  * Gets the style of the cursor's crosshair.
474
469
  */
475
470
  get cursorCrosshairStyle() {
476
- return ri(this._config);
471
+ return ai(this._config);
477
472
  }
478
473
  set cursorCrosshairStyle(i) {
479
- i && ni(i, this._config);
474
+ i && ci(i, this._config);
480
475
  }
481
476
  /**
482
477
  * Gets the cursor crosshair.
483
478
  */
484
479
  get cursorCrosshair() {
485
- return ai(this._config);
480
+ return li(this._config);
486
481
  }
487
482
  set cursorCrosshair(i) {
488
- i && ci(i, this._config);
483
+ i && fi(i, this._config);
489
484
  }
490
485
  }
491
- n([
492
- r
493
- ], a.prototype, "setAxisTitleText");
494
- n([
495
- r
496
- ], a.prototype, "setAxisTitleVisibility");
497
- n([
498
- r
499
- ], a.prototype, "setMaxBound");
500
- n([
501
- r
502
- ], a.prototype, "setMinBound");
503
- n([
504
- r
505
- ], a.prototype, "setAxisValueFormat");
506
- n([
507
- r
508
- ], a.prototype, "setLogarithmic");
509
- n([
510
- r
511
- ], a.prototype, "setAxisScrollbar");
512
- n([
513
- r
514
- ], a.prototype, "setAxisTitleSymbol");
515
- n([
516
- r
517
- ], a.prototype, "setHorizontalAxisLabelsBehavior");
518
- n([
519
- r
520
- ], a.prototype, "setVerticalAxisLabelsBehavior");
521
- n([
522
- r
523
- ], a.prototype, "setGridLinesSymbol");
524
- n([
525
- r
526
- ], a.prototype, "setDisplayZeroLine");
527
- n([
528
- r
529
- ], a.prototype, "setDisplayCursorTooltip");
530
- n([
531
- r
532
- ], a.prototype, "setBuffer");
533
- n([
534
- r
535
- ], a.prototype, "setTickSpacing");
536
- n([
537
- r
538
- ], a.prototype, "setIntegerOnlyValues");
539
- n([
540
- r
541
- ], a.prototype, "cursorCrosshairHorizontalLineVisibility");
542
- n([
543
- r
544
- ], a.prototype, "cursorCrosshairVerticalLineVisibility");
545
- n([
546
- r
547
- ], a.prototype, "cursorCrosshairStyle");
548
- n([
549
- r
550
- ], a.prototype, "cursorCrosshair");
551
- var gi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, _ = (t, i, s, e) => {
552
- for (var c = ui(i, s), f = t.length - 1, l; f >= 0; f--)
553
- (l = t[f]) && (c = l(i, s, c) || c);
554
- return c && gi(i, s, c), c;
486
+ a([
487
+ n
488
+ ], c.prototype, "setAxisTitleText");
489
+ a([
490
+ n
491
+ ], c.prototype, "setAxisTitleVisibility");
492
+ a([
493
+ n
494
+ ], c.prototype, "setMaxBound");
495
+ a([
496
+ n
497
+ ], c.prototype, "setMinBound");
498
+ a([
499
+ n
500
+ ], c.prototype, "setAxisValueFormat");
501
+ a([
502
+ n
503
+ ], c.prototype, "setLogarithmic");
504
+ a([
505
+ n
506
+ ], c.prototype, "setAxisScrollbar");
507
+ a([
508
+ n
509
+ ], c.prototype, "setAxisTitleSymbol");
510
+ a([
511
+ n
512
+ ], c.prototype, "setHorizontalAxisLabelsBehavior");
513
+ a([
514
+ n
515
+ ], c.prototype, "setVerticalAxisLabelsBehavior");
516
+ a([
517
+ n
518
+ ], c.prototype, "setGridLinesSymbol");
519
+ a([
520
+ n
521
+ ], c.prototype, "setDisplayZeroLine");
522
+ a([
523
+ n
524
+ ], c.prototype, "setDisplayCursorTooltip");
525
+ a([
526
+ n
527
+ ], c.prototype, "setBuffer");
528
+ a([
529
+ n
530
+ ], c.prototype, "setTickSpacing");
531
+ a([
532
+ n
533
+ ], c.prototype, "setIntegerOnlyValues");
534
+ a([
535
+ n
536
+ ], c.prototype, "cursorCrosshairHorizontalLineVisibility");
537
+ a([
538
+ n
539
+ ], c.prototype, "cursorCrosshairVerticalLineVisibility");
540
+ a([
541
+ n
542
+ ], c.prototype, "cursorCrosshairStyle");
543
+ a([
544
+ n
545
+ ], c.prototype, "cursorCrosshair");
546
+ var hi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, _ = (t, i, s, e) => {
547
+ for (var o = xi(i, s), l = t.length - 1, f; l >= 0; l--)
548
+ (f = t[l]) && (o = f(i, s, o) || o);
549
+ return o && hi(i, s, o), o;
555
550
  };
556
- class u extends d {
551
+ class h extends d {
557
552
  /**
558
553
  * Gets the number guides in the Y-axis guides list.
559
554
  *
@@ -563,30 +558,30 @@ class u extends d {
563
558
  return this._config.axes?.[1]?.guides?.length;
564
559
  }
565
560
  addYAxisGuide(i, s) {
566
- H({
561
+ Y({
567
562
  config: this._config,
568
563
  name: i,
569
564
  index: s,
570
- orientation: p.Y
565
+ orientation: y.Y
571
566
  });
572
567
  }
573
568
  deleteYAxisGuide(i) {
574
- Y({
569
+ P({
575
570
  config: this._config,
576
571
  index: i,
577
- orientation: p.Y
572
+ orientation: y.Y
578
573
  });
579
574
  }
580
575
  }
581
576
  _([
582
- r
583
- ], u.prototype, "addYAxisGuide");
577
+ n
578
+ ], h.prototype, "addYAxisGuide");
584
579
  _([
585
- r
586
- ], u.prototype, "deleteYAxisGuide");
587
- const hi = [d];
588
- v(u, hi);
580
+ n
581
+ ], h.prototype, "deleteYAxisGuide");
582
+ const pi = [d];
583
+ S(h, pi);
589
584
  export {
590
- a as M,
591
- u as a
585
+ c as M,
586
+ h as a
592
587
  };