@arcgis/charts-components 5.2.0-next.3 → 5.2.0-next.31
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/2ODYZG66.js +2 -0
- package/dist/cdn/{TAI4RIWT.js → 2SPGX6AF.js} +1 -1
- package/dist/cdn/35NSJ3NJ.js +2 -0
- package/dist/cdn/3MKY6UCO.js +2 -0
- package/dist/cdn/3NKDMMC2.js +2 -0
- package/dist/cdn/3QO6REDF.js +102 -0
- package/dist/cdn/3SBYV6BW.js +2 -0
- package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
- package/dist/cdn/{PC7IKOIB.js → 3UTF2CB3.js} +1 -1
- package/dist/cdn/3YN4EKSJ.js +2 -0
- package/dist/cdn/4BEGCEGA.js +4 -0
- package/dist/cdn/{TZB57XD4.js → 4P7URPRQ.js} +1 -1
- package/dist/cdn/4TRUG37X.js +2 -0
- package/dist/cdn/5UO6L27Q.js +2 -0
- package/dist/cdn/{PVJEBBA7.js → 5XCU5SR2.js} +1 -1
- package/dist/cdn/{YRBE7MBU.js → 6ANVHVX4.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → 6CB5R4QQ.js} +1 -1
- package/dist/cdn/{U4XLNCOU.js → 6GV2QPKV.js} +1 -1
- package/dist/cdn/{JVHJMPFE.js → 6OCDFMFB.js} +1 -1
- package/dist/cdn/6VK54DG5.js +2 -0
- package/dist/cdn/{3YT44D4Z.js → 6XIDALQU.js} +1 -1
- package/dist/cdn/7VQXBQMZ.js +2 -0
- package/dist/cdn/{GL3IXVRN.js → 7Z7NOIH2.js} +1 -1
- package/dist/cdn/A636YSNA.js +2 -0
- package/dist/cdn/{5G7DSKI7.js → ADYDCO3M.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → AICTKGE3.js} +1 -1
- package/dist/cdn/AQIB3VEP.js +2 -0
- package/dist/cdn/AZR6HVRW.js +2 -0
- package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
- package/dist/cdn/BI54CNMR.js +2 -0
- package/dist/cdn/BJBNELDD.js +3 -0
- package/dist/cdn/BKU72IQC.js +2 -0
- package/dist/cdn/{N5ERJZPG.js → BQXXD2HU.js} +1 -1
- package/dist/cdn/BZFGE4LO.js +2 -0
- package/dist/cdn/C4TQOUPO.js +2 -0
- package/dist/cdn/{UKDTXHZT.js → CLN32L2L.js} +1 -1
- package/dist/cdn/CRCAJAFA.js +2 -0
- package/dist/cdn/DAF2U7TN.js +2 -0
- package/dist/cdn/DKENYDHS.js +233 -0
- package/dist/cdn/{5JML3JUR.js → DRFJC64L.js} +1 -1
- package/dist/cdn/{PK5XIIZY.js → G5EGTXMY.js} +1 -1
- package/dist/cdn/{KLC6NTPC.js → GCRQHIGQ.js} +1 -1
- package/dist/cdn/{HCMD362H.js → HBS6O3P3.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → HIW5WRHR.js} +1 -1
- package/dist/cdn/IHHPUKGG.js +2 -0
- package/dist/cdn/IPALCXFF.js +2 -0
- package/dist/cdn/IWMWJN7M.js +2 -0
- package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
- package/dist/cdn/JBR6IJMK.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
- package/dist/cdn/JIV6BQKG.js +2 -0
- package/dist/cdn/{RFQBUWOW.js → K27GKXGP.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → KFPJI52X.js} +1 -1
- package/dist/cdn/KQLAAGKI.js +2 -0
- package/dist/cdn/{FDXE5JLT.js → LFXRCL7K.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → M4ZJRIYM.js} +1 -1
- package/dist/cdn/M7QZTQSD.js +2 -0
- package/dist/cdn/{LZYN55O4.js → MBPFBE3E.js} +1 -1
- package/dist/cdn/MEA74C44.js +2 -0
- package/dist/cdn/{U2LJZ4ML.js → MVUIKY5Y.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → N673JFHK.js} +1 -1
- package/dist/cdn/NKVZYKL5.js +2 -0
- package/dist/cdn/O533LNDP.js +2 -0
- package/dist/cdn/O5NKLK7V.js +2 -0
- package/dist/cdn/PEYVSFSE.js +58 -0
- package/dist/cdn/{KOBNV5AQ.js → PKQOLKTW.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → Q2GW5LB7.js} +1 -1
- package/dist/cdn/QGEFY4ND.js +2 -0
- package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
- package/dist/cdn/{R45FWF7D.js → QV3NMKKZ.js} +1 -1
- package/dist/cdn/REZ2QR42.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
- package/dist/cdn/{PZGIXDMC.js → RKG6CXUU.js} +1 -1
- package/dist/cdn/S7Z4HRW7.js +2 -0
- package/dist/cdn/SAYLTYWY.js +2 -0
- package/dist/cdn/SOGVYNPI.js +2 -0
- package/dist/cdn/SSKHF7PO.js +2 -0
- package/dist/cdn/{RAQZUMC6.js → T5TFLMQL.js} +1 -1
- package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
- package/dist/cdn/{LDPHZHSF.js → TOFVWGTG.js} +1 -1
- package/dist/cdn/TSA7UMSZ.js +2 -0
- package/dist/cdn/{KI4HS3AM.js → U3MRRFML.js} +1 -1
- package/dist/cdn/VWTJHXHI.js +2 -0
- package/dist/cdn/{PSO5AURI.js → WHVW3P3O.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → WJHIJTWS.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → WU62O2AU.js} +1 -1
- package/dist/cdn/X7YEBHBF.js +2 -0
- package/dist/cdn/X7Z4LEZH.js +2 -0
- package/dist/cdn/XRLVJJBT.js +2 -0
- package/dist/cdn/XRP6IFM4.js +2 -0
- package/dist/cdn/{TYMKFCF4.js → Y6CFEFZM.js} +1 -1
- package/dist/cdn/{LONASKGH.js → YFHB2EFH.js} +1 -1
- package/dist/cdn/YQIFZJTZ.js +2 -0
- package/dist/cdn/{2K4ODNJ4.js → YWCIV7ZZ.js} +1 -1
- package/dist/cdn/{VEA5ZR5D.js → YWKPGNHB.js} +1 -1
- package/dist/cdn/{ZRFHAQL6.js → Z43DVT6G.js} +1 -1
- package/dist/cdn/ZW4PF3UK.js +2 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/class-breaks.js +18 -18
- package/dist/chunks/data.js +57 -57
- package/dist/chunks/heat-chart-model.js +46 -26
- package/dist/chunks/index2.js +2319 -2284
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +107 -49
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +6 -6
- package/dist/chunks/pie-chart-data.js +42 -36
- package/dist/chunks/pie-chart-model.js +175 -162
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +572 -526
- package/dist/chunks/serial-chart-model.js +107 -93
- package/dist/chunks/utils.js +67 -56
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/components/arcgis-chart/customElement.d.ts +145 -138
- package/dist/components/arcgis-chart/customElement.js +7178 -7164
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +50 -51
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -55
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
- 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/index.d.ts +66 -70
- package/dist/index.js +212 -210
- package/dist/json-schema/index.d.ts +59 -2
- package/dist/loader.js +1 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +8 -2
- package/dist/utils/chart-config/converter/index.js +1 -1
- package/dist/utils/chart-config/utils/index.d.ts +35 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/data/index.d.ts +9 -12
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +6 -6
- package/dist/cdn/24LTTBTF.js +0 -2
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E2N2S7BH.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/GES3HRXE.js +0 -2
- package/dist/cdn/HCV34H6X.js +0 -2
- package/dist/cdn/IHQ7R6L4.js +0 -4
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JRRFLDWX.js +0 -58
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N524VXQ2.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OE3UFORR.js +0 -2
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/RX3RNE7F.js +0 -2
- package/dist/cdn/TU3UF32Y.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/WO6JBNMU.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- package/dist/chunks/time-zone.js +0 -38
- /package/dist/cdn/{XE3FKQFA.js → 3HAB3JR6.js} +0 -0
- /package/dist/cdn/{DCZWZOPF.js → 3YOOX2CV.js} +0 -0
- /package/dist/cdn/{IPM2XKST.js → 4DSO7LUF.js} +0 -0
- /package/dist/cdn/{FF4DUQDZ.js → 5HRLHWQ5.js} +0 -0
- /package/dist/cdn/{ETKPMU7Z.js → 732EZ6WJ.js} +0 -0
- /package/dist/cdn/{AWF4R7WL.js → 7IS6QE6S.js} +0 -0
- /package/dist/cdn/{HVO4LIXR.js → 7XZZ5OZL.js} +0 -0
- /package/dist/cdn/{5MEQANMY.js → AN2NRYQV.js} +0 -0
- /package/dist/cdn/{L4G6FO7A.js → ASUGYCJ6.js} +0 -0
- /package/dist/cdn/{AM2TOTX6.js → BICQEJYZ.js} +0 -0
- /package/dist/cdn/{5XTQQOTT.js → C2I4WPWM.js} +0 -0
- /package/dist/cdn/{CLXVAIQX.js → C47AIJTI.js} +0 -0
- /package/dist/cdn/{N6AOFBBX.js → C5YJ7J3A.js} +0 -0
- /package/dist/cdn/{QOOBNATX.js → DPV2ZJLF.js} +0 -0
- /package/dist/cdn/{CJPEW4LJ.js → E4535ZTP.js} +0 -0
- /package/dist/cdn/{XW4PBQNW.js → FJNRPAMO.js} +0 -0
- /package/dist/cdn/{JBHGSSHS.js → GI54JT4O.js} +0 -0
- /package/dist/cdn/{5YJNENER.js → GYTYFBNU.js} +0 -0
- /package/dist/cdn/{AJWYIBGC.js → J5QUGI2J.js} +0 -0
- /package/dist/cdn/{TF7TE7K5.js → JPEN5TFK.js} +0 -0
- /package/dist/cdn/{SBYD2EKR.js → KBQM3DLQ.js} +0 -0
- /package/dist/cdn/{7FZC3RZK.js → LEMJA72W.js} +0 -0
- /package/dist/cdn/{6XTKJ7DO.js → MMO2QPOA.js} +0 -0
- /package/dist/cdn/{BJDRJUEJ.js → PS7IL5JZ.js} +0 -0
- /package/dist/cdn/{E7OAEGSE.js → R2RRMPOC.js} +0 -0
- /package/dist/cdn/{YOT6DVSU.js → RV6E7KKQ.js} +0 -0
- /package/dist/cdn/{GV3TT7L5.js → RYLXJPKL.js} +0 -0
- /package/dist/cdn/{LFQGH44F.js → S2R72ISR.js} +0 -0
- /package/dist/cdn/{2HUAW34Q.js → T4NEEFOY.js} +0 -0
- /package/dist/cdn/{K3GNHGEW.js → TEERYUCS.js} +0 -0
- /package/dist/cdn/{A4GEWIPY.js → V454JYTQ.js} +0 -0
- /package/dist/cdn/{ZFZ5AEUQ.js → V7JF5I5M.js} +0 -0
- /package/dist/cdn/{KFONSKQF.js → VIZWWEG5.js} +0 -0
- /package/dist/cdn/{KZ7LPNX3.js → W5SPX6WM.js} +0 -0
- /package/dist/cdn/{JJIGLOJA.js → X2IOJECM.js} +0 -0
- /package/dist/cdn/{QMSINFQX.js → X33RIIGI.js} +0 -0
- /package/dist/cdn/{ZXOO3X5P.js → YBTVIOHQ.js} +0 -0
- /package/dist/cdn/{KUZR6CGB.js → YFQHZWLO.js} +0 -0
- /package/dist/cdn/{DKAHZ7IX.js → YX4EVVJM.js} +0 -0
- /package/dist/cdn/{DEGBVJ76.js → YXH22GJ6.js} +0 -0
- /package/dist/cdn/{A5AECJXP.js → ZMQTYGGT.js} +0 -0
|
@@ -88,7 +88,7 @@ class a extends b {
|
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Sets the visibility of the specified axis.
|
|
91
|
-
* **Note:** The visibility for the
|
|
91
|
+
* **Note:** The visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
92
92
|
* @param {boolean} isVisible The visibility state for the axis.
|
|
93
93
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
94
94
|
*/
|
|
@@ -117,7 +117,7 @@ class a extends b {
|
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Sets the visibility of the specified axis labels.
|
|
120
|
-
* **Note:** The labels visibility for the
|
|
120
|
+
* **Note:** The labels visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
121
121
|
* @param {boolean} isVisible The visibility state for the axis labels.
|
|
122
122
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
123
123
|
*/
|
|
@@ -460,7 +460,7 @@ class a extends b {
|
|
|
460
460
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
461
461
|
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
462
462
|
*
|
|
463
|
-
* **Note:** To set the cursor crosshair horizontal line visibility for the
|
|
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
464
|
*/
|
|
465
465
|
get cursorCrosshairHorizontalLineVisibility() {
|
|
466
466
|
return si(this._config);
|
|
@@ -472,7 +472,7 @@ class a extends b {
|
|
|
472
472
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
473
473
|
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
474
474
|
*
|
|
475
|
-
* **Note:** To set the cursor crosshair vertical line visibility for the
|
|
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
476
|
*/
|
|
477
477
|
get cursorCrosshairVerticalLineVisibility() {
|
|
478
478
|
return ei(this._config);
|
|
@@ -483,7 +483,7 @@ class a extends b {
|
|
|
483
483
|
/**
|
|
484
484
|
* Style of the cursor's crosshair from the chart config.
|
|
485
485
|
*
|
|
486
|
-
* **Note:** To set the cursor crosshair style for the
|
|
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.
|
|
487
487
|
*/
|
|
488
488
|
get cursorCrosshairStyle() {
|
|
489
489
|
return ri(this._config);
|
|
@@ -494,7 +494,7 @@ class a extends b {
|
|
|
494
494
|
/**
|
|
495
495
|
* Cursor crosshair from the chart config.
|
|
496
496
|
*
|
|
497
|
-
* **Note:** To set the cursor crosshair for the
|
|
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.
|
|
498
498
|
*/
|
|
499
499
|
get cursorCrosshair() {
|
|
500
500
|
return ai(this._config);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { substitute as
|
|
3
|
-
import { memoize as W, isEmpty as $, isNull as
|
|
4
|
-
import { P as
|
|
2
|
+
import { substitute as O } from "@arcgis/core/intl.js";
|
|
3
|
+
import { memoize as W, isEmpty as $, isNull as M, cloneDeep as R } from "lodash-es";
|
|
4
|
+
import { P as g, a as y } from "./common.js";
|
|
5
5
|
import { g as A, u as q } from "./utils.js";
|
|
6
|
-
import { g as
|
|
7
|
-
import { b as
|
|
8
|
-
import { g as
|
|
9
|
-
import { S as
|
|
6
|
+
import { g as U } from "./data.js";
|
|
7
|
+
import { b as k } from "./series-length.js";
|
|
8
|
+
import { g as z } from "./utils2.js";
|
|
9
|
+
import { S as G, t as _, a3 as H } from "./index.js";
|
|
10
10
|
import { d as P } from "./index3.js";
|
|
11
|
-
import { m as
|
|
11
|
+
import { m as h, an as L, n as V } from "./index2.js";
|
|
12
12
|
import { i as w } from "./index4.js";
|
|
13
13
|
import { r as m, p as b, n as F, u as J } from "./chart-object-literals.js";
|
|
14
14
|
import { i as Q } from "./rest-js-object-literals.js";
|
|
15
15
|
function v(r) {
|
|
16
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l =
|
|
16
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = k(t), d = w(t);
|
|
17
17
|
return a === l || d;
|
|
18
18
|
}
|
|
19
19
|
function B(r) {
|
|
@@ -23,18 +23,18 @@ function B(r) {
|
|
|
23
23
|
commonStrings: s,
|
|
24
24
|
numericFields: f(t),
|
|
25
25
|
aggregationType: T(t, i)
|
|
26
|
-
}) : "", l =
|
|
26
|
+
}) : "", l = z(1, t), d = w(t);
|
|
27
27
|
return a === l || d;
|
|
28
28
|
}
|
|
29
29
|
const I = (r) => r.series?.[0]?.x ?? "";
|
|
30
30
|
function X(r, t) {
|
|
31
31
|
const e = r.series?.[0];
|
|
32
|
-
return [`${t ===
|
|
32
|
+
return [`${t === g.Category ? e.y : V} ${b.Descending}`];
|
|
33
33
|
}
|
|
34
34
|
const K = (r, t) => {
|
|
35
|
-
let e =
|
|
35
|
+
let e = y.valueDesc;
|
|
36
36
|
const i = r.orderOptions?.data?.orderType ?? X(r, t), s = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : b.Descending;
|
|
37
|
-
return i === F.Category && Array.isArray(s) ? e =
|
|
37
|
+
return i === F.Category && Array.isArray(s) ? e = y.customSort : i === F.Category ? s === b.Ascending ? e = y.labelAsc : e = y.labelDesc : s === b.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
|
|
38
38
|
}, f = W(
|
|
39
39
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
40
40
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
@@ -49,12 +49,12 @@ const K = (r, t) => {
|
|
|
49
49
|
), T = (r, t) => {
|
|
50
50
|
const e = f(r);
|
|
51
51
|
let i;
|
|
52
|
-
return t ===
|
|
52
|
+
return t === g.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
|
|
53
53
|
};
|
|
54
54
|
function Y(r) {
|
|
55
55
|
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = L(e?.layer).idField, l = H(s, a), d = I(t), c = t.series[0]?.dataLabels, o = {
|
|
56
56
|
...l,
|
|
57
|
-
x: i ===
|
|
57
|
+
x: i === g.Category ? d : h,
|
|
58
58
|
slices: t.series?.[0]?.slices,
|
|
59
59
|
dataLabels: {
|
|
60
60
|
...l.dataLabels,
|
|
@@ -73,8 +73,8 @@ function Y(r) {
|
|
|
73
73
|
}, n = T(t, i);
|
|
74
74
|
if (n !== m.NoAggregation && a !== void 0) {
|
|
75
75
|
const u = `${n}_${a}_0`.toUpperCase();
|
|
76
|
-
o.y = i ===
|
|
77
|
-
outStatistics: i ===
|
|
76
|
+
o.y = i === g.Category ? u : V, o.query = {
|
|
77
|
+
outStatistics: i === g.Category ? [
|
|
78
78
|
{
|
|
79
79
|
statisticType: n,
|
|
80
80
|
onStatisticField: a,
|
|
@@ -83,21 +83,21 @@ function Y(r) {
|
|
|
83
83
|
] : []
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
return i ===
|
|
86
|
+
return i === g.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, R(o);
|
|
87
87
|
}
|
|
88
88
|
function D(r) {
|
|
89
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p =
|
|
89
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = _(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), S = P(a ?? [], c);
|
|
90
90
|
let C = "", N;
|
|
91
|
-
return i ===
|
|
91
|
+
return i === g.Fields ? N = o.length === 0 : N = c === "", N ? C = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? C = O(s.titleLabels.aggrFieldsByCategory, {
|
|
92
92
|
aggregationFields: u ? l : x,
|
|
93
93
|
category: S
|
|
94
|
-
}) : n === m.Count ? C =
|
|
94
|
+
}) : n === m.Count ? C = O(s.titleLabels.aggrTypeCategory, {
|
|
95
95
|
aggregationType: p,
|
|
96
96
|
category: S
|
|
97
|
-
}) : o.length > 0 && (S ===
|
|
97
|
+
}) : o.length > 0 && (S === h || $(S) || M(S) ? C = O(s.titleLabels.aggrTypeOfAggrFields, {
|
|
98
98
|
aggregationType: p,
|
|
99
99
|
aggregationFields: x
|
|
100
|
-
}) : C =
|
|
100
|
+
}) : C = O(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
101
101
|
aggregationType: p,
|
|
102
102
|
aggregationFields: x,
|
|
103
103
|
category: S
|
|
@@ -105,17 +105,17 @@ function D(r) {
|
|
|
105
105
|
}
|
|
106
106
|
const ue = (r) => {
|
|
107
107
|
const { newSortOrderKind: t, config: e, orderByList: i } = r;
|
|
108
|
-
e.orderOptions ??= {}, t ===
|
|
108
|
+
e.orderOptions ??= {}, t === y.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
109
109
|
orderType: F.Category,
|
|
110
110
|
orderBy: [...i]
|
|
111
111
|
} : e.orderOptions.data = {
|
|
112
|
-
orderType: t ===
|
|
113
|
-
orderBy: t ===
|
|
112
|
+
orderType: t === y.labelAsc || t === y.labelDesc ? F.Category : F.YValue,
|
|
113
|
+
orderBy: t === y.labelAsc || t === y.valueAsc ? b.Ascending : b.Descending
|
|
114
114
|
};
|
|
115
115
|
}, pe = (r) => {
|
|
116
116
|
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, d = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
117
117
|
if (e.series.forEach((o) => {
|
|
118
|
-
o.x = s ===
|
|
118
|
+
o.x = s === g.Category ? t : h, o.query !== void 0 && t !== h ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
|
|
119
119
|
}), l === 0) {
|
|
120
120
|
const o = [Y({ config: e, layerInfo: i, mode: s, commonStrings: a })];
|
|
121
121
|
e.series = o;
|
|
@@ -132,7 +132,7 @@ const ue = (r) => {
|
|
|
132
132
|
q(e, 1, n);
|
|
133
133
|
}
|
|
134
134
|
e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
135
|
-
const o = s ===
|
|
135
|
+
const o = s === g.Fields ? f(e).filter((n) => n !== L(i.layer).idField) : f(e);
|
|
136
136
|
Z({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
|
|
137
137
|
}
|
|
138
138
|
};
|
|
@@ -149,7 +149,7 @@ function j(r) {
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
|
|
152
|
-
const u =
|
|
152
|
+
const u = U({
|
|
153
153
|
config: i,
|
|
154
154
|
xAxisField: I(i),
|
|
155
155
|
numericFields: t,
|
|
@@ -159,7 +159,7 @@ function j(r) {
|
|
|
159
159
|
fieldList: d
|
|
160
160
|
}).name;
|
|
161
161
|
if (e !== m.NoAggregation)
|
|
162
|
-
if (a ===
|
|
162
|
+
if (a === g.Category) {
|
|
163
163
|
if (t.length > 0) {
|
|
164
164
|
const p = t[0];
|
|
165
165
|
n.query.outStatistics = [
|
|
@@ -204,7 +204,7 @@ const me = (r) => {
|
|
|
204
204
|
e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
205
205
|
const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
206
206
|
e.legend = {
|
|
207
|
-
...e.legend ??
|
|
207
|
+
...e.legend ?? G(),
|
|
208
208
|
displayNumericValue: n,
|
|
209
209
|
displayPercentage: u,
|
|
210
210
|
displayCategory: o
|
|
@@ -214,7 +214,7 @@ const me = (r) => {
|
|
|
214
214
|
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = L(i?.layer).idField;
|
|
215
215
|
let d = T(e, s);
|
|
216
216
|
const c = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
217
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s ===
|
|
217
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === g.Category ? (t.push(l), d = m.Count) : d === m.Count && t.length >= 1 && !t.includes(l) && (d = m.Sum)), i !== void 0) {
|
|
218
218
|
if (j({
|
|
219
219
|
config: e,
|
|
220
220
|
layerInfo: i,
|
|
@@ -240,16 +240,21 @@ const me = (r) => {
|
|
|
240
240
|
}, fe = (r, t) => {
|
|
241
241
|
let e = [];
|
|
242
242
|
const i = r.orderOptions?.data?.orderType, s = K(r, t), a = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : void 0;
|
|
243
|
-
return s ===
|
|
243
|
+
return s === y.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
|
|
244
244
|
}, Fe = (r) => {
|
|
245
245
|
const { values: t, config: e, mode: i } = r;
|
|
246
246
|
e.orderOptions ??= {};
|
|
247
247
|
const s = e.orderOptions?.data?.orderType;
|
|
248
|
-
K(e, i) ===
|
|
248
|
+
K(e, i) === y.customSort && s === F.Category && (e.orderOptions.data = {
|
|
249
249
|
orderType: F.Category,
|
|
250
250
|
orderBy: [...t]
|
|
251
251
|
});
|
|
252
252
|
};
|
|
253
|
+
function Te(r) {
|
|
254
|
+
const { category: t = "", numericFields: e = [], fallbackMode: i = g.Category } = r, s = t.trim() !== "" && t !== h;
|
|
255
|
+
let a = i;
|
|
256
|
+
return e.length > 1 ? a = g.Fields : s && e.length <= 1 && (a = g.Category), a;
|
|
257
|
+
}
|
|
253
258
|
export {
|
|
254
259
|
f as a,
|
|
255
260
|
T as b,
|
|
@@ -259,7 +264,8 @@ export {
|
|
|
259
264
|
ue as f,
|
|
260
265
|
I as g,
|
|
261
266
|
fe as h,
|
|
262
|
-
|
|
263
|
-
|
|
267
|
+
Te as i,
|
|
268
|
+
Fe as j,
|
|
269
|
+
D as k,
|
|
264
270
|
pe as s
|
|
265
271
|
};
|