@arcgis/charts-components 5.2.0-next.50 → 5.2.0-next.52
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/README.md +2 -2
- package/dist/cdn/{XMV5A2VE.js → 223CX3CX.js} +1 -1
- package/dist/cdn/{AALLRICA.js → 23WDH4FI.js} +1 -1
- package/dist/cdn/{XUL3AOTB.js → 2BGSZGPZ.js} +1 -1
- package/dist/cdn/{TNNXIIY2.js → 2Y5PUPWR.js} +1 -1
- package/dist/cdn/{MIJTHCPZ.js → 32LKPPGL.js} +1 -1
- package/dist/cdn/35R7YJXM.js +3 -0
- package/dist/cdn/3OOV2HEE.js +2 -0
- package/dist/cdn/{G6XSNG2U.js → 3UBK3J76.js} +1 -1
- package/dist/cdn/{HGG2Y5XW.js → 3WDEAWZX.js} +1 -1
- package/dist/cdn/{TWULSSGK.js → 43DN7ID6.js} +1 -1
- package/dist/cdn/{3GAUDUOD.js → 4HW6IYHV.js} +1 -1
- package/dist/cdn/{67P25QZA.js → 4N76NKSQ.js} +1 -1
- package/dist/cdn/{VX6SWJJ6.js → 4NKFXLHB.js} +1 -1
- package/dist/cdn/{UDDRI2Q2.js → 4S3UBB4K.js} +1 -1
- package/dist/cdn/{OWLVHHFH.js → 4UJL6VJ3.js} +1 -1
- package/dist/cdn/{DT5VZTKL.js → 4WTYDOTA.js} +1 -1
- package/dist/cdn/{IB6KNSJY.js → 54B66D3D.js} +1 -1
- package/dist/cdn/{CK2HC7UZ.js → 5IJ4LXXV.js} +1 -1
- package/dist/cdn/5LFGIBZK.js +2 -0
- package/dist/cdn/{5CIY3LRQ.js → 6EGZEBLQ.js} +1 -1
- package/dist/cdn/{B6BI3FPN.js → 7RRVJPTW.js} +1 -1
- package/dist/cdn/{T5QBJ7O3.js → AV73HH5X.js} +1 -1
- package/dist/cdn/{APATJCOK.js → BSQZDV2P.js} +1 -1
- package/dist/cdn/BUOEEUYK.js +2 -0
- package/dist/cdn/CA5SZB65.js +2 -0
- package/dist/cdn/{CUPAZHZI.js → CI7R2F5C.js} +1 -1
- package/dist/cdn/CQRB56BW.js +2 -0
- package/dist/cdn/{LGTEA66L.js → D22JQ6IQ.js} +1 -1
- package/dist/cdn/{K5FLBEYI.js → D3UCTZGE.js} +1 -1
- package/dist/cdn/{E7YVOSTR.js → D6WL3G34.js} +1 -1
- package/dist/cdn/{VMJSBE4T.js → EKBZUXYB.js} +1 -1
- package/dist/cdn/{6RPBMFL2.js → EXCIMJOH.js} +1 -1
- package/dist/cdn/{UBG7XLVS.js → EZNGHLSR.js} +1 -1
- package/dist/cdn/FDXN5BIJ.js +2 -0
- package/dist/cdn/{THYUOV7H.js → FQOTLW2I.js} +23 -23
- package/dist/cdn/{HQHYGZW7.js → FZUKEGI7.js} +1 -1
- package/dist/cdn/{AJ4RZPOJ.js → H6B2SK7Y.js} +1 -1
- package/dist/cdn/HAWXFGUX.js +2 -0
- package/dist/cdn/{NMITBWC4.js → HFPPW74G.js} +1 -1
- package/dist/cdn/HQ4XATLY.js +2 -0
- package/dist/cdn/{RFXODD7V.js → HZDQYG6D.js} +1 -1
- package/dist/cdn/{A67PKDYM.js → IIRJV7HP.js} +1 -1
- package/dist/cdn/{2UMW7TY6.js → IL4TO3HW.js} +1 -1
- package/dist/cdn/{AM27TYIA.js → IZMUEFG7.js} +1 -1
- package/dist/cdn/{VZNG7PQX.js → J7XMDEFX.js} +1 -1
- package/dist/cdn/{OAFJADKA.js → JI3UI5FQ.js} +1 -1
- package/dist/cdn/{RREO2RVL.js → JKHGXCTI.js} +1 -1
- package/dist/cdn/{ISY2BKFT.js → JMV4L7WL.js} +1 -1
- package/dist/cdn/{VQJKVJS7.js → JOXPPBNA.js} +1 -1
- package/dist/cdn/{PDPZBGTU.js → JT5VM5N6.js} +1 -1
- package/dist/cdn/{UBZEWFXF.js → KB5UMMBY.js} +1 -1
- package/dist/cdn/{W2QTMTLL.js → KMJ2IQP7.js} +1 -1
- package/dist/cdn/{INECCYD7.js → KNN4G3JB.js} +1 -1
- package/dist/cdn/{CRUHZMGY.js → KNP746RO.js} +1 -1
- package/dist/cdn/{PV2PO4IS.js → KVDM5PYB.js} +1 -1
- package/dist/cdn/{R53ISOLY.js → LDMINI6S.js} +1 -1
- package/dist/cdn/{TXQMUOMN.js → LF3I5SMX.js} +1 -1
- package/dist/cdn/{JDAJB45A.js → LMN4NECB.js} +1 -1
- package/dist/cdn/{356JWED3.js → LX7TCW6T.js} +1 -1
- package/dist/cdn/{LQMU7V5C.js → LYGQJLFB.js} +1 -1
- package/dist/cdn/NKPBSSL7.js +2 -0
- package/dist/cdn/O3N5YFJC.js +2 -0
- package/dist/cdn/{BYU72SMZ.js → OK4I2WDK.js} +1 -1
- package/dist/cdn/{J6YHKP6I.js → OQ56CBAK.js} +1 -1
- package/dist/cdn/{DGU55EVX.js → ORKE6J33.js} +1 -1
- package/dist/cdn/{YEGRLOUM.js → OYWI5PAE.js} +1 -1
- package/dist/cdn/{TJZPVPM6.js → OZ5I3KXC.js} +1 -1
- package/dist/cdn/{CO2YXCVJ.js → PHA5DJUL.js} +1 -1
- package/dist/cdn/{JRJXFHCK.js → PZZLUH6L.js} +1 -1
- package/dist/cdn/{DWWFJ4K4.js → QM25LJL6.js} +1 -1
- package/dist/cdn/R3RNZJIN.js +2 -0
- package/dist/cdn/{TIRQ7FKE.js → RZRAOK3W.js} +1 -1
- package/dist/cdn/{RXFVSKL4.js → STE7V4ZZ.js} +1 -1
- package/dist/cdn/{6HU62XEQ.js → SX4X3IVG.js} +1 -1
- package/dist/cdn/U274OJKG.js +2 -0
- package/dist/cdn/{4C3N36J3.js → UFB3GU6S.js} +1 -1
- package/dist/cdn/{BBMN3YU4.js → UVHDF33O.js} +1 -1
- package/dist/cdn/{5IOIRPSB.js → VIO5ZC5I.js} +1 -1
- package/dist/cdn/{PFR6MB2U.js → VPREA6CX.js} +1 -1
- package/dist/cdn/VU2FAY3Y.js +2 -0
- package/dist/cdn/{7FSMC2TG.js → W65LLW5X.js} +1 -1
- package/dist/cdn/{EKHD7EQL.js → W6FPVGPJ.js} +1 -1
- package/dist/cdn/WLMD3CUK.js +2 -0
- package/dist/cdn/{GT6KWFXM.js → WSHLYTT6.js} +1 -1
- package/dist/cdn/{PTS74ZAY.js → WV7XTPHK.js} +1 -1
- package/dist/cdn/{ZUIZRQUG.js → YUZVGY4R.js} +1 -1
- package/dist/cdn/{Y6KFUUWA.js → ZO4IZDFT.js} +1 -1
- package/dist/cdn/{5XW2VK3A.js → ZRVB73KX.js} +1 -1
- package/dist/cdn/{KITNG4RO.js → ZZOKDSTD.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/index.js +96 -95
- package/dist/chunks/index2.js +1510 -1487
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/serial-chart-data.js +45 -45
- package/dist/chunks/utils.js +13 -11
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +2621 -2610
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +395 -394
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/utils/chart-config/converter/index.js +18 -18
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/defaults/index.d.ts +3 -0
- package/dist/utils/layer/query-features/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cdn/2EEGLP4N.js +0 -2
- package/dist/cdn/4PEJNBSG.js +0 -2
- package/dist/cdn/53HYBRJO.js +0 -2
- package/dist/cdn/5E27ED2B.js +0 -2
- package/dist/cdn/5JY7HY6L.js +0 -2
- package/dist/cdn/EDYALXKT.js +0 -2
- package/dist/cdn/JPGRB2JX.js +0 -2
- package/dist/cdn/NEOAI7Q7.js +0 -3
- package/dist/cdn/NPRV25FK.js +0 -2
- package/dist/cdn/PO2S3EAI.js +0 -2
- package/dist/cdn/QLJQK4ET.js +0 -2
- package/dist/cdn/TGGLZGJB.js +0 -2
- package/dist/cdn/TZBDO2TG.js +0 -2
- package/dist/cdn/XKOKJQQD.js +0 -2
- package/dist/cdn/YEK7BIRE.js +0 -2
package/dist/chunks/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import K from "@esri/arcgis-html-sanitizer";
|
|
3
3
|
import { isEmpty as U, isEqual as C } from "lodash-es";
|
|
4
|
-
import { ap as x,
|
|
4
|
+
import { ap as x, az as q, ay as X, aD as $, ae as Y, E as L, L as Q, s as Z, p as j, aA as J } from "./index.js";
|
|
5
5
|
import { g as S } from "./series-types.js";
|
|
6
6
|
import { p as b, q as ee, l as te, k as ie, s as p, u as n, g as ae } from "./chart-object-literals.js";
|
|
7
7
|
import { g as T, i as y, h as re } from "./rest-js-object-literals.js";
|
package/dist/chunks/index4.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as w } from "./runtime.js";
|
|
|
5
5
|
import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as v } from "@arcgis/toolkit/intl/dom";
|
|
7
7
|
import { C as u, d3 as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, aw as U, I as L, a7 as D, bk as H, a as $, aF as J, bg as _, cs as K, V as Q, k as Z, n as X, l as Y, b9 as ee, aG as te } from "./index2.js";
|
|
8
|
-
import { g as ie,
|
|
8
|
+
import { g as ie, aB as re } from "./index.js";
|
|
9
9
|
import { q as x, C as h, h as ne } from "./index3.js";
|
|
10
10
|
import { g as C } from "./series-types.js";
|
|
11
11
|
import { u as l, v as ae, r as oe } from "./chart-object-literals.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { u as m } from "./chart-object-literals.js";
|
|
3
|
-
import { V as S, Z as n, an as d,
|
|
3
|
+
import { V as S, Z as n, an as d, aD as c } from "./index.js";
|
|
4
4
|
import { an 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";
|
|
@@ -3,7 +3,7 @@ import { log as W } from "@arcgis/toolkit/log";
|
|
|
3
3
|
import { u as p } from "./chart-object-literals.js";
|
|
4
4
|
import { Y as L, an as k } from "./index2.js";
|
|
5
5
|
import { i as A } from "./index4.js";
|
|
6
|
-
import { U as d, a6 as T, a0 as O,
|
|
6
|
+
import { U as d, a6 as T, a0 as O, az as V, a3 as w, a4 as G } from "./index.js";
|
|
7
7
|
import { C as h } from "./index3.js";
|
|
8
8
|
import { C as z } from "./chart-model.js";
|
|
9
9
|
import { m as s } from "./model-setter.js";
|
|
@@ -1,64 +1,412 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { S as
|
|
3
|
-
import { s as
|
|
4
|
-
import { h as
|
|
5
|
-
import { h as
|
|
6
|
-
import { m as
|
|
7
|
-
import { u as
|
|
8
|
-
import { M as
|
|
9
|
-
import { a9 as
|
|
10
|
-
import { an as
|
|
11
|
-
var
|
|
12
|
-
for (var
|
|
13
|
-
(
|
|
14
|
-
return
|
|
2
|
+
import { S as c, s as m, a as y } from "./serial-chart-model.js";
|
|
3
|
+
import { s as b, a as g, b as f, c as A, d as S, W as p } from "./negative-values-stacked-to-baseline.js";
|
|
4
|
+
import { h as u } from "./serial-chart-data.js";
|
|
5
|
+
import { h as T } from "./utils.js";
|
|
6
|
+
import { m as d } from "./model-setter.js";
|
|
7
|
+
import { u as L, o as C } from "./chart-object-literals.js";
|
|
8
|
+
import { M as V } from "./model-with-line-marker-styling.js";
|
|
9
|
+
import { a9 as v, aa as x, an as B, aD as X } from "./index.js";
|
|
10
|
+
import { an as a } from "./index2.js";
|
|
11
|
+
var _ = Object.defineProperty, F = Object.getOwnPropertyDescriptor, h = (l, i, e, t) => {
|
|
12
|
+
for (var s = F(i, e), r = l.length - 1, n; r >= 0; r--)
|
|
13
|
+
(n = l[r]) && (s = n(i, e, s) || s);
|
|
14
|
+
return s && _(i, e, s), s;
|
|
15
15
|
};
|
|
16
|
-
class
|
|
16
|
+
class o extends c {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._chartType =
|
|
18
|
+
super(...arguments), this._chartType = L.RadarSeries;
|
|
19
19
|
}
|
|
20
|
-
async setup(
|
|
21
|
-
await this.loadConfigFromLayer(
|
|
20
|
+
async setup(i) {
|
|
21
|
+
await this.loadConfigFromLayer(i), this.setupLocalProps(), i.config !== void 0 && this.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
|
+
}
|
|
23
|
+
// ---------------------------------------------------------------------------------------------
|
|
24
|
+
// Circular and radial axis aliases
|
|
25
|
+
// ---------------------------------------------------------------------------------------------
|
|
26
|
+
/**
|
|
27
|
+
* The circular-axis field for the radar chart.
|
|
28
|
+
*/
|
|
29
|
+
get circularAxisField() {
|
|
30
|
+
return this.xAxisField;
|
|
31
|
+
}
|
|
32
|
+
set circularAxisField(i) {
|
|
33
|
+
this.xAxisField = i;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Whether the circular-axis labels are visible.
|
|
37
|
+
*/
|
|
38
|
+
get circularAxisLabelsVisibility() {
|
|
39
|
+
return this.xAxisLabelsVisibility;
|
|
40
|
+
}
|
|
41
|
+
set circularAxisLabelsVisibility(i) {
|
|
42
|
+
this.xAxisLabelsVisibility = i;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The circular-axis title text.
|
|
46
|
+
*/
|
|
47
|
+
get circularAxisTitleText() {
|
|
48
|
+
return this.xAxisTitleText;
|
|
49
|
+
}
|
|
50
|
+
set circularAxisTitleText(i) {
|
|
51
|
+
this.xAxisTitleText = i;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Circular-axis title text symbol (font, color, style).
|
|
55
|
+
*/
|
|
56
|
+
get circularAxisTitleSymbol() {
|
|
57
|
+
return this.xAxisTitleSymbol;
|
|
58
|
+
}
|
|
59
|
+
set circularAxisTitleSymbol(i) {
|
|
60
|
+
this.xAxisTitleSymbol = i;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Whether the circular-axis title is visible.
|
|
64
|
+
*/
|
|
65
|
+
get circularAxisTitleVisibility() {
|
|
66
|
+
return this.xAxisTitleVisibility;
|
|
67
|
+
}
|
|
68
|
+
set circularAxisTitleVisibility(i) {
|
|
69
|
+
this.xAxisTitleVisibility = i;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Minimum bound set for the circular axis.
|
|
73
|
+
*
|
|
74
|
+
* `null` indicates no explicit minimum.
|
|
75
|
+
*/
|
|
76
|
+
get minCircularBound() {
|
|
77
|
+
return this.minXBound;
|
|
78
|
+
}
|
|
79
|
+
set minCircularBound(i) {
|
|
80
|
+
this.minXBound = i;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Maximum bound set for the circular axis.
|
|
84
|
+
*
|
|
85
|
+
* `null` indicates no explicit maximum.
|
|
86
|
+
*/
|
|
87
|
+
get maxCircularBound() {
|
|
88
|
+
return this.maxXBound;
|
|
89
|
+
}
|
|
90
|
+
set maxCircularBound(i) {
|
|
91
|
+
this.maxXBound = i;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Visibility of the circular line of the cursor's crosshair.
|
|
95
|
+
*/
|
|
96
|
+
get cursorCrosshairCircularLineVisibility() {
|
|
97
|
+
return this.cursorCrosshairHorizontalLineVisibility;
|
|
98
|
+
}
|
|
99
|
+
set cursorCrosshairCircularLineVisibility(i) {
|
|
100
|
+
this.cursorCrosshairHorizontalLineVisibility = i;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Visibility of the radial line of the cursor's crosshair.
|
|
104
|
+
*/
|
|
105
|
+
get cursorCrosshairRadialLineVisibility() {
|
|
106
|
+
return this.cursorCrosshairVerticalLineVisibility;
|
|
107
|
+
}
|
|
108
|
+
set cursorCrosshairRadialLineVisibility(i) {
|
|
109
|
+
this.cursorCrosshairVerticalLineVisibility = i;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Generate the proper circular-axis title from the current config.
|
|
113
|
+
*/
|
|
114
|
+
generateCircularAxisTitle() {
|
|
115
|
+
return this.generateXAxisTitle();
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Get the default circular-axis title text.
|
|
119
|
+
*/
|
|
120
|
+
getDefaultCircularAxisTitleText() {
|
|
121
|
+
return this.getDefaultXAxisTitleText();
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Adds a circular-axis guide.
|
|
125
|
+
*
|
|
126
|
+
* @param name - The name of the guide.
|
|
127
|
+
* @param index - The index to insert the new guide in the list of circular-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
128
|
+
*/
|
|
129
|
+
addCircularAxisGuide(i, e) {
|
|
130
|
+
this.addXAxisGuide(i, e);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Deletes a circular-axis guide.
|
|
134
|
+
*
|
|
135
|
+
* @param index - The index of the guide to delete in the list of circular-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
136
|
+
*/
|
|
137
|
+
deleteCircularAxisGuide(i) {
|
|
138
|
+
this.deleteXAxisGuide(i);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Adds a radial-axis guide.
|
|
142
|
+
*
|
|
143
|
+
* @param name - The name of the guide.
|
|
144
|
+
* @param index - The index to insert the new guide in the list of radial-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
145
|
+
*/
|
|
146
|
+
addRadialAxisGuide(i, e) {
|
|
147
|
+
this.addYAxisGuide(i, e);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Deletes a radial-axis guide.
|
|
151
|
+
*
|
|
152
|
+
* @param index - The index of the guide to delete in the list of radial-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
153
|
+
*/
|
|
154
|
+
deleteRadialAxisGuide(i) {
|
|
155
|
+
this.deleteYAxisGuide(i);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Generate the proper radial-axis title given the current config.
|
|
159
|
+
*/
|
|
160
|
+
generateRadialAxisTitle() {
|
|
161
|
+
return this.generateYAxisTitle();
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* The radar axis labels orientation.
|
|
165
|
+
*/
|
|
166
|
+
get axisLabelsOrientation() {
|
|
167
|
+
return this._config.axes?.[0]?.labelsOrientation ?? C.Circular;
|
|
168
|
+
}
|
|
169
|
+
set axisLabelsOrientation(i) {
|
|
170
|
+
const e = this._config.axes?.[0];
|
|
171
|
+
e !== void 0 && (e.labelsOrientation = i);
|
|
172
|
+
}
|
|
173
|
+
// ---------------------------------------------------------------------------------------------
|
|
174
|
+
// Deprecated radar chart axis aliases
|
|
175
|
+
// ---------------------------------------------------------------------------------------------
|
|
176
|
+
/**
|
|
177
|
+
* The x-axis field for the chart.
|
|
178
|
+
*
|
|
179
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#circularAxisField circularAxisField} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
180
|
+
*/
|
|
181
|
+
get xAxisField() {
|
|
182
|
+
return super.xAxisField;
|
|
183
|
+
}
|
|
184
|
+
set xAxisField(i) {
|
|
185
|
+
super.xAxisField = i;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Whether the x-axis labels are visible.
|
|
189
|
+
*
|
|
190
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#circularAxisLabelsVisibility circularAxisLabelsVisibility} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
191
|
+
*/
|
|
192
|
+
get xAxisLabelsVisibility() {
|
|
193
|
+
return super.xAxisLabelsVisibility;
|
|
194
|
+
}
|
|
195
|
+
set xAxisLabelsVisibility(i) {
|
|
196
|
+
super.xAxisLabelsVisibility = i;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* The x-axis title text.
|
|
200
|
+
*
|
|
201
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#circularAxisTitleText circularAxisTitleText} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
202
|
+
*/
|
|
203
|
+
get xAxisTitleText() {
|
|
204
|
+
return super.xAxisTitleText;
|
|
205
|
+
}
|
|
206
|
+
set xAxisTitleText(i) {
|
|
207
|
+
super.xAxisTitleText = i;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* X-axis title text symbol (font, color, style).
|
|
211
|
+
*
|
|
212
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#circularAxisTitleSymbol circularAxisTitleSymbol} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
213
|
+
*/
|
|
214
|
+
get xAxisTitleSymbol() {
|
|
215
|
+
return super.xAxisTitleSymbol;
|
|
216
|
+
}
|
|
217
|
+
set xAxisTitleSymbol(i) {
|
|
218
|
+
super.xAxisTitleSymbol = i;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Whether the x-axis title is visible.
|
|
222
|
+
*
|
|
223
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#circularAxisTitleVisibility circularAxisTitleVisibility} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
224
|
+
*/
|
|
225
|
+
get xAxisTitleVisibility() {
|
|
226
|
+
return super.xAxisTitleVisibility;
|
|
227
|
+
}
|
|
228
|
+
set xAxisTitleVisibility(i) {
|
|
229
|
+
super.xAxisTitleVisibility = i;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Minimum bound set for the x-axis.
|
|
233
|
+
*
|
|
234
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#minCircularBound minCircularBound} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
235
|
+
*/
|
|
236
|
+
get minXBound() {
|
|
237
|
+
return super.minXBound;
|
|
238
|
+
}
|
|
239
|
+
set minXBound(i) {
|
|
240
|
+
super.minXBound = i;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Maximum bound set for the x-axis.
|
|
244
|
+
*
|
|
245
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#maxCircularBound maxCircularBound} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
246
|
+
*/
|
|
247
|
+
get maxXBound() {
|
|
248
|
+
return super.maxXBound;
|
|
249
|
+
}
|
|
250
|
+
set maxXBound(i) {
|
|
251
|
+
super.maxXBound = i;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Generate the proper x-axis title from the current config.
|
|
255
|
+
*
|
|
256
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#generateCircularAxisTitle generateCircularAxisTitle} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
257
|
+
*/
|
|
258
|
+
generateXAxisTitle() {
|
|
259
|
+
return super.generateXAxisTitle();
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Get the default x-axis title text.
|
|
263
|
+
*
|
|
264
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#getDefaultCircularAxisTitleText getDefaultCircularAxisTitleText} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
265
|
+
*/
|
|
266
|
+
getDefaultXAxisTitleText() {
|
|
267
|
+
return super.getDefaultXAxisTitleText();
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Adds an X-axis guide.
|
|
271
|
+
*
|
|
272
|
+
* @param name - The name of the guide.
|
|
273
|
+
* @param index - The index to insert the new guide in the list of X-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
274
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#addCircularAxisGuide addCircularAxisGuide} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
275
|
+
*/
|
|
276
|
+
addXAxisGuide(i, e) {
|
|
277
|
+
super.addXAxisGuide(i, e);
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Deletes an X-axis guide.
|
|
281
|
+
*
|
|
282
|
+
* @param index - The index of the guide to delete in the list of X-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
283
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#deleteCircularAxisGuide deleteCircularAxisGuide} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
284
|
+
*/
|
|
285
|
+
deleteXAxisGuide(i) {
|
|
286
|
+
super.deleteXAxisGuide(i);
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Adds a Y-axis guide.
|
|
290
|
+
*
|
|
291
|
+
* @param name - The name of the guide.
|
|
292
|
+
* @param index - The index to insert the new guide in the list of Y-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
293
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#addRadialAxisGuide addRadialAxisGuide} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
294
|
+
*/
|
|
295
|
+
addYAxisGuide(i, e) {
|
|
296
|
+
super.addYAxisGuide(i, e);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Deletes a Y-axis guide.
|
|
300
|
+
*
|
|
301
|
+
* @param index - The index of the guide to delete in the list of Y-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
302
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#deleteRadialAxisGuide deleteRadialAxisGuide} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
303
|
+
*/
|
|
304
|
+
deleteYAxisGuide(i) {
|
|
305
|
+
super.deleteYAxisGuide(i);
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Generate the proper y-axis title given the current config.
|
|
309
|
+
*
|
|
310
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#generateRadialAxisTitle generateRadialAxisTitle} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
311
|
+
*/
|
|
312
|
+
generateYAxisTitle() {
|
|
313
|
+
return super.generateYAxisTitle();
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Visibility of the horizontal line of the cursor's crosshair.
|
|
317
|
+
*
|
|
318
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#cursorCrosshairCircularLineVisibility cursorCrosshairCircularLineVisibility} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
319
|
+
*/
|
|
320
|
+
get cursorCrosshairHorizontalLineVisibility() {
|
|
321
|
+
return super.cursorCrosshairHorizontalLineVisibility;
|
|
322
|
+
}
|
|
323
|
+
set cursorCrosshairHorizontalLineVisibility(i) {
|
|
324
|
+
super.cursorCrosshairHorizontalLineVisibility = i;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Visibility of the vertical line of the cursor's crosshair.
|
|
328
|
+
*
|
|
329
|
+
* @deprecated since 5.2. Use {@link model/radar-chart-model/radar-chart-model#cursorCrosshairRadialLineVisibility cursorCrosshairRadialLineVisibility} instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
330
|
+
*/
|
|
331
|
+
get cursorCrosshairVerticalLineVisibility() {
|
|
332
|
+
return super.cursorCrosshairVerticalLineVisibility;
|
|
333
|
+
}
|
|
334
|
+
set cursorCrosshairVerticalLineVisibility(i) {
|
|
335
|
+
super.cursorCrosshairVerticalLineVisibility = i;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Gets the horizontal axis labels behavior for the chart.
|
|
339
|
+
*
|
|
340
|
+
* @deprecated since 5.2. This method has no effect on the radar-axis labels Use {@link model/radar-chart-model/radar-chart-model#axisLabelsOrientation axisLabelsOrientation} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
341
|
+
*/
|
|
342
|
+
getHorizontalAxisLabelsBehavior() {
|
|
343
|
+
return super.getHorizontalAxisLabelsBehavior();
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Sets the horizontal axis labels behavior for the chart.
|
|
347
|
+
*
|
|
348
|
+
* @param horizontalBehavior - The behavior for the horizontal axis labels.
|
|
349
|
+
* @deprecated since 5.2. This method has no effect on the radar-axis labels Use {@link model/radar-chart-model/radar-chart-model#axisLabelsOrientation axisLabelsOrientation} instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
350
|
+
*/
|
|
351
|
+
setHorizontalAxisLabelsBehavior(i) {
|
|
352
|
+
super.setHorizontalAxisLabelsBehavior(i);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Gets the vertical axis labels behavior for the chart.
|
|
356
|
+
*
|
|
357
|
+
* @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
|
|
358
|
+
*/
|
|
359
|
+
getVerticalAxisLabelsBehavior() {
|
|
360
|
+
return super.getVerticalAxisLabelsBehavior();
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Sets the vertical axis labels behavior for the chart.
|
|
364
|
+
*
|
|
365
|
+
* @param verticalBehavior - The behavior for the vertical axis labels.
|
|
366
|
+
* @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
|
|
367
|
+
*/
|
|
368
|
+
setVerticalAxisLabelsBehavior(i) {
|
|
369
|
+
super.setVerticalAxisLabelsBehavior(i);
|
|
22
370
|
}
|
|
23
371
|
// ---------------------------------------------------------------------------------------------
|
|
24
372
|
// Protected methods
|
|
25
373
|
// ---------------------------------------------------------------------------------------------
|
|
26
374
|
/** @private */
|
|
27
375
|
generateDefaultConfig() {
|
|
28
|
-
const
|
|
29
|
-
return
|
|
30
|
-
|
|
376
|
+
const i = v(this.commonStrings);
|
|
377
|
+
return i.series = [
|
|
378
|
+
x({
|
|
31
379
|
commonStrings: this.commonStrings,
|
|
32
|
-
objectIDField:
|
|
380
|
+
objectIDField: a(this.layerInfo.layer).idField
|
|
33
381
|
})
|
|
34
|
-
],
|
|
382
|
+
], i;
|
|
35
383
|
}
|
|
36
384
|
/**
|
|
37
385
|
* Initializes the default series for the radar chart. Used in resetting the series styling.
|
|
38
386
|
* @private
|
|
39
387
|
*/
|
|
40
388
|
initDefaultSeries() {
|
|
41
|
-
this.defaultSeries =
|
|
389
|
+
this.defaultSeries = x({
|
|
42
390
|
commonStrings: this.commonStrings,
|
|
43
|
-
objectIDField:
|
|
391
|
+
objectIDField: a(this.layerInfo.layer).idField
|
|
44
392
|
});
|
|
45
393
|
}
|
|
46
394
|
resetSeriesStyling() {
|
|
47
|
-
for (let
|
|
48
|
-
const
|
|
49
|
-
colorIndex:
|
|
50
|
-
opacity:
|
|
395
|
+
for (let i = 0; i < this.seriesLength; i += 1) {
|
|
396
|
+
const e = B({
|
|
397
|
+
colorIndex: i,
|
|
398
|
+
opacity: X
|
|
51
399
|
});
|
|
52
|
-
if (
|
|
53
|
-
const t = this.getSeriesId(
|
|
400
|
+
if (m(e, i, this._config), b(e, i, this._config), this.layerInfo !== void 0) {
|
|
401
|
+
const t = this.getSeriesId(i), s = u({
|
|
54
402
|
config: this._config,
|
|
55
|
-
seriesIndex:
|
|
403
|
+
seriesIndex: i,
|
|
56
404
|
layerInfo: this.layerInfo,
|
|
57
405
|
commonStrings: this.commonStrings
|
|
58
406
|
});
|
|
59
|
-
|
|
407
|
+
s !== a(this.layerInfo.layer).idField && y(s ?? t, i, this._config);
|
|
60
408
|
}
|
|
61
|
-
|
|
409
|
+
g(this.defaultSeries?.lineSymbol?.style, i, this._config), f(this.defaultSeries?.lineSymbol?.width, i, this._config), A(this.defaultSeries?.markerSymbol?.style, i, this._config), S(this.defaultSeries?.markerSymbol?.size, i, this._config);
|
|
62
410
|
}
|
|
63
411
|
this._config.colorMatch = !0;
|
|
64
412
|
}
|
|
@@ -66,32 +414,35 @@ class h extends m {
|
|
|
66
414
|
* Returns whether the series styling is able to be reset.
|
|
67
415
|
*/
|
|
68
416
|
resetAvailable() {
|
|
69
|
-
const
|
|
70
|
-
let
|
|
71
|
-
if (!
|
|
417
|
+
const i = !this.colorMatch;
|
|
418
|
+
let e = !1;
|
|
419
|
+
if (!i)
|
|
72
420
|
for (let t = 0; t < this.seriesLength; t += 1) {
|
|
73
421
|
if (this.layerInfo !== void 0) {
|
|
74
|
-
const
|
|
422
|
+
const s = u({
|
|
75
423
|
config: this._config,
|
|
76
424
|
seriesIndex: t,
|
|
77
425
|
layerInfo: this.layerInfo,
|
|
78
426
|
commonStrings: this.commonStrings
|
|
79
427
|
}), r = this.getSeriesName(t);
|
|
80
|
-
|
|
428
|
+
s !== void 0 && s !== a(this.layerInfo.layer).idField && s !== r && (e = !0);
|
|
81
429
|
}
|
|
82
430
|
if (this.defaultSeries?.lineSymbol?.style !== void 0 && this.defaultSeries?.lineSymbol.style !== this.getSeriesLineStyle(t) || this.defaultSeries?.lineSymbol?.width !== void 0 && this.defaultSeries?.lineSymbol.width !== this.getSeriesLineWidth(t) || this.defaultSeries?.markerSymbol?.style !== void 0 && this.defaultSeries?.markerSymbol?.style !== this.getSeriesMarkerStyle(t) || this.defaultSeries?.markerSymbol?.size !== void 0 && this.defaultSeries?.markerSymbol?.size !== this.getSeriesMarkerSize(t)) {
|
|
83
|
-
|
|
431
|
+
e = !0;
|
|
84
432
|
break;
|
|
85
433
|
}
|
|
86
434
|
}
|
|
87
|
-
return
|
|
435
|
+
return i || e;
|
|
88
436
|
}
|
|
89
437
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
],
|
|
93
|
-
|
|
94
|
-
|
|
438
|
+
h([
|
|
439
|
+
d
|
|
440
|
+
], o.prototype, "axisLabelsOrientation");
|
|
441
|
+
h([
|
|
442
|
+
d
|
|
443
|
+
], o.prototype, "resetSeriesStyling");
|
|
444
|
+
const I = [p, V];
|
|
445
|
+
T(o, I);
|
|
95
446
|
export {
|
|
96
|
-
|
|
447
|
+
o as RadarChartModel
|
|
97
448
|
};
|